Mojito is a model-view-controller (MVC) application framework built on YUI 3 and its open source. Most notable feature of mojito is its capability to give you seamless MVC framework to manage your code on server as well as on client. Applications built on Mojito consists of small components called Mojits which are independent UI element which can have their own Model,View, Controller and Binders.
Mojito features:
- Local Command Line development Tools.
- Library for simplifying internationalization & localization.
- Integrated unit testing.
- Device Specific Presentation.
- Single MVC to manage Client and Server code seamlessly.
ScreenCast
How to setup this example- Install Node
- Install Mojito
- Create App and Mojit
- Modify application.json
- Modify routes.json
- Modify mojits MVCs. Get the full code here
npm install mojito -g
$ mojito create app youtubesearch $ cd youtubesearch $ mojito create mojit containerMojit $ mojito create mojit searchResultMojit
Get from github git clone https://github.com/markandey/mojito-example-youtube.git
I have used YQL to get youtube search result. To Read more about the YQL read here.
Where to Host Mojito Application
You can host mojito on any node.js server, Try Openshift, its free and easy to deploy.
You can also try http://www.nodejitsu.com/