Promising alternatives for the javascript framework?

Well-known JavaScript frameworks / libraries such as jQuery, MooTools, Prototype and YUI (to name some of the most popular JavaScript frameworks out there) certainly have a solid foundation in the JavaScript arena.

But for more adventurous developers looking for new or alternative frameworks / libraries, there are options such as:

Each has its own merits. But what is preferable for what?

+4
source share
1 answer

I think server-side javascript has an exciting future.

Things like node.js and jaxer can pave the way for an environment that makes a compelling argument for writing an application strictly in javascript. There is currently a lack of frameworks and a lack of shared javascript libraries (for things other than a DOM intersection;), but that can change.

I can’t say how many times I would like to not have to transfer the various bits of the model code to javascript or resort to RPC style queries, so I don’t repeat myself. I can transfer the drawUserVcard () function to javascript (say from Python) so that I can dynamically generate a vcard in the interface from json data, but then I have problems with consistency, because my ported code should keep track of the original Python result.

In addition to server-side operations, do not trust the client, most of the processing can be uploaded to the user. Why print HTML in Python / PHP / Ruby? In fact, none of these languages ​​have an API as good as jQuery for handling HTML. Why query a Python database only so that you can generate some json that you passed to your client scripts? Why not just read the json data directly (CouchDB) from the database and let the client dampen it.

There are so many opportunities for improvement.

+4
source

Source: https://habr.com/ru/post/1300704/


All Articles