Web-app using JS alone..?
What are the possibilities that i can create a web-app using JavaScript alone and nothing else..
can you provide a full stack of useful JavaScript开发者_JAVA技巧 libraries and tools..?
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.
It is possible, although rather difficult. Have a look at TiddlyWiki, I guess it's an example of an application you might be interested in looking at.
ExtJS is one. But you might need to us AJAX
精彩评论