One of the tasks associated with a recent application involved many dynamic subpanels. These subpanels often required many AJAX interactions using jQuery (getJSON); insert, update, list, etc. Instead of trying to writing a controller method for each AJAX interaction, an internal REST Server (Controller) was used to standardize the interactions. This surprisingly made development much easier, as the REST Server forced standard API calls to a single controller. The REST Server was based on Phil Sturgeon’s REST Server Class for CodeIgniter. The result was a fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.
About REST: Representational State Transfer (REST) is an architectural style that abstracts the architectural elements within a distributed hypermedia system. REST ignores the details of component implementation and protocol syntax in order to focus on the roles of components, the constraints upon their interaction with other components, and their interpretation of significant data elements. REST has emerged as a predominant web API design model.
The best method of contacting me, is by using the contact form. If you don't prefer that method, you can always contact me through one of the many social links at the top of this page; Twitter, Google+ or LinkedIn.
I can also be reached thru Gmail or Google Chat by contacting user jjwdesign.
If it's an emergency, or something that just can't wait, then feel free to call my cell phone.
GitHub is the home of the JJWDesign Google Maps project for SugarCRM. Just search for user jjwdesign.