Why jQuery Needs JavaScriptMVC Part 2

by Justin Meyer

Why jQuery Needs JavaScriptMVC Part 2

Justin Meyer After writing my previous article on Why jQuery Needs JavaScript, I feel like I didn't communicate why JavaScriptMVC is important for jQuery developers. Here's a much more succinct way of saying it.

posted in Development on August 13, 2010 by Justin Meyer

After writing my previous article on Why jQuery Needs JavaScript, I feel like I didn’t communicate why JavaScriptMVC is important for jQuery developers. Here’s a much more succinct way of saying it.

JavaScriptMVC makes doing everything you should be doing as easy as possible

Here’s some of the things you should be doing:

  • 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

All of these things are hard or impossible to do right with jQuery alone.

You can add your own automated testing library – Selenium or qUnit, qUnit isn’t automated. Selenium is hard to write tests for.

You can add your own documentation engine – JSDoc, but make sure you keep track of every file!

You can add your own way of loading and compressing scripts – RequireJS.

You can use other client side template libraries – jquery-tmpl, but you won’t be able to compress them into your build or put them in external files as easily.

You can be careful to structure your jQuery plugins so they can be easily removed from an element, remove all event handlers, and provide some mechanism for extending or overwriting your plugin.

You can devise your own way of doing error reporting.

Or

You can download JavaScriptMVC and run:

js steal/generate/app APPNAME 

and get all of these things for free.

This is why jQuery needs JavaScriptMVC – to make it easy to do the things you should have been doing in the first place.

We’ve spent almost 3 years refining the same feature set to make it crazy easy to do these things. If this doesn’t make sense to you, please read why JavaScriptMVC is not too Enterprisey.

blog comments powered by Disqus

Lessons from a Decade of JavaScript Consulting: Bitovi’s 10 Core Principles

Brian Moschelposted in About, Client Work, Design, Development on March 1, 2016 by Brian MoschelBitovi’s core mission is simple: deliver amazing applications. Over the past 10 years of JavaScript consulting, we've learned a lot via the time honored process of trial and error. We've honed in on 10 core principles (one per year!) that keep us laser-focused on our mission. This article will explain who we are, what our 10 most important principles are, and how we arrived at them.

Meet The Wolf

Brian Moschelposted in Client Work, Development on February 12, 2016 by Brian MoschelTo ensure continual successful delivery of applications built the right way, we formed a new role affectionately known as "The Wolf". Last year, that role was given to Curtis Cummings, one of Bitovi’s most senior consultants.

Contact Us
(312) 620-0386 | contact@bitovi.com
 or cancel