In the last post in this series, we built a REST interface to our server data, which consists of Events and Venues. The REST interface provides the functionality to perform all the necessary CRUD (Create, Read, Update and Delete) operations from a client (e.g. a browser or Curl from a command line) and makes use of WordPress roles and capabilities to determine whether the user making the request has the necessary permissions to perform the requested operation.
Our goal in this post is to create a well-structured data-driven Web Application embedded in a WordPress page that makes use of good modern design patterns and leverages the REST interface we built in the previous tutorial. Continue reading
Ah, REST… I could definitely use more of that these days.
This is part 2 of the series on Modern Web App Design with WordPress. In the first article I discussed how I’d like to use WordPress to build a modern web application with a REST interface to the server, and an MVC framework such as backbone.js to build dynamic data-driven UI components that can be embedded in WordPress pages.
In this article we’ll be discussing how to build the REST interface using the wp-mvc plugin, taking advantage of all that WordPress has to offer while building a flexible interface to your server. Continue reading
I’ve been spending a fair amount of time lately thinking about whether WordPress is a viable platform for building modern web applications. Browse the Web and you’ll find a ton of people saying that WordPress can be used for a lot more than simply blogging. But what exactly does that mean? When is WordPress simply inappropriate and where does it shine? And, if you are going to use WordPress, can you use modern design patterns for web application development? Continue reading
I was playing around with WordPress, trying to create some custom functionality on a page and I quickly ran into a quandary. When do you put code in a plugin and when do you put it in your theme/child theme? It turns out the answer is not what you think, or at least what I thought. Continue reading