WordPress as a Backend
-
Upload
jack-barker -
Category
Self Improvement
-
view
287 -
download
2
description
Transcript of WordPress as a Backend
![Page 1: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/1.jpg)
wherethetruck.at @JackBarker
Melbourne MobileWordPress as a Backend
![Page 2: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/2.jpg)
wherethetruck.at @JackBarker
Wherethetruck.at (The website)
![Page 3: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/3.jpg)
wherethetruck.at @JackBarker
Wherethetruck.at (The IOS app)
![Page 4: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/5.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/6.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/7.jpg)
wherethetruck.at @JackBarker
Ease of use
![Page 8: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/8.jpg)
wherethetruck.at @JackBarker
Why you might not want to use WP
![Page 9: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/11.jpg)
wherethetruck.at @JackBarker
Does the data model suit your needs?
![Page 12: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/13.jpg)
wherethetruck.at @JackBarker
Now - Let’s look at APIS
![Page 14: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/14.jpg)
wherethetruck.at @JackBarker
APIs
http://wordpress.org/plugins/json-api/
![Page 15: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/15.jpg)
wherethetruck.at @JackBarker
Out of the box
![Page 16: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/16.jpg)
wherethetruck.at @JackBarker
Rolling your own:
![Page 17: WordPress as a Backend](https://reader035.fdocuments.us/reader035/viewer/2022081412/54008e648d7f724c088b4dcb/html5/thumbnails/17.jpg)
wherethetruck.at @JackBarker
Rolling your ownhttp://wherethetruck.at/api/wtta/truck_bio/?
truckid=4&dev=1