Shopify App Tutorial

Shopify Staff
Shopify Staff
195 0 3
Hi folks, I’ve finished writing a draft of a tutorial on making Shopify Apps: http://wiki.shopify.com/Making_A_Shopify_App It’s not polished yet, and the ending is really rough, but I’d really appreciate contributions and edits, especially when it comes to: * Showing how admin links work * Making what is available through the ShopifyAPI ActiveResource module obvious (i.e. making a link between looking at http://api.shopify.com and it) * Making it more useful – right now it’s pretty lame as an app * Showing how to store credentials to allow running the app without the shop owner actively logged-in (this is really just a matter of grabbing what the LoginController sets up in the session and sticking it in a database) * Showing how to deploy the app on Heroku (our suggested hosting environment) Let me know what you think!
Edward Ocampo-Gooding – Shopify Developer Advocate
0 Likes
New Member
3 0 0

Looks like a great start and definitely something that will help (especially me YAY).

Some of the << and => came out with incorrect characters.

class RandomProductController &lt; ApplicationController ...

recent_orders = ShopifyAPI::Order.find(:all, :params => {:limit => 20})

0 Likes
Shopify Staff
Shopify Staff
195 0 3

Thanks for the catch; those typos/doubly-escaped html characters have been fixed.

Edward Ocampo-Gooding – Shopify Developer Advocate
0 Likes
New Member
9 0 0

Hi,

Is this point possible?

Showing how to store credentials to allow running the app without the shop owner actively logged-in (this is really just a matter of grabbing what the LoginController sets up in the session and sticking it in a database)

I'm really interesting on this.

Thx!

0 Likes