Ivor O’Connor

June 9, 2009

Standardized Templates With JSON

Filed under: GEARS — Tags: , , — ioconnor @ 4:32 pm

My invoices are web based PHP creations. It would be better to switch to JavaScript. JavaScript with google.gears pulling sqlite data. The questionable part is massaging to JSON data and then right back to JavaScript variables. This excessive redundant busy work for the sake of standardized reusable modules may be a good decision over time and for future projects. The final templates for invoices and what not will hopefully be easier too.

With this goal in mind I came across an interesting Dr. Dobbs article here http://www.ddj.com/windows/217701311. John Resig and Rich Strahl have put together a useful library for funneling JSON data into a template. With these two as the authors there is very little doubt the module will become a standard. I’m going to use the article and a google search on  ‘“Rick Strahl” “John Resig” parseTemplate json‘ as a starting point…

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: