News for hackers. Stuff that matters.
Re:PHP needs to die. What will replace it? by xtho on Monday September 27, 2010 @04:48PM (#1733348)
> "<? echo "Hello World"; ?>"

That's actually a good example for why it should die (embedding code in html).

Re:PHP needs to die. What will replace it? by phamilton on Monday September 27, 2010 @06:25PM (#1733745)
And what exactly is a .html.erb file? The erb stands for embedded Ruby if I'm not mistaken.
Re:PHP needs to die. What will replace it? by xtho on Tuesday September 28, 2010 @01:04AM (#1734635)
It's okay to use it for templates only (and the same is true for php if you use a sane framework). If you use erb files to quickly hack together a dynamic web-page I'd be wary though.