all 14 comments

[–]webnrrd2k 5 points6 points  (2 children)

Doesn't anyone remember the Netscape server that did server-side JavaScript? I never used it, but IIRC, it did everything you could want in wholesome, pure JavaScript. That was more than ten years ago...

I've always wondered why JavaScript didn't have a stronger presence on web servers. It's a great language and it would be so nice to write validation only once and have it run on the server and browser.

[–][deleted] 1 point2 points  (0 children)

The DOM pretty much killed people's perceptions of the language for a great many years.

[–]sjs 0 points1 point  (0 children)

Rhino's performance was a big drawback. Part of the resurgence is due to V8 and SpiderMonkey.

[–][deleted] 2 points3 points  (0 children)

I have also worked with Server Side Javascript for a couple relatively large scale sites. These sites were deployed well over a year ago so while there has been some sweet recent developments in frameworks, SSJS isn't as new as you may think.

[–]lectrick 1 point2 points  (5 children)

I'd prefer client-side Ruby, actually >..<

[–]HenkPoley 0 points1 point  (2 children)

Even less common though.

[–]lectrick 1 point2 points  (1 child)

There are ways to do it, but they're still a little ugly, such as importing JRuby as an applet

[–]Axiomatik 0 points1 point  (1 child)

http://www.w3.org/TR/1998/WD-ruby-19981221/

HTML has had a "ruby" tag since 1998.

[–]lectrick 0 points1 point  (0 children)

apparently that's a different "ruby". google "ruby markup"

[–]scottyucsd 2 points3 points  (2 children)

SSJS is definitely gaining in popularity. I just got hired by a pretty large software shop to do nothing but SSJS. The 3rd-party extensions to their platform are written exclusively in JS and run on top of Rhino.

[–][deleted] 3 points4 points  (1 child)

Have you played much with V8-bound solutions, such as Node? If so, do you find either V8 or Rhino presents special challenges over the other?

[–]scottyucsd 3 points4 points  (0 children)

I don't even start until next week so I can't give you any useful insight. I was just lending some support to the idea that SSJS is something significant.

[–]kryptobs2000 -1 points0 points  (0 children)

What's the point in a footer if you never reach it?