CakePHP Shopify Plugin

157 views
Skip to first unread message

colin

unread,
Feb 27, 2012, 8:22:46 PM2/27/12
to shopi...@googlegroups.com
Hey everyone,

I was working on this a while back but didn't get around to having a working plugin until now.


  After following the install instructions, just put this in your AppController

public $components = array('Shopify.ShopifyAuth', 'Shopify.ShopifyAPI');

Then you can make calls to the Shopify API with the ShopifyAPI Component.  It's a complete copy of this over here: https://github.com/cmcdonaldca/ohShopify.php/blob/master/shopify.php

I don't have much time to do everything I want with it, but maybe this will spark someone to continue building it.

The goal would be to have the ability to make Shopify Apps with CakePHP as quickly and as easily as a RoR app.

Also, I've dealt with a number of clients that hired be for private apps that already had hosting with PHP.  So, to me, this seemed like a logical extension to saving the clients some costs.

Colin 

Yan Sarazin

unread,
Feb 28, 2012, 9:20:22 AM2/28/12
to shopi...@googlegroups.com
Nice work Colin!

-- 
Yan Sarazin


colin

unread,
Mar 21, 2012, 3:48:31 PM3/21/12
to shopi...@googlegroups.com

Edward Ocampo-Gooding

unread,
Mar 28, 2012, 11:05:24 PM3/28/12
to shopi...@googlegroups.com
This is awesome!

Colin: would you mind adding this to the wiki?

(If anyone is curious why it’s taken me so long, it’s because my inbox looks this on a good day: http://cl.ly/3K0o0W2l2i3a373W442E )

colin mcdonald

unread,
Mar 28, 2012, 11:44:12 PM3/28/12
to shopi...@googlegroups.com
Thanks Edward.

The idea will be to have some more working sample code.  But, the plugin is pretty slick and handles all the required authentication. 

So, you're up and running very quickly on CakePHP querying the Shopify API.

I updated the wiki with this and the .NET API.  

Edward Ocampo-Gooding

unread,
Mar 28, 2012, 11:58:14 PM3/28/12
to shopi...@googlegroups.com
Awesome. Thanks!
Reply all
Reply to author
Forward
0 new messages