Opa一站式Web应用开发语言

Opa是一种全新的Web开发语言,旨在简化Web应用开发过程,无需使用JavaScript、SQL或多层架构。该语言提供了从客户端到数据库访问的一站式功能,无需额外安装服务器或中间件。用户可以通过自动编译为JavaScript的部分代码在浏览器中运行,而其他部分在服务器端执行。Opa平台提供了一切所需组件,使得构建的Web应用异常紧凑,减少了繁琐的粘合代码、模板和冗余工作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文地址:http://www.infoworld.com/d/application-development/introducing-opa-web-dev-language-rule-them-all-172060?page=0,0&source=IFWNLE_jw_2011-09-13

一个全新的语言,注意,并非框架(像Rails,Grails),有了它,可以不用写js,不用写sql,不用n层的复杂架构,甚至部署也非常容易,因为这个叫Opa的语言,一站式,包含一切Web应用需要的东西。

开源协议:AGPL

优点:简单易学,一站式特性,适用于原型系统,要求不高的企业内部应用
缺点:一门新语言;封闭(view自动生成,持久化自动实现,)定制优化的可行性低;虽然本身开放源代码,但其开发语言是另一门更生僻的“OCaml”,需要扩展Opa你得先学它

In recent weeks, I've been fascinated with Opa, a new language that aims to eliminate all of the convoluted code-wrangling from Web application development. With Opa, you don't use one language to script your UI, another to code your business logic, and so on. Everything, from the client-facing code to the database access, is written in Opa.

Unlike with some rich Internet application (RIA) platforms, users don't need a browser plug-in to use Opa applications. The parts of your Opa code that need to run in the client browser are automatically compiled into JavaScript.

Other parts of your code run on the server, as appropriate. Here, Opa is unusual in that it's a truly all-in-one solution. Unlike most platforms, you don't need to install and maintain a stand-alone Web server, database server, application server, and middleware layer to get going. The Opa platform provides everything, from the Web server to the database server to the client- and server-side frameworks.

As a result, Web applications built with Opa can be incredibly compact. There's very little of the "glue code," boilerplate, and drudge work that characterizes most Web platforms. The sample application is a distributed Web-based chat client that comprises just 27 lines of Opa code. A full description of how to develop and deploy Web applications in Opa would be too long to include here, but I encourage you to browse the copious documentation available online.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值