Can we create plugin for shopify in php? - shopify

I am trying to develop app/plugin for shopify in PHP. Shopify is fully develped in Ruby on Rails. There are so many apps developed for shopify that are installable. I tried to search plugin for shopify that are made in PHP but couldn't find.
My question is that can we create installable app/plugin in PHP for shopify? If yes then it will support for shopify? Please clarify me.

All your interaction with Shopify is via a RESTful API. You can create your App/Plugin in any language you want. It makes zero difference to Shopify, so long as you deal with the API correctly. .Net, Python, Ruby, PHP, Go, Javascript, take your pick.
There are a couple of open-source PHP example Apps floating around out there, suitable as a starting point for your copy&paste efforts. Working with Shopify API in PHP allows you to draw from PHP samples of connecting to any other common API out there, nothing special.

Related

How to make a website multilingual using VueJS and Strapi?

I'm coding a website that uses VueJS 2 for frontend and Strapi for CMS and api management. What I am wondering here is that I am limited in terms of algorithms to make them work, hoping to get some help from experienced people who have done this before.
You can try out the utility libraries for vue for localization.
vue-i18n or vue-multilanguage.
Here is a list of libraries that support localization

How To Develop React Node Application For The Shopify Online Store(Not for the merchant page)?

This is an odd question. I couldn't find any resource relating to developing a react app and integrating it into the online store(not the merchant page).
https://shopify.dev/apps/getting-started/create, this link only discusses developing an app and integrating it into the Shopify merchant page, not on the online store.
I have gone through the documentation on the above link but could not find anything relevant.
Also, check this link https://shopify.dev/apps/online-store, but creating theme extensions is not what I want as I want to develop a full-fledged application like https://apps.shopify.com/tolstoy
Can you guys point me to the right resource?
thanks
Shopify is HTML, CSS and Javascript. There is nothing stopping you from making the merchant end of things ANYTHING you want. Get yourslf a Storefront API token and you're good to go.
As for a lack of resources? HTML, CSS and Javascript are 90% of your journey covered by a bazillion resources including StackOverflow. Shopify documents Storefront API fine too. What more could you ask for?

Building a Custom API on top of Parse.com?

I'm planning on building a developer API similar to what Uber and Yo have done. Is it possible to build such API if my app's backend is powered by parse.com? I don't want my custom API pointing to parse, but instead my own site.
I'm planning on using ruby, and was wondering if there would be any limitations over other options (not sure what options I have). Thanks
I'm not sure if it is possible using ruby, but I know it's definitely possible to build your own REST API.
We have decided to go a bit further and wrote a parse-angular seed project for developing web apps. It can be found here.
After you pulled it, do a npm install
As usual,
cloud code should go into cloud/main.js
express code: cloud/app.js
angular code: cloud/public/js/
Note that: You will need to change your AppId and AppKey in
config/global.json
cloud/public/js/app.js
As for custom apis, you can define your own in cloud/routes/api.js.
At this point you should have a nice parse-angular project set up and good to go.
If there's anything wrong, please feel free to open a pull request. :)

Rest API integration with joomla

I have to integrate this API (http://api.iqrez.com/documentation/) in a template of joomla 3.0. Do you know if there is an extension that can permit me to integrate this API? Or please can you give me technical infos for integrate it?
Thank you in advance
Luca
A Joomla Template provides a theme or style mechanism for the website.
The API you've pointed to is described as "Online Booking Engine"
The Joomla Extension Directory (JED) has a section on Bookings & Reservations
Searching the JED for "iqrez" reveals no hits.
None of these are questions suitable for StackOverflow, which is why you're getting downvoted.
To integrate a Joomla site with a 3rd party API you will need to create an extension, the Docs website has a Developer portal. Depending on the exact functionality you want and the degree of integration you will need to create either a "component", "module" or "plugin". Or a combination of all three.

Shopify API from external app? (backbone.js)

I'm working with a client to develop two sites: a site with general information about their business, and a separate e-commerce store to sell the products they offer. To my knowledge, this is a fairly common approach, since often a client's CMS needs are outside the scope of what most e-commerce platforms offer.
The main site will need to show some of the products in the store, so I'm looking for e-commerce platforms that have an API. Shopify caught my eye since it has APIs which return JSON. I'm going to be building the main site with Backbone.js with a Sinatra backend.
Can anyone tell me if the Shopify API can be used this way? I also see a somewhat flimsy and uncustomizable Shopify app called Shopify Widget, which I don't think will serve my client's purposes. How would you handle this situation?
You'll have to use the sinatra app as a proxy to the Shopify store since cross-domain calls via Javascript won't work.
You can use the ShopifyAPI gem to do most of your heavy lifting and if you really wanted you could write up a ghetto RestAPI in Sinatra so you aren't re-inventing the Shopify wheel.
It could be something simple like:
POST /shopify.json
{
"model": "ShopifyAPI::Product",
"data": { ..shop data... }
}
And you can probably use const_get to retrieve the actual model you would need.
If you are using Sinatra as a backend, you can indeed do cross-domain Ajax calls. I do it all the time. Simply use Rack-Cors gem, if you want to use CORS. If you're squeamish about that due to IE having problems doing CORS, you can always return JSONP as a substitute. If your Sinatra backend runs on a subdomain, you can do whatever since there is no cross-domain issue.