Building Data-Driven Web Applications with WordPress (WordPress App Design part 3)

Screen Shot 2013-02-01 at 10.52.25 AM

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

Building a REST interface with WordPress (WordPress App Design Part 2)

iStock_000009293603XSmall

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

HTML/JS Code in WordPress Posts & Pages

iStock_000014864034Small

Sometimes, you want to enter a bit of HTML and/or JavaScript into a WordPress page or post.  You can switch to the HTML editor to do this, but very often WordPress will mess with your code when you switch back to the visual editor.  There are plugins which can disable this, but you dont’ necessary want to disable this globally on your site. Continue reading

Modern Web App Design with WordPress – Part 1

System Architecture

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

WordPress Plugin or Custom Template?

ID-10085673

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