MacResource
Code snobbery: I could compare dates faster than DreamWeaver - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: Code snobbery: I could compare dates faster than DreamWeaver (/showthread.php?tid=17619)



Code snobbery: I could compare dates faster than DreamWeaver - Greg the dogsitter - 08-26-2006

Big site; a thousand files or so. I want to download newer files from the ftp server, so DW has to compare dates. It feels like this:

Compare file 1...
Compare file 2...
Compare file 3...

The other week, I wrote a real basic perl script that got the modification dates for files on a totally different ftp server. It grabbed the results of the ftp dir() command, then mashed the dates around offline. It was a heckuva lot faster than whatever DW is doing.

What the hey, DW?

GtDS


Re: Code snobbery: I could compare dates faster than DreamWeaver - mattkime - 08-26-2006

>>What the hey, DW?

If you can code a perl script that does something faster than DW, then you don't need DW.


Re: Code snobbery: I could compare dates faster than DreamWeaver - Greg the dogsitter - 08-26-2006

In this case, that might be a good idea.


Re: Code snobbery: I could compare dates faster than DreamWeaver - M A V I C - 08-26-2006

I used DW a lot from version 1 to 4. I still keep up with it, even taught a class in it.

Now I do it all by hand.


Re: Code snobbery: I could compare dates faster than DreamWeaver - TheTominator - 08-26-2006

But can you compare dates as fast as a contestant on elimiDate?

http://elimidate.warnerbros.com/