wordpress as a backend
DESCRIPTION
Talk I gave at Melbourne Mobile (July 2013). The case study is from: http://wherethetruck.at CMS statistics via: http://wappalyzer.com/TRANSCRIPT
wherethetruck.at @JackBarker
Melbourne MobileWordPress as a Backend
wherethetruck.at @JackBarker
Wherethetruck.at (The website)
wherethetruck.at @JackBarker
Wherethetruck.at (The IOS app)
wherethetruck.at @JackBarker
vs
To be clear on what I’m talking about:
“Wordpress.com” is a hosting solution.“Wordpress.org” provide a software you (can) host
yourself.
My discussion talks about the software available at “.org”
wherethetruck.at @JackBarker
Why you’d want to use WP
It’s huge!This is great for finding
experts + support.
(Also means you’re a target for hackers - read
up on being secure)
wherethetruck.at @JackBarker
800+ members at WPMelb!
Last year = SydThis year (was) = Melb
*It’s an active community*2013 = 10yrs of wp!
wherethetruck.at @JackBarker
Ease of use
wherethetruck.at @JackBarker
Why you might not want to use WP
wherethetruck.at @JackBarker
Bloat.
But remember -I’m not just talking jQuery.
You’ll get bloat with *any* CMSNote; jQuery’s “$” alias is removed, you can still use other libraries
which seek to monopolise your “$”
wherethetruck.at @JackBarker
Performance?But before you criticise it:- Are you using Shared hosting? Move to a VPS- Are you using Apache? Move to Nginx- Are you using caching? You should be- Are you using a CDN?...etc
(These recommendations apply to other CMSs also)
wherethetruck.at @JackBarker
Does the data model suit your needs?
wherethetruck.at @JackBarker
But if it’s a problem for you, try this solution:https://github.com/markjaquith/
Managing multiple environments can be tricky due to absolute paths in databases,
and wp-config files.
wherethetruck.at @JackBarker
Now - Let’s look at APIS
wherethetruck.at @JackBarker
APIs
http://wordpress.org/plugins/json-api/
wherethetruck.at @JackBarker
Out of the box
wherethetruck.at @JackBarker
Rolling your own:
wherethetruck.at @JackBarker
Rolling your ownhttp://wherethetruck.at/api/wtta/truck_bio/?
truckid=4&dev=1