Upgrading to mojo 1.1.4

4 views
Skip to first unread message

Paul

unread,
Feb 1, 2010, 12:56:09 PM2/1/10
to Blast Mojo
Anyone has any reservations or caution about upgrading to mojo 1.1.4
mid-way through a project?

Currently using Mojo late 2009 build with Dojo 1.0.

p

Steven Luscher

unread,
Feb 1, 2010, 1:26:17 PM2/1/10
to blast...@googlegroups.com
Already done on the project I'm working on. No incident!

This is the dojo build profile I'm using

// TODO: Find a way to build without dojo._base.fx
dependencies = {
layers: [
{
name: "dojo.js",
dependencies: [
"dojo._base",
"dojo.string"
]
}
]
};

Steve…

Paul Ortchanian

unread,
Feb 1, 2010, 6:22:19 PM2/1/10
to blast...@googlegroups.com
Funny,

I noticed Mojo 1.1.4 is running fine under dojo 1.0.0 (I removed the helper classes)


I upgraded mojo but kept dojo 1.0.0 "as is" and had no problems.  Does anyone know what are the benefits of upgrading dojo?  Faster crawl? Memory management issues?

Thanks

p

Cary Newfeldt

unread,
Feb 1, 2010, 6:31:29 PM2/1/10
to blast...@googlegroups.com
Faster selector engine, Bug fixes .. I’m sure someone else can offer some other insights.

C


On 10-02-01 3:22 PM, "Paul Ortchanian" <pa...@reflektions.com> wrote:

Paul Ortchanian

unread,
Feb 1, 2010, 6:48:13 PM2/1/10
to blast...@googlegroups.com

Paul Ortchanian

unread,
Feb 1, 2010, 6:49:28 PM2/1/10
to blast...@googlegroups.com

And more on query...ok i'm convinced.

dojo.query:

  • The query engine in Dojo 1.3 has received substantial work to improve performance, reduce code size, and make the system even more maintainable. The new query engine (aka, "Acme") now takes full advantage of the native browser's querySelectorAll implementation (if available). This change will likely reduce the runtime performance of dojo.query slightly on FireFox 3.0, but subsequent FF versions will see a huge speed boost, as will other browsers which implement QSA, including IE8 in standards mode, Safari+Chrome, and modern Opera versions.
  • Acme is believed at the time of release to be the fastest available CSS query engine system in any major JavaScript toolkit, across all major browsers, by a rather wide margin.
  • query.js can now be used standalone for easy integration into other toolkits

Paul Ortchanian

unread,
Feb 2, 2010, 12:19:45 PM2/2/10
to blast...@googlegroups.com
For my latest project, I'm using j-query and in an effort to keep my bite footprint low I needed to keep library duplication to a minimum.  So I removed a few classes to create Mojo 1.1.4 Lite : 

Removed
  • dojo.base.animation
  • dojo.base.color
  • Dijit and dojox
  • html & css manipulation methods
Mojo
  • Mojo.helpers.xml
  • Mojo.helpers.validation
  • Mojo.helpers.Inflector

Original unconcatenated size : Mojo : 128k Dojo 324k
Final unconcatenated size :  Mojo : 100k Dojo 216k

Saving of 138k  which results to about 20k after gzip.

Let me know if you want me to post the file.

p

p
Reply all
Reply to author
Forward
0 new messages