[Solved] Web-app using JS alone..?


Route 1 : Server-side JavaScript

node.js is server-side JavaScript. It’s still young but it’s great and perfectly usable. And if you’ve got a non-critical project I would recommend using it.

Here’s a list of js libraries I use for node.

Problems with Route 1 Lack of maturity, Lack of stress testing, Lack of detailed and expansive documentation / books / tutorials (docs/tutorials exist but there not at the level that PHP or ASP.NET is at).

Route 2 : Databases that expose themself through REST

couchdb has a REST API for database interaction by default. This means you can just set up your couch server and do database manipulation directly through client-side ajax calls. (You will need some kind of static file server).

There are plenty of tools like Backbone and EJS to make pure client side development manageable.

Problems with Route 2 Difficult to deal with security, difficult to deal with validation.

solved Web-app using JS alone..?