How To Dynamic Web Rendering?
Nick Sabalausky
a at a.a
Sat May 14 12:48:44 PDT 2011
"Alexander" <aldem+dmars at nk7.net> wrote in message
news:iqm4ru$qj3$1 at digitalmars.com...
> On 13.05.2011 17:19, Adam D. Ruppe wrote:
>
>> It's *much* better, especially for rapid development. The compiler
>> will tell me if my changes anywhere break things anywhere else,
>> so I can modify with confidence.
>
> Sure, there are many pros. And one significant drawback - it couldn't be
> easily embedded into HTML code.
>
> Either, you have to generate all your pages from inside of CGI script, or
> use templates - but the main advantage of PHP is that you can mix it with
> page text.
>
That's not an advantage at all. That was considered an advantage of PHP (and
ASP) ages ago, but then web developers quickly discovered that was a
horrible, horrible thing to do and caused nothing but terrible code. Even
the PHP/ASP worlds have pretty much abandoned that, and for good reason.
More information about the Digitalmars-d-learn
mailing list