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

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

JavaScript and ActionScript Data Visualization Libaries & Toolkits

Screen Shot 2012-05-31 at 12.42.06 PM

Andy Trice recently forwarded me this link: http://selection.datavisualization.ch/#, a great site which showcases the current state of many visualization toolkits & frameworks.  Upon investigation though, it looks like this is a mix of JavaScript & ActionScript libraries, applications for creation of data visualizations and generic helper tools.  Navigating through the list seemed a tricky for the average developer.  As well, there was a bunch of libraries I knew about that I didn’t see listed.  It seemed to me like it would be useful to recreate this list based not on whether I’m trying to create a map or chart for example, but rather based on development restrictions.  If you’re building an HTML/JS application, ActionScript libraries are not very helpful.  Likewise, if you’re building a Flash application, a JavaScript  toolkit may or may not be helpful.

The list will obviously change as new libaries are developed and old ones go by the wayside.  I’m sure I’ve missed off a few as well and so I apologize in advance.  Let me know and I’ll update as I can.  I will try to keep this up to date, but you know how these things go…

Continue reading