Code Generators (Dreamweaver vs. the rest)

greenspun.com : LUSENET : WebDevelopers : One Thread

> -----Original Message----- > From: owner-stlwebdev@granularity.net > [mailto:owner-stlwebdev@granularity.net]On Behalf Of Cheryl Hammond > Sent: Wednesday, May 23, 2001 5:45 PM > To: stlwebdev@stlwebdev.org > Subject: RE: STLWEBDEV: CSS - Dreamweaver or FrontPage? > > > No, I am not talking about FrontPage creating javascript. Here is > an example > of what I am talking about. > > Suppose my client sends me every month a set of new html files to > upload to > the web site. I have a number of tasks I do every month to those > files after > uploading. The files he sends have names with spaces in them. I > want to take > out the spaces and put in an "_" so that the file > "file 1.html" becomes "file_1.html". I can write a visual basic program > (VBA) quickly referring to the FrontPage object model and rename all of > these files. I save that module and put a new button on the tool > bar which I > can press to execute. Or I can call this module through the menu. This is > just like writing a VBA program to automate tasks in Word or > Excel. The VBA > is only used to create the documents. > > This is done using the Frontpage object model so that you can > refer to the > active page or to collections of pages. There are methods and > properties you > can use. > > Maybe DreamWeaver also has an object model so that you can quickly program > it to get repetitive tasks done. I am not familiar with > dreamweaver and have > nothing against it. I am just saying that I have found a lot of useful > capability in FrontPage. If you don't want to write your own VBA, you can > also download 3rd party modules, also known as addins, just as Dreamweaver > has many 3rd party addins that you can download and use. I'm sure > there are > more available for Dreamweaver than for FrontPage. > > Cheryl Hammond

-- Anonymous, May 28, 2001

Answers

I believe that you could program a DW extension to do something like what you described with FP. However, I'm not an expert on the matter, so I could be wrong.

However, let me point out that you don't need FP to do what you described. I could use a wonderful program called NameWiz (for Windows only) which will do mass filename changes. Or, even better, you could use Perl on Mac, Windows, or Unix to do just about any dang thing you want to a file, and you would have the advantage of being cross-platform and fast as heck (Not to mention that even a non-Perl afficianado such as myself could write that script). And Microsoft wouldn't have to enter into the picture! :)

Anyway, I'm not trying to start a fight. Use what you like. But I'm going to continue teaching my students Dreamweaver!

Scott

________________________________ R. Scott Granneman, Granneman Information Solutions scott@granneman.com || vox: 314-862-4919 www.granneman.com || fax: 651-319-6023

"Everything that can be invented has been invented." --- Charles H. Duell, Commissioner, U.S. Office of Patents, 1899

-- Anonymous, May 28, 2001


---------------------------------------------------------------------- ---------- You know, I'd like to hear more about Zope. Anyone out there?

Or how about Allaire's CMS solution? Spectra, I believe it's called.

Those two sound really, really interesting, for vastly differing reasons.

Anyone got any info they'd like to share?

Scott

-- Anonymous, May 28, 2001


Moderation questions? read the FAQ