BUILDING A WEB APP ON WORDPRESS
THE GOOD, THE BAD & THE UGLY
Nathan Tyler @croixhaug nathan@tylerdigital.com https://stagingpilot.com
BUILDING A WEB APP ON WORDPRESS THE GOOD, THE BAD & THE UGLY - - PowerPoint PPT Presentation
BUILDING A WEB APP ON WORDPRESS THE GOOD, THE BAD & THE UGLY Nathan Tyler @croixhaug nathan@tylerdigital.com https://stagingpilot.com WHY BUILD AN APP ON WORDPRESS Matt Mullenweg has mentioned using WP as an app framework several
Nathan Tyler @croixhaug nathan@tylerdigital.com https://stagingpilot.com
Built-in support for CPTs Easy custom endpoints Security, authentication, response codes, validation are all handled
Registration, login, lost password, etc. Passwords, security, limit logins, captcha Powerful and Flexible Permissions
Plugin functionality is built to be managed in wp-admin To make front-end “app” interfaces, you lose 50%+ of using existing plugins
Lots of functionality is tied to the database No built-in concept of Environments (for dev/testing/production) Quick wins with 3rd party plugins now present challenges
Take screenshot Update plugin Take Screenshot Compare images Process comparison and rollback with error, or commit & deploy
This workflow is too long to do all in one step, we use a job queue Like a job board, with employers, job postings, and workers
*
*
*
*
*
* (automated browser tests) *
*
*
+ run big tasks in background + run multiple tasks in parallel + error-prone jobs (api rate limits or unreliable 3rd party) + workers in different languages + queuing (less crashes) + scaling (more workers)
Virtual web browser execute complex functionality registration pages, private login areas, e-commerce checkout, interactive elements, etc.
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-beanstalkd-work-queue-on-a-vps
https://github.com/pda/pheanstalk
+ Registration/Authentication + REST API + Existing code and plugins + Rapid prototyping + Strong admin interface for
I’m happy to answer any questions (now or anytime)