Past Meetup

Rendering Views in JavaScript - "The New Web Architecture"

Location visible to members

Details

This is a preview of my GothamJS presentation. See GothamJS Schedule (http://gothamjs.com/schedule/index)

Making a request to the server for a new page is sooo 1990s. We have the technology and power to make amazingly fast and responsive applications - not just web *sites*, but *applications*. This requires a shift in thinking, an ironic shift back to the 1990s. I'm talking about client-server programming.

The MVC pattern has been embraced by the development community. Unfortunately, traditional server-rendered views are often much slower than they need to be. Add in a bit of network latency, and an application can slow to a crawl. Pushing the "V" in MVC to the client can be a solution - and it's not as difficult as it seems. With a well-designed architecture, we can leave the service layer on the server-side, and move the view layer to the browser.

This presentation will help attendees re-design their applications to take advantage of fast client-side templating of views. We will survey the landscape of templating solutions in JavaScript, and discuss architecture choices when using various back-end languages. Technologies discussed will include Backbone.js, underscore.js, JSON, REST, mustache, as well as others.

Jonathan Julian is lead developer for 410Labs, a product-based startup in Baltimore MD. He has been building web applications for many years, and he is co-organizer of B'More JS, Baltimore's monthly JavaScript meetup.