I plan to rewrite my existing Silverlight application using HTML, JavaScript, and CSS. It will be a rich Internet application connecting to the server for data only (JSON-based web services) - therefore there will not be a server-side presentation environment like JSP or ASP.NET. The application consists of approximately 8 screens, most of them in the form of tabs. The question is ...
What is the best way to write such an application in a modular way? I would like to write separate screens as stand-alone modules that exchange only events with each other. I would also like to use some kind of MVC framework to separate the presentation layer from the model.
Any thoughts on what structures should I look at? Have you had good experience using them? I am starting to look at Backbone.js , JavaScriptMVC and SproutCore . Am I missing something worth considering?
Thanks in advance for your time.
PS If you want to see the application that I am trying to rewrite, an online demo is available here - it is a realistic trading application designed for training and technology comparison.
source share