Live data from Hacker News

Ask HN: Best server-side Javascript framework

news.ycombinator.com

11–20 of 23 posts

Re: Ask HN: Best server-side Javascript framework

#11

Just to get it out there, the current 800lb gorilla of Node.js webframeworks is Express: http://expressjs.com/guide.html That said, I think we're all still waiting for the real JS Application framework to appear. For better or for worse, Express is more or less a Sinatra clone for static pages. I'm hoping to see a true end-to-end JS system emerge sometime in 2011: one that provides models that can run on both the cli…

I'm working on some of that with my platform (which isn't done yet), but I'm pushing out a couple of products on it.

https://github.com/mathgladiator/win

Re: Ask HN: Best server-side Javascript framework

#12
post #4

If you haven't already seen this list, make sure to check it out: https://github.com/ry/node/wiki/modules

D, Definitely had seen that, but, as with all things server-side-javascript, I'd been a bit confused both by the number of choices and by the number of defunct-ish projects. I'll dig into it again. Definitely is seeming as though I oughta look at node.js again...

At this point, node is young enough and close enough to the ground, so to speak, that you can copy / paste / implement a lot of things yourself.

I'd take a look at node-static for file serving, and journey for JSON routes. Thingler.com is built with those pieces, I believe. You can read the article about it over here: http://www.couchone.com/case-study-thingler

Edit: Cloudhead wrote all the above things, and is also the author of lesscss.org, which you may have heard of.

Also, make sure to keep an eye out for example folders in github repos, as they are generally super helpful.

Also also, stop into #node.js, as they are super nice :)

Re: Ask HN: Best server-side Javascript framework

#13

Just to get it out there, the current 800lb gorilla of Node.js webframeworks is Express: http://expressjs.com/guide.html That said, I think we're all still waiting for the real JS Application framework to appear. For better or for worse, Express is more or less a Sinatra clone for static pages. I'm hoping to see a true end-to-end JS system emerge sometime in 2011: one that provides models that can run on both the cli…

J, Hadn't really noticed that feeling of not-quite-there-yet, but you summed up my feelings about node.js frameworks pretty well. (This is where someone tells me to start developing it myself...) I'll check into Express again and see if it's getting to the point where it's reasonable for a neophyte such as myself to invest in learning it and helping to develop it.

Also check out:

https://github.com/tuxychandru/grasshopper

Re: Ask HN: Best server-side Javascript framework

#14
Rhino itself is very slow. Sometimes it is 50-100 times slower than node. You can check it by running some of benchmarks from V8 suite in node and Rhino runtimes (just save .js files and redefine listeners in the runner code): http://v8.googlecode.com/svn/data/benchmarks/v5/run.html

While Java provides many solid and useful frameworks, you may have difficulties with them if you're not a Java guy.Node's module base, on the other hand, is very variegated and the code is awful sometimes (and lacks any documentation except README). But Node community is very responsive and open. Finding help with Java maybe a very complicated task.

Re: Ask HN: Best server-side Javascript framework

#15
post #14

Rhino itself is very slow. Sometimes it is 50-100 times slower than node. You can check it by running some of benchmarks from V8 suite in node and Rhino runtimes (just save .js files and redefine listeners in the runner code): http://v8.googlecode.com/svn/data/benchmarks/v5/run.html While Java provides many solid and useful frameworks, you may have difficulties with them if you're not a Java guy.Node's module base, o…

please don't make such general statements about some program being X times slower then another program :|

you will not get good performance and easy scalability for free - no matter which tools you choose.

also see: RingoJS vs. Node.js: Runtime Values http://hns.github.com/2010/09/21/benchmark.html and the follow up http://hns.github.com/2010/09/29/benchmark2.html

Re: Ask HN: Best server-side Javascript framework

#16
post #15
post #14

Rhino itself is very slow. Sometimes it is 50-100 times slower than node. You can check it by running some of benchmarks from V8 suite in node and Rhino runtimes (just save .js files and redefine listeners in the runner code): http://v8.googlecode.com/svn/data/benchmarks/v5/run.html While Java provides many solid and useful frameworks, you may have difficulties with them if you're not a Java guy.Node's module base, o…

please don't make such general statements about some program being X times slower then another program :| you will not get good performance and easy scalability for free - no matter which tools you choose. also see: RingoJS vs. Node.js: Runtime Values http://hns.github.com/2010/09/21/benchmark.html and the follow up http://hns.github.com/2010/09/29/benchmark2.html

I performed mentioned tests by myself while doing a tech research for online gaming startup. The code for V8 benchmarks is open, and it is very generic, so you can easily perform tests by yourself and see the difference.

Re: Ask HN: Best server-side Javascript framework

#17
post #10

Ringo is fine. The number of add-on frameworks is probably so small because Ringo came bundled with a web-framework. But it will be removed from the core within the next releases. And additional frameworks for Ringo are already appearing, like https://github.com/hns/stick or the proprietary http://erbix.com platform

Erbix launched the first server-side JavaScript Marketplace (https://secure.erbix.com/marketplace). The apps and libraries within the first apps developed by Erbix team are GPLed. They also use many other open source libraries (check out the source code and app descriptions).

There's virtually no proprietary library in Erbix. The backend Single-Sign-On module will be launched openly soon.

Virtually any open sourced app on Erbix Marketplace will run on RingoJS as well.

Re: Ask HN: Best server-side Javascript framework

#18
post #14

Rhino itself is very slow. Sometimes it is 50-100 times slower than node. You can check it by running some of benchmarks from V8 suite in node and Rhino runtimes (just save .js files and redefine listeners in the runner code): http://v8.googlecode.com/svn/data/benchmarks/v5/run.html While Java provides many solid and useful frameworks, you may have difficulties with them if you're not a Java guy.Node's module base, o…

RingoJS is not slow. We use it in the Erbix backend, running a separate Rhino/RingoJS engine for each account. It's really stable, fast, multi-threaded.

We use it in conjunction with PostgreSQL JDBC driver, serving large source code files, rendering templates written in JavaScript, static files upload/download, etc.

http://www.erbix.com is an Erbix app running on a standard Erbix account.

Re: Ask HN: Best server-side Javascript framework

#19
post #9

What don't you like about Ringo's programming model? I've found the community to be very helpful, despite it's relatively small size.

I agree. I've just met the RingoJS developers at the RingoJS meetup in Vienna. Very impressed!

The RingoJS/Helma team should make it more clear about how committed they are to the development of future RingoJS libraries. RingoJS will benefit from more contributors but it's doing just fine already.

Use the discussions group to find out more: http://groups.google.com/group/ringojs.

Re: Ask HN: Best server-side Javascript framework

#20
post #18
post #14

Rhino itself is very slow. Sometimes it is 50-100 times slower than node. You can check it by running some of benchmarks from V8 suite in node and Rhino runtimes (just save .js files and redefine listeners in the runner code): http://v8.googlecode.com/svn/data/benchmarks/v5/run.html While Java provides many solid and useful frameworks, you may have difficulties with them if you're not a Java guy.Node's module base, o…

RingoJS is not slow . We use it in the Erbix backend, running a separate Rhino/RingoJS engine for each account. It's really stable, fast, multi-threaded. We use it in conjunction with PostgreSQL JDBC driver, serving large source code files, rendering templates written in JavaScript, static files upload/download, etc. http://www.erbix.com is an Erbix app running on a standard Erbix account.

If you are running Apache Tomcat (or anything based on Coyote), as I can see from headers, you are _already_ serving slower than Node. Just because Tomcat needs more time to parse and return the response than Node. Only Jetty with NIO connector has comparably high speed. (Yes, I've tested by myself).

And, JFYI, you have to move static content to nginx or lighthttpd, Coyote serves static files even worse than Apache web server.

All you say about functionality of the platform has no relation to the speed.

Post reply on HN