April 23, 2012

Only JS

The ability to develop application using simply JavaScript is an interesting advent, even though in certain arias the performance issues of an interpreted language or the exposure of business logics can prevent you from placing all that which is central to an application on the client side - there are many systems being built on top of  JavaScript with mentioning.

One, is of course, the node.js server side framework which enables you to write the server in JavaScript and is alls has a package system nmp liked to is similar to that of Linux distribution. 

Even more interesting are JavaScript libraries that include persistence and enable that on a cloud service, see for instance, persistencejs which enables you to work with ORM-style data queries both on the browser or the server.

Even more relevant is perhaps Racer which is one of the few libraries to truly realise the goal of running the same code on clients and servers. Another alternative to look into is batman.js which might be of interest just because you can use that name in a web application.

Finally, the last step is to go into something like Firebase which may completely eliminate database and web server for you and make you write web applications completely in client-side code. Of course, it runs off a cloud storage server which will cost you money or you can have Node.js instead on a server but the code in you application is independent of the server. "Firebase lets you create fully interactive apps with just HTML and JavaScript. No servers or server code required." 

No comments:

Post a Comment