Archives for Jquery RSS feed for

Faster jQuery.event.fix with ES5 Getters

13 April 2012 by justinbmeyer

jQuery.event.fix is often the slowest part of our apps. Using ES5 getters, maybe we can improve it. This article walks through how.

Read More »

Deferreds and 3.1

12 October 2011 by moschel

jQuery 1.6 brought Deferred support. They are a great feature that promise to make a lot of asynchronous functionality easier to write and manage. But many people struggle with uses other than 'waiting for a bunch of Ajax requests to complete'. For JavaScriptMVC 3.1, we identified an extremely common but annoying practice that becomes a one-liner with deferreds - loading data and a template and rendering the result into an element.

Read More »

jQuery Resize Event

23 May 2011 by justinbmeyer

When building web applications, it can be tricky to get pages to layout correctly, especially when layout can't be done with CSS. Widgets that can dynamically change the layout only complicate matters. JavaScriptMVC 3.1 packs a new resize event that greatly simplifies these layouts.

Read More »

Why You Should Never Use jQuery Live

06 April 2011 by justinbmeyer

Event delegation is a powerful technique that is often used in JavaScript applications. jQuery has two similar API methods that provide similar event delegation functionality - live and delegate.

Read More »

Advanced jQuery Training at SF jQuery Conf 2011

24 February 2011 by justinbmeyer

The team at Bitovi will be giving the Advanced jQuery Training at the San Fransisco jQuery Conference on April 15th, 2011. If you write complex jQuery apps, and consider yourself a jQuery Pro, this will be the most beneficial 8 hours of development advice you ever get. If you are coming, please leave a note about topic you'd like covered in the comments below. The remainder of this article covers our goals for the training, our approach, and what we plan on covering.

Read More »

jQuery.View - Client Side Templates for jQuery

12 November 2010 by justinbmeyer

Everyone loves client side templates. They are a great way to create html which is something JavaScript apps do all the time

Read More »

Organizing A jQuery Application

11 November 2010 by moschel

Earlier this week, I realized that every organizing-a-jQuery-application blog, article, and conference talk misses the most important lesson on how to organize a jQuery app.

Read More »

jQuery.Model - A jQuery Model Layer

13 October 2010 by justinbmeyer

Complex JavaScript applications are mostly about making it easy to create, read, update, and delete (CRUD) data. But being so close to the UI, most JavaScript developers ignore the data layer and focus on making animated drag-drop effects.

Read More »

Writing the Perfect jQuery Plugin

11 October 2010 by justinbmeyer

jQuery is an excellent DOM abstraction, but compared to other libraries, it leaves much to desire towards building complex, reusable functionality. There's lots of good examples and resources, but most of them fall short in providing a pattern that is

Read More »

jQuery's Object Literal Coding Conventions

21 August 2010 by agomes

jQuery has internal coding conventions.  It uses tabs over spaces.  It uses lots of white paces and you can always find a {} around if/else statements.  I'm adopting these conventions for JavaScriptMVC.  JavaScriptMVC had notoriously flexible (ie bad) coding conventions. We were more concerned with adding features, tests, etc than making our code look nice.  But, for the 3.0 release, the features have stabilized. We're paying more attention to things like documentation and even coding conventions.

Read More »