How To Organize a jQuery Application with JavaScriptMVC

This post is part of our ReadWriteHack channel, which is a resource and guide for developers. The channel is sponsored by the Intel AppUp Developer Program . As you're exploring these resources, check out this helpful resource from our sponsors: AIR for AppUp: What You Need To Know


JavaScriptMVC logoJupiter Consulting , a development outfit and the creators of the JavaScriptMVC framework, has posted a guide on organizing jQuery applications with JavaScriptMVC 3.0. Justin Meyer, the author of the post, felt that other guides to organizing jQuery applications failed to emphasize a crucial aspect: breaking up applications into separate and testable components. "The secret to building large apps is NEVER build large apps," Meyer writes. " Break up your applications into small pieces. Then, assemble those testable, bite-sized pieces into your big application." Meyer looks at Srchr as an example.

Meyer explorers the way Srchr is organized not as an example of the best way to organize an application, but to illustrate the hows and whys of breaking up applications into smaller pieces.

In another post, Meyerexplains the features of JavaScriptMVC . According to the Why JavaScriptMVC page, the framework helps with:

  • Testing (especially automatic and functional testing)
  • Documenting
  • Breaking up code into logically organized files
  • Compressing and concatenating your JavaScript files
  • Using and organizing client side templates
  • Making plugins that clean themselves up, are internally organized, and extendable.
  • Error reporting

JavaScriptMVC has been criticized as "too enterprisey," but Meyer has also argued that JQuery needs the enterprise .

What do you think? Is JavaScriptMVC a helpful tool for creating large JavaScript applications?

 

from:http://www.readwriteweb.com/hack/2010/11/organizing-jquery-javascriptmvc.php?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+readwriteweb%2Fhack+%28ReadWriteHack%29

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值