OT: HTML queries (was Re: PDF datasheets)
Gordon JC Pearce MM3YEQ
gordonjcp at gjcp.net
Mon Dec 29 12:49:59 CST 2008
Cameron Kaiser wrote:
>>> Management System) like typo3, Joomla, Drupal, ... You can do it also
>>> with cvs, m4, sed / awk, make, ... or a XML processor, where you write
>>> XML files containing just the content and the XML processor generates
>>> (static) HTML... (AFAIK the NetBSD web site is generated this way.)
>> I tried that. Down that path madness lies. It's far better to just
>> store the text in a database, possibly marked up in one of the "simple"
>> markup languages like markdown, and serve it up as required.
> Then you have all the headaches of a database. Sometimes a Makefile and
> some skeletons pulling in flat files really *is* the simplest approach.
Any sane distro will either have a database installed or one easily
installable. It's not hard.
If you use a framework that uses the active record pattern (like, maybe
Django) then you never even see the database. Objects just appear when
you ask for them, and you call save() on them when you're done.
Some people just seem to like doing things the hard way.
More information about the cctalk