Javascriptmvc 110303083609 Phpapp02
Javascriptmvc 110303083609 Phpapp02
Javascriptmvc 110303083609 Phpapp02
UX Team Owen
Topic
What is JavaScriptMVC? JavaScript Theory
What is JavaScriptMVC?
A collection of the best practices and tools for building JavaScript applications. Built on top of jQuery, it consists of the following standalone component.
StealJS: Dependency management and a easy build tool.
I recommend RequiresJS, http://requirejs.org/docs/api.html Circular Dependencies Load Scripts in a Specific Order Page Load Event Support
FuncUnit: Automatic test tool, Functional testing solution, Write test case in jQuery syntax, run them via command line or browser.(Like GITAK) jQueryMXThese plugins are the building blocks of large jQuery application model, view, controller, class, fixtures, and more. DocumentJS: A JSDoc compliant tool, that turns comments into a searchable documentation app.
JavaScript Theory
What is inside?
Code Generators Dependency Management Production Builds Testing Client Side Templates jQuery Widget Factory Service/Data Modeling Documentation Code Cleaning and Linting jQuery Special Events jQuery Utilities ./js jquery/generate/app myapp steal.plugins('jquery/controller').then(function($){ ... }); js myapp/scripts/build.js S.open("//myapp/myapp.html"); S("#search").click().type("Hello World"); $("#menu").html("menu.tmpl",items); $.Controller("Tabs",{ "li click" : function(el, ev){ ... } }); $.Model("Todo",{ findAll : "/recipes" }, {}); Todo.findAll(function(todos){ ... }); js myapp/scripts/docs.js js myapp/scripts/clean.js $("#items").delegate(".item","draginit",function(){}); $("#panel").outerWidth(500);
StrongPoint
Base on jQuery, we can use jQuerys feature. It contains four components, and all the component is standalone. MVC structure. Easy testing
Anantas Question
GI
1. Can we do a framework similar to AMP?
JSMVC
GWT
More
Less
Less
JavaScriptMVC VS GI VS GWT
GI
Develop Architecture Developer Community Team Technical Community Unit Testing Functional Testing Document Who user it Technical Support Language Learning Period Obfuscation Optimization
JSMVC
MVC Web Developer &
GWT
MVP Java & Web Developer &
MVC Tibco
, third party , third party Tibco Tibco JavaScript 3-4 Weeks , third party , third party
, third party
Gmail/Adwards/Orkus
JavaScriptMVC VS GI VS GWT
GI
Load Scripts in a Specific Order Rich UI Visual Edit Debug Client Code WYSIWYWrite Developer Resources Base On License Plugin Resources Open Source Speed Memory Leak IDE Support Browser Support
JSMVC
jQuery UI Firebug Web Developer jQuery MIT Most Fast High Any Editor Common Browser
GWT
Ext/Smart GWT Eclipse & Java/Web Developer GWT Apache More Fast Normal Eclipse Common Browser
GIUI, UXCore Firebug & Tibco GI BSD Less Low High GI, Any Editor Firefox/IE8
More Information
JavaScriptMVC Demo List: http://docs.javascriptmvc.com/demos/index.html Who recommend it: http://addyosmani.com/blog/large-scalejquery/ Twitter: @javascriptmvc Blog: http://jupiterjs.com/pages/javascriptmvc Forum: http://forum.javascriptmvc.com
Question?