Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is your best practice way to make a MVC Dojo application in the browser?

I have recently made a custom MVC Dojo application inside Adobe Air, which has worked alright, but I am not entirely satisfied with my own improvised MVC solution.

This question is only concerned with the browser technology, and should not require any fixed server side technology other than say a JSON rest service.

There seems to be a movement to clean MVC frameworks in javascript with new solutions emerging every day such as Backbone, spine, javascriptmvc, and so on. But for Dojo I have not found a real client side structure to follow.

I know for Dojo, there is cujo, but I have no experience implementing Cujo and would be interested to hear other people's experiences.

So what is your best practice solution for implementing MVC in Dojo for a complex client side application?

like image 861
Tom Gruner Avatar asked Apr 20 '11 15:04

Tom Gruner


1 Answers

It's not a comprehensive MVC solution, but you may want to check out a small demo app that I put together that shows how to lay out the basics of a Dojo application, and which includes a router component for handling application-wide state management.

like image 121
rmurphey Avatar answered Nov 12 '22 05:11

rmurphey