How To Dynamic Web Rendering?

Alexander aldem+dmars at nk7.net
Sat May 14 07:46:33 PDT 2011


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.

  Unfortunately, this is not really possible with D (or C, or C++ etc) - because the code needs to be compiled first, and that could be difficult to do if it is embedded into the page.

/Alexander


More information about the Digitalmars-d-learn mailing list