Code Generators Done Right
Sometimes, the easiest way to win is not to play, or at least not to
hard code. Or not do the hard parts of coding. Or something like that.
Hey, I write technical columns for a reason.
Anyway, plenty of Web application development environments have tried to
put happy faces on JavaScript. Code generators -- call them what you
like, but they're code generators -- usually allow you to do your design
work in a graphical interface that looks something like Microsoft Word
or another document generation utility. They're good to an extent, but
the text editors invariably come out at some point during the
development process. Some of us do *everything* in a text editor,
thereby cutting straight to the chase.
Code generators that admit what they are and don't try to conceal their
true purpose are the best kind. A code generator, JavaScript or
otherwise, should announce the kind of code it's going to put out, then
guide you through the options you can build into that code. The menu
builder utility on javascript.internet.com is a perfect example. It
generates a code module that causes your browser to render a menu,
complete with a series of headers, options, and linked commands. You put
in the labels you want, specify the links for each, and give some advice
about style and behavior. Then you turn the utility loose, and you get a
stretch of JavaScript to paste into your pages.
It'll work well with your text editor!
» posted by ITworld staff
ITworld
Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.
Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.
Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.







