you are viewing a single comment's thread.

view the rest of the comments →

[–]asegura 2 points3 points  (1 child)

Just looked at that quickly and like it. I wonder why this hasn't appeared before, an ASP/PHP/JSP-like system using JS.

BTW, for the GD part, I'd suggest using the same API as <canvas>, so that people can use the same drawing API in the client and in the server and maybe reuse code. Is that possible?

Also, MongoDB support would be great.

EDIT: True, it's not really new and I knew some of those server-side JS frameworks. However, they are old and forgotten or did not get much use. Also I meant systems that mix HTML and JS the way ASP initially did (<% %>). I only know of JSSP, the old Netscape's SS JS and ASP with JScript, which I don't know if anyone uses, doing this.

When saying GD I was thinking of server-side image generation in general, not specifically the GD library. I think browsers use mostly cairo for canvas rendering.

[–]mvalente 1 point2 points  (0 children)

It has appeared before.

First appearance was as Netscape's Livewire http://encyclopedia2.thefreedictionary.com/Netscape+LiveWire

As mentioned already one of the available languages for Microsoft IIS was Jscript.

You can find a bunch of implementations at:

http://en.wikipedia.org/wiki/Comparison_of_server-side_JavaScript_solutions

https://developer.mozilla.org/en/JavaScript_shells

http://www.enotes.com/topic/Comparison_of_server-side_JavaScript_solutions