Posted on

Magento Imagine 2012: Making the most of APIs

Just finished up with my API presentation at Magento Imagine 2012, thanks to those who came along, and for the interesting questions and discussions afterwards. Great conference so far and looking forward to more interesting tech topics.

As promised here are the PDF slides, links to code examples and the blog post I mentioned that runs through the new Magento 1.7 REST API and oAuth. If any one has some comments or questions please do not hesitate to ask.

Update: Videos of all the tech talks are up on the Imagine site, here’s mine.

Also, if you’re a merchant, or an agency with merchants on board who might be interested, please check out our mobile sales dashboard, OrderPipe.com

Thanks to everyone who twittered and took pictures during the talk, given the temporal nature of twitter, I’ll post a few tweets below for the archive.


Posted on

Introduction to the Magento REST APIs with oAuth in Version 1.7

The latest version of Magento (1.7rc1 right now) has support for oAuth authenticated REST APIs, yippee! In this post I’m going to run through the technical aspects of setting up the Magento oAuth and making your first Magento REST API call.

I’m presenting on APIs during the technology track at the Magento Imagine conference on Tuesday (If you’re reading this, and you’re at the conference, I hope to see you there!). In my talk I’ll cover interesting uses and benefits of the REST API but won’t have time for a big fully worked example. This post details the finer points of actually using these APIs which is a bit too low-level to cover, so this will be extra-for-experts homework for those that want to have a play around with REST after the talk.

There are basically 3 steps to running your first REST API call in Magento.
Continue reading Introduction to the Magento REST APIs with oAuth in Version 1.7

Posted on

X.commerce DevTalk newsletter featured MageSpeedTest.com

Ok I couldn’t resist, this made my day. I was featured in the X.commerce DevTalk email newsletter talking about my Magento Speed Test site. My grinning mugshot made it in to inboxes worldwide, cool!

You can check out the actual interview wherein I blather on about MageSpeedTest.com and how great it is and how everyone should be using it and how PayPal makes subscriptions easy, etc.

Somewhat tragically feedback has been I need a new profile photo:

So I’ll scour my archives for another suitably unprofessional photo of myself, this time with glasses on, I can’t see properly anymore, apparently.

In other news, I’m presenting at Magento Imagine in April, so I’m busy preparing slides for that. Please ping me if you’re in the US, I’m going to do a trip around after the conference and would love to meet up with fellow Magento developers.

Also working on OrderPipe and a new multi-store Magento installation. I’ll have some articles to report on both over the next few weeks. Stay tuned.

PS: Promise future blog posts won’t consist almost entirely of embedded tweets

Posted on

Sending Apple iOS Notifications via Urban Airship on Google App Engine

In this post I’ll show you how to send an Apple Notification from Google App Engine via Urban Airship. I was mightily impressed how easy it was to do earlier this week. Their docs are excellent, and I love when apps use curl for their API examples – it means the API is simple, and the examples are perfectly transparent.
Continue reading Sending Apple iOS Notifications via Urban Airship on Google App Engine

Posted on

New Look for Magento Speed Test, Thanks to Twitter Bootstrap.

Today I released the new look for my Magento Speed Test site – it’s a tool for running Siege tests on your Magento stores. The old version looked pretty shit, in hindsight, so this should be a significant improvement. If you’ve met me you’ll know I don’t have a designer bone in my body, so you’d be justified in feeling dubious that I actually put a modern look on Magento Speed Test. The secret was my discovering (albeit months late) the Twitter Bootstrap css framework for web applications. It’s truly brilliant, and the documentation is very helpful – also it’s only one of many open source projects Twitter has made available.

If you look at my new look site and compare it to the standard examples from Twitter you’ll notice I’m not as creative as it might outwardly appear. I do like the simple clean lines and consistent colors provided by default, so I’m sticking with them for now.

Particular Framework Highlights

Some of the best things about the bootstrap framework from my point of view were:

  • Small and easy to include – just one CSS and some optional JS.
  • Consistent buttons as both <a> and <button> markup
  • Predefined and worked examples of grid layouts that work
  • The optional JS can do cool things like emulate #anchor functionality for menus. (self referential source alert!)
  • Simple HTML for most elements made it really easy to convert the old jsp files to the new look

And no real issues to complain about, it just works! Kudos to Twitter, will trade again.

If you haven’t already, go run a test, I bet the results will surprise you!