Slashdot Mirror


Web Programming by printf()

An anonymous reader writes "Art & Logic has posted an article titled 'Why CGI is Evil'. CGI might be an obvious way to create a simple web application, but this article provides some excellent high-level reasons why CGI rarely makes long-term sense. A nice review especially for new web programmers."

3 of 104 comments (clear)

  1. hmm... by gyratedotorg · · Score: 5, Insightful

    instead of "why cgi is evil," maybe this article should have been named "why you should buy our product."

    --
    Gyrate Dot Org - "Where high-tech meets low-life"
  2. This is a press release by legLess · · Score: 5, Insightful

    Notice how the author compares CGI unfavorably with something he calls DMF? Here it is, and it looks like one of the flagship products of this company. Imagine that.

    He's setting up a straw man, then claiming that his own (proprietary, for-profit ... not that there's anything wrong with that) solution is better. When he says "CGI" he's talking about something that few people use for anything but toys. Slashdot (e.g.) uses the Perl CGI module, but runs it under mod_perl, thus obviating most of his arguments (CGI is slow, must be compiled at run-time, and has no access to the web server internals). Slashdot, again, uses a templating system, thus taking care of his second argument (programmers must copy-paste HTML into their code).

    Both these problems have been solved for over 5 years, yet he's trying to make it sound like his beautiful DMF is the first to even discover them. *Yawn* - another press release day on /.

    --
    This isn't as much "normalization" as it is "don't take so many drugs when you're designing tables."
  3. Hey man ... by torpor · · Score: 5, Funny

    ... back off printf();

    I'm with you on everything else though bro'!

    --
    ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --