4 ms·
> "<? echo "Hello World"; ?>" That's actually a good example for why it should die (embedding code in html).
by xtho 16y ago
> "<? echo "Hello World"; ?>"
That's actually a good example for why it should die (embedding code in html).
- phamilton 16y agoAnd what exactly is a .html.erb file? The erb stands for embedded Ruby if I'm not mistaken.
- xtho 16y agoIt'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.