Go Back   Steve Kallestad.com Discussion > Open Discussion > Article Talk


Post New Thread  Reply
 
LinkBack Thread Tools Display Modes
Old 02-08-2007, 01:24 AM   #11
Vittle Baug
 
 
Lightbulb Re: Discussion: Prototype and Scriptaculous Compressed

Hi Steve,

Nice work again! Any luck for doing the same with effects.js please?

Thanks
My URL:
 
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:24 AM   #12
Vittle Baug
 
 
Lightbulb Re: Discussion: Prototype and Scriptaculous Compressed

It worked like a charm, thank you!! Please do continue updating this blog, you rule
My URL:
 
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:24 AM   #13
Eric
 
 
Lightbulb Re: Discussion: Prototype and Scriptaculous Compressed

Steve,

I know you have to put the files together in a certain order but is there anything that needs to be modified in the files when they're combined (and before send them jscompact)? I seem to think you need to change something in prototype.js. I'd just like to know so I can customize what I combine and compress in the future. Thanks.
My URL:
 
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:24 AM   #14
Greg K
 
 
Lightbulb Re: Discussion: Prototype and Scriptaculous Compressed

Kudos! An unforseen speed gain on my site.

Cheers,

Greg.
My URL: http://www.typednotes.com
 
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:24 AM   #15
Andreas Kalsch
 
 
Lightbulb Re: Discussion: Prototype and Scriptaculous Compressed

This is not right, your compressed prototype version has 34 kB - says Firebug and my FTP programm. But thank you for a compressed version, better to load 34kB instead of 61. The missing ";" have still be a problem for me to put it into Dan Edwards' compressor.
My URL:
 
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:24 AM   #16
Andi
 
 
Lightbulb Re: Discussion: Prototype and Scriptaculous Compressed

Hey, again something from me: It's better to use normal encoding. It's smaller because I normally encode my JS files in UTF-8 so many of the chars are encoded with 2 bytes each one. It's better to take the normal method.
My URL:
 
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:46 AM   #17
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Post Re: Discussion: Prototype and Scriptaculous Compressed

Really? What platform and browser are you using? Would you mind providing a link to your project so I can see what the problem is? I did update the files after correcting some problems at about 4:30 yesterday - but that looks like it was well before your comment.

I have a very extensive project that I dropped this in on without problems - both the combined prototype and scriptaculous and the individual files.
My URL: http://www.stevekallestad.com
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:46 AM   #18
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Post Re: Discussion: Prototype and Scriptaculous Compressed

Sorry, I've been a little swamped on a project the last several days, but a couple of things...

I've validated the safari problem and I'm in process of troubleshooting it. Actually, I'm in the process of figuring out how to troubleshoot in safari (if anyone has any tips, please let me know)

The invalid character error in IE is something I'm having trouble with reproducing, although I believe it might have something to do with the character set of the page being published. I'm using iso-8859-1 in my test page. Perhaps the compression is not unicode-safe? I will update the files and post again when I have more information.
My URL: http://www.stevekallestad.com
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:46 AM   #19
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Post Re: Discussion: Prototype and Scriptaculous Compressed

You rock Chris! Thanks!
My URL: http://www.stevekallestad.com
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-08-2007, 01:47 AM   #20
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Post Re: Discussion: Prototype and Scriptaculous Compressed

I'm sorry, you may have noticed the lack of posts on my blog lately... I'm a little swamped at the moment, but I'll add effects.js by itself before 12/5. Actually, If I remember correctly, effects.js requires builder.js so I may have to combine the two. I'll look into it a little later and provide an update.

Update The scriptaculous wiki has been up and down today, so I went with my gut which told me that effects.js requires builder.js. So, in response to your comment, I created a combined compressed version of prototype.js, builder.js, and effects.js in that order. I haven't tested this as I don't have anything in development right now that only uses effects.js - so please let me know if there are any problems, and if there are, perhaps you can provide a link to a page that I can test with.

Also... I really need to do some comment styling on this site. It's getting a little hard to read!

Prototype Builder and Effects combined and compacted - It weighs in at 18K.

If you are just doing effects, it's worth having a peek at moo.fx - which is only 3k. It provides the basics, and as far as I know it doesn't have the queueing capability built in like scriptaculous, nor a library of combined effects, but for a lot of things moo.fx can end up being a smart decision. Although if you go with moo.fx including all the options, it weighs in at 94k/27k compressed, which isn't a whole heckuvalot better than what we've done here with scriptaculous.
My URL: http://www.stevekallestad.com
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 10:10 PM.