Dojo vs Spry - real world

So for a while now I have been using the dojo javascript toolkit for my music sites. It has been working ok, but very slow. In addition the tab panels do not render until all other javascript, which isn't very good if you are using Amazon previews and google adsense in the same site.

I stumbled upon Ray Camdens post about using Spry's javascript framework instead. He posted some sample code on the new tab layout, so I decided to give it a try.

I found it VERY easy to integrate. Just a few changes to his code got it working well for my needs and using BlueDragon.

There are a few issues regarding the effects library, but I was able to get around enough of it for now. Mostly to do with people like me wanting the blind effect to be off to start and click to display. In addition when off to turn display off not just visibility. Easy enough unless you have variable length content areas. Just couldn't get 100% height to work out.

All in all I think my cfml processing speed is about the same, but the UI now loads into the browser much much faster. Since I am caching the actual html content (200,000 + files) the processing is pretty fast. Just need the browser to keep up now.

The problem with the cache approach is that if I make a change to the HTML I need to recache everything. That can take a while and is very server taxing. My 2GB of RAM just isn't enough. And it just isn't feasible to load that much information into memory cache instead. So I only have core heavy processing areas cached and suffer through recaching every once in a while.

Still, the approach has let me create 200,000+ web sites off of just 6 files of cfml and javascript. Pretty cool.

TweetBacks
Comments

NAVIGATION

Home
About Me

RSS


Search

Subscribe

Enter your email address to subscribe to this blog.

Recent Entries

Inception Plot Questions
Random Chuck Norris Fact Generator With A Twist
Virtual Currency for Buses
Applying ColdFusion Security Patches Gotcha
Privacy, Walled Gardens, Standards and Our Future

Recent Comments

FireFox 3.6 KTML Editor Fix
rock guitar said: Is the ktml realy discontinued for dreamweaver [More]

FireFox 3.6 KTML Editor Fix
Joshua said: Hi Wayne, I just tried opening the editor in IE from the link you supplied. I was able to open the ... [More]

FireFox 3.6 KTML Editor Fix
wayne said: Hi everybody, thanks for your reply joshua. I still have a bug for ktml in asp for a link properties... [More]

Inception Plot Questions
said: [More]

Inception Plot Questions
Taylor said: Hey there Josh, Great questions all. You seem to think this is more of a Jacob's Ladder equivalent ... [More]

Calendar

Sun Mon Tue Wed Thu Fri Sat
   1234
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30   

Archives By Subject

blogs (31) [RSS]
books (4) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (14) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (27) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (19) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (68) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (224) [RSS]
World of Warcraft (16) [RSS]