Tierless web framework with Javascript?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 14:04:50

I've read a little about Jaxer: http://jaxer.org

I believe NowJS fulfills the criteria for a tierless JS web framework.

You want node.js or bikechain.js @getify calls it the middle-end to have javascript executed on both the server side and client side for the same results. A good example of use is validation. Why write it in two languages when you can write it once in JS and have to run on both the client and the server.

See: http://blog.getify.com/2010/07/how-to-begin-your-middle-end/

And: http://blog.getify.com/2010/07/why-node-js-rocks-the-middle-end/

Most of the languages mentioned here actually generate JavaScript for the client-side and some also for the server-side.

Meteor and NodeJS can be seen as tierless frameworks, but in my opinion they doe not 100% satisfy the definition of a tierless language. In a true tierless language one should not need to think in terms of client and server, but just in terms of a program. Most tierless languages nowadays require one to annotate pieces of code to mark the distribution, like in Links, Opa, ML5, Hop etc.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!