Ask News.YC: Is hand-coded html an outdated and silly way to operate a site?
It seems like everyone these days is using some sort of CMS. Is there any reason to code the pages by hand anymore for a frequently updated site? One of the few upsides I can see is the speedier load time of non-cms sites because of the lack of need for a database interaction but other than that I can't think of much else.
Anyone out there not using some sort of CMS for a site of reasonable complexity?
3 comments
[ 3.6 ms ] story [ 26.8 ms ] threadFor a site of any complexity, I would use a cms, home-brewed or open-sourced though.
Removing the database layer is always a nice option, but if you plan to have any sort of interactivity, straight html might be a pain.
There hasn't been a reason to hand code anything that is at all dynamic or frequently updated for a decade. There's a reason PHP is so popular after all.
That being said, any HTML/CSS that has to do with layout is still best done by hand.
On the spectrum of tools available, what most people are looking for is a hand-coded layout/template with something like wordpress/moveable type generating the content.
I'm no PHP expert, so if anyone has better ways of doing this kind of thing I'd love to hear it.
(actually, I have a question: with this layout it's hard to pass data from included files back up to the templates, like $title above needs to be defined before the header include... is there some trick I'm missing?)