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
Jupiter 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
分享到:
相关推荐
We will start where most ...Finally, you’ll learn about “state,” how it differs from props, and how to organize it in an application. We’ll look at using form controls and the Component Lifecycle.
If you want to build your site’s frontend with the single-page application (SPA) model, this hands-on book shows you how to get the job done with Backbone.js. You’ll learn how to create structured ...
The fourth edition of SUCCESSFUL PROJECT MANAGEMENT covers everything you need to know about working successfully in a project environment including how to organize and manage effective project teams ...
We'll use the famous promises to work with asynchronous processes and will give you some tips on how to organize your code effectively. You'll find out how to create robust code using SOLID ...
This book will teach you how to use a declarative syntax for creating user interfaces that automatically sync with the changing data. You will also learn to organize applications with the MVVM pattern...
Learn how Backbone.js brings MVC benefits to the client-side Write code that can be easily read, structured, and extended Work with the Backbone.Marionette and Thorax extension frameworks Solve common...
Learn how Backbone.js brings MVC benefits to the client-side Write code that can be easily read, structured, and extended Work with the Backbone.Marionette and Thorax extension frameworks Solve common...
In Lesson 1 you learn how to organize columns and rows of data into a range so that you can effectively sort, filter, subtotal, and outline the data. Then you learn how to protect the data from ...
Learn how to use Odoo, a resourceful, open source business application platform designed to transform and modernize your business About This Book Configure, manage, and customize Odoo to fit the ...
Starting with a discussion about the basic features of Dart, we will dive into the more complicated concepts such as generics, annotation with reflection, errors and exceptions, which will help us ...
Ask – and answer – tough questions of your data with robust statistical models, built for a range of datasets, Who This Book Is For, If you want to find out how to use Python to start answering ...
We will leverage the power of Redux to organize data in the front-end, since Redux attempts to make state mutations predictable by imposing certain restrictions on how and when updates can happen....
Starting with an introduction to the concept of modules and packages, this book shows how you can use these building blocks to organize a complex program into logical parts and make sure those parts ...
You’ll learn how to transition from a traditional monolithic application to a suite of small services that interact to provide smooth functionality to your client applications. You’ll also learn ...