Awesome ideas. It makes perfect sense. You can optimize code all you want, but when you're loading a few dozen files over the net, it can be a problem because the bottleneck will then become the speed at which you're able to get connections to the server, and many servers only seem to allow 2-4 connections at a time. With a feature like this, I think it gives the DynAPI a huge advantage in terms of viability for commercial usage. It's one of those "whiz-bang" features that just exude professionalism and maybe envy of competitors. ;-)
Leif P.S. If you're not already a developer, you should be. This is a valuable contribution. I think you just have to create a SourceForge account (if you haven't already), and tell Raymond the account name and he'll make you a developer with write-access to the CVS. Then install and configure WinCVS and PuTTY as Raymond mentioned. ----- Original Message ----- From: "Raymond Irving" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 06, 2003 5:08 PM Subject: Re: [Dynapi-Dev] compressing files > > Very cool indeed Jesse, very cool. Well done. > > IMO the merge feature is a major plus for the DynAPI > libraries. > > There're two ways to check in your updates. You could: > > 1) Use the Patch system available on the DynAPI > SourceForge web site > > 2) Setup WinCVS and Putty on you computer can check in > you changes via CVS. > > Are your changes based on the lasted version in CVS? > > -- > Raymond Irving > > > > > --- Jesse Vitrone <[EMAIL PROTECTED]> wrote: > > Ooops, sorry, hit send too soon :( Here's the whole > > email > > > > Hello all, > > I've never contributed to an open source project > > before, so I'm not > > sure of the proper ettiquite. Please correct me if > > I do something stupid :) > > I've been email with Raymond Irving about some > > idea's that I had, > > and he encouraged me to post it here and see what > > people think. > > I wrote a Java version of the JavaScript > > compressor that comes with > > DynAPI. Along with everything that the DynAPI one > > does, it reads in a > > config file that says "compress these files, then > > merge them into this > > one file". This enables me to keep a good amount of > > JS files when I'm > > coding, but then when I "build" to apache, I > > compress them all into 1 > > file, so the browser doesn't have to hit the server > > multiple times to > > get the files. > > Then, I took it a step farther, and added what I > > had to in order to > > be able to compress the DynAPI files I was using, > > and it worked! I was > > able to get all my files, plus the DynAPI files I > > was using and compress > > / merge them all into 1 file. It sped things up on > > my server dramatically. > > The changes were all just adding semi-colons > > where they were needed, > > except for one case: > > The mouse_ie.js, dyndocument.js and > > mouse_dom.js files all have a > > method called "main" and that doesn't seem to work > > very well when > > they're all combined into the same file. To fix it, > > I renamed them, > > which names like main_mouse_ie, etc, and fixed all > > the other references > > to them. Seems to work fine, but I haven't tested > > extensively all the > > examples and such. > > > > I'd like to check in my changes, as well as send in > > my Java compressor, > > since Raymond said he'd like to post it on the site. > > I'd also like to > > make a Swing front end for the java app to make it a > > little easier to use. > > > > What do you guys and gals think of this idea? > > Should I check in the > > changes? What's the right process for checking in > > changes? > > > > Jesse > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of > > TotalView, The best > > thread debugger on the planet. Designed with thread > > debugging features > > you've never dreamed of, try TotalView 6 free at > > www.etnus.com. > > _______________________________________________ > > Dynapi-Dev mailing list > > [EMAIL PROTECTED] > > > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/