about backbone code sample development doctrine2 javascript jquery magento me mobile random silverstripe symfony symfony2 welcome zend framework
At the beginning of the week I started looking into the various Javascript frameworks that are designed to help provide more structure to your javascript applications. Namely Javascript MVC, Backbone, and SproutCore. After reading through the docs, looking at the examples, and just alot of general reading on each framework, I ultimately decided to go forward using Backbone.js - Why is a topic for another post...
Below is a jQuery "storage" mechanism I developed to extend an application with the ability to store data on an IFrame. The purpose of using the IFrame, is that other parts of the application can load templates for use by the jQuery jsRender plugin to render views inside of the application. This simple extension allows for easy access to reading and writing those templates within the IFrame as well as seamlessly manages storing data objects on the IFrame as well. This provides a unified way to access the jsRender templates, as well as JSON data.
I'm currently working on building an API with Zend Framework and JSON-RPC. As I was creating this API I wanted an interface that I could use to test the implementation, but without having to do a lot of work or install any software. After some quick Google searches I stumbled upon the jQuery.Zend.jsonrpc plugin and quickly got it working. This plugin is great, setup for it was a breeze and I was able to make API requests in no time. But what I didn’t like, was that I had to modify some javascript code everytime I needed to test a new API method.
I don't really think this qualifies as a "quality" first post, but I just wanted to throw a quick shout to my blog, to take a minute and call myself an idiot. I'm a fan of jQuery, I use it anytime I get the choice of which JS Framework to use on a project. I usually pride myself with being up on the "latest" with what's going on with jQuery and will take the time to read about new things they are adding, or proposing to add to jQuery core. Well, long story short, i ignored Deferreds... and now I regret it.