JavaScript/UI Architecture: Be all that you can be 3.2 http://spkr8.com/t/2062

  • Me11-tiny Kyle Simpson 3.97

Description:

Most web applications take UI architecture for granted, simply using out-of-the-box offerings from the framework of choice without much thought. This often yields far too complicated templating, data exchange (Ajax), URL routing, validation, etc. CVC (Client-View-Controller) is an alternative, deconstructed, framework-independent approach to building/delivering performant, maintainable web UI.

Client

Each component is a "client" of every other component -- highly module, portable, and platform/framework agnostic.

View

Templating engine, written in JavaScript (so it can run either on server or in browser), uses HTML-based templates and accepts simple JSON data.

Controller

URL routing, data validation, etc The controller modules are also in JavaScript and are the glue between all the pieces, to transfer the data (JSON) and facilitate the "clients" talking to each other.

Comments on this Talk

Me11-tiny Kyle Simpson, 30 Jan 10:58 PM

Demo: http://test.getify.com/handlebar/demo1/

Git: http://github.com/getify/HandlebarJS

Me11-tiny Kyle Simpson, 10 Feb 08:29 PM

Have an account? Sign in or register.

Leave a Comment

3 Ratings: 3.20

Delivery: 3.27

Content: 3.13