`

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

分享到:
评论

相关推荐

    Pure React_A step-by-step guide to mastering React-Dave Ceddia(2017).epub

    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.

    Developing backbone.js application

    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 ...

    project management 5

    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 ...

    Isomorphic+JavaScript+Web+Development-Packt+Publishing(2017).pdf

    They will begin creating components for the application and will learn how to organize the flow of data between the components for effective development. Chapter 3, Working with CSS and Media Assets,...

    developing backbone js applications

    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...

    HOW TO IMPROVE YOUR BUSINESS LETTERS

    please don’t hesitate to call.” Close with a simple “Sincerely,” and your signature; it may be a perfect ending. 10. Be Professional The most well-written letters can’t survive bad presentation. ...

    Mastering JavaScript Object-Oriented Programming

    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 ...

    Mastering KnockoutJS(PACKT,2014)

    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...

    Developing Backbone.js Applications

    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...

    backbone marionette js

    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...

    Excel.2013.Working.with.Data.Ranges.and.Tables

    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 ...

    Working.with.Odoo.1784394556

    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 ...

    Manning Taming Text How to Find, Organize, and Manipulate It. Jan.2013.pdf

    Manning Taming Text How to Find, Organize, and Manipulate It. Jan.2013.pdf lucene solr search NLP

    Reactive Programming with Angular and ngrx:

    this book shows you how to utilize ngrx/store as a state management with Redux pattern, and how to utilize ngrx/effects to define a better and more robust application architecture. Through working ...

    Mastering Dart(PACKT,2014)

    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 ...

    Python Machine Learning

    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 ...

    Serverless Web Applications with React and Firebase

    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....

    GWT in Action

    You’ll learn how to organize your deployed code to reduce clutter on the server. Chapter 17 completes the book by investigating the underlying mechanisms of GWT, for those interested in delving a ...

    Modular Programming with Python

    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 ...

    Microservices Development Cookbook

    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 ...

Global site tag (gtag.js) - Google Analytics