Archive for April, 2009

Make JQuery Go Faster!

Tuesday, April 28th, 2009

A nice article on improving your jquery codez:

http://www.artzstudio.com/2009/04/jquery-performance-rules/

Knee Deep in the Glue

Tuesday, April 21st, 2009

Model Glue for ColdFusionI’m taking an OOP in ColdFusion class taught by Dan Wilson and I recently found out about  his increased involvement with the Model-Glue framework.    Increased involvement may be a bit of an understatement but that isn’t the point.

I’ve built and maintained several FuseBox applications and it saves a lot of guesswork and headache when used correctly.  I like FuseBox and all but I have found myself thirsty for another option.   Dan mentioned to me that the next version of Model Glue needed some help in the documentation department.   Opportunity! What better way to learn something than to be in on writing the instructions??

…time passes…

Some weeks later I’ve crash coursed myself through the Model Glue 2 docs and written a couple of small and useless apps on my own. I am now highly qualified to idiot test the documentation as it gets written.   Fun stuff!

Model Glue 3 does some major time saving, I’m looking forward to building something large scale with it as soon as the opportunity arises.  I haven’t even glued my fingers together yet!

Keep an eye out for the Model Glue 3: Gestures release coming soon!

JQuery and Building HTML Elements Fast

Monday, April 13th, 2009

A co-worker recently shared an article by Josh Powell about how to use the jquery append() function much more efficiently.  Thank goodness because today my JS requirements changed and I now had to build some html on keypress instead of onchange.  The codez I was using was way too slow for this sort of mischief.

My take on the article is thus:  Don’t create and append nested elements to nested elements to nested elements into your document.  Instead build the HTML in a string and then append just one time.  The article explains it quite well so I won’t rehash the whole thing.  Check it out:

http://www.learningjquery.com/2009/03/43439-reasons-to-use-append-correctly

I file that one under “stuff I didn’t know I needed to know until days after I learned it”.