3 ms·
I still, still, still don't understand why Node hasn't done in-line server-side Javascript. Give it a snazzy name. Maybe.. "Livewire". http://www.datacraft.co
by mark242 13y ago
I still, still, still don't understand why Node hasn't done in-line server-side Javascript.
Give it a snazzy name. Maybe.. "Livewire".
http://www.datacraft.com/livewire.html http://www.datacraft.com/livewire.html
- jeffasinger 13y agoI think the reason for this is that the industry in general has moved more to a MVC approach than this. No one wants to mix their server side code with HTML anymore. In fact, more and more, people want to delay the rendering of HTML until it hits the browser. I don't think it would be very hard to to rewrite livewire as node module though, if you were really interested in it.
- ilaksh 13y agoOf course its not part of core but certainly there are a number of modules for that although that's not especially popular these days. https://github.com/visionmedia/ejs https://github.com/visionmedia/ejs
- ubershmekel 13y agoYou have PHP for that.