Top Banner
wherethetruck.at @JackBarker Melbourne Mobile WordPress as a Backend
17

WordPress as a Backend

Aug 29, 2014

Download

Self Improvement

Jack Barker

Talk I gave at Melbourne Mobile (July 2013).

The case study is from: http://wherethetruck.at
CMS statistics via: http://wappalyzer.com/
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WordPress as a Backend

wherethetruck.at @JackBarker

Melbourne MobileWordPress as a Backend

Page 2: WordPress as a Backend

wherethetruck.at @JackBarker

Wherethetruck.at (The website)

Page 3: WordPress as a Backend

wherethetruck.at @JackBarker

Wherethetruck.at (The IOS app)

Page 4: WordPress as a Backend

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”

Page 5: WordPress as a Backend

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)

Page 6: WordPress as a Backend

wherethetruck.at @JackBarker

800+ members at WPMelb!

Last year = SydThis year (was) = Melb

*It’s an active community*2013 = 10yrs of wp!

Page 7: WordPress as a Backend

wherethetruck.at @JackBarker

Ease of use

Page 8: WordPress as a Backend

wherethetruck.at @JackBarker

Why you might not want to use WP

Page 9: WordPress as a Backend

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 “$”

Page 10: WordPress as a Backend

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)

Page 11: WordPress as a Backend

wherethetruck.at @JackBarker

Does the data model suit your needs?

Page 12: WordPress as a Backend

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.

Page 13: WordPress as a Backend

wherethetruck.at @JackBarker

Now - Let’s look at APIS

Page 14: WordPress as a Backend

wherethetruck.at @JackBarker

APIs

http://wordpress.org/plugins/json-api/

Page 15: WordPress as a Backend

wherethetruck.at @JackBarker

Out of the box

Page 16: WordPress as a Backend

wherethetruck.at @JackBarker

Rolling your own:

Page 17: WordPress as a Backend

wherethetruck.at @JackBarker

Rolling your ownhttp://wherethetruck.at/api/wtta/truck_bio/?

truckid=4&dev=1