SUPPORT THE WORK

GetWiki

Opa (programming language)

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
Opa (programming language)
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki








weblink| operating_system = Linux, OS X, Windows| genre = Programming language
factoids
OCaml, Erlang (programming language)>Erlang, JavaScriptMIT License, Affero General Public License>AGPLv3opalang.org}}}}Opa is an open-source programming language for developing scalable web applications.It can be used for both client-side and server-side scripting, where complete programs are written in Opa and subsequently compiled to Node.js on the server and JavaScript on the client, with the compiler automating all communication between the two.WEB, Adam Koprowski,weblink Node.js vs. Opa: Web Framework Showdown, developer.com, 24 February 2012, Opa actually supports various server-side backends, Nodejs being the most popular one Opa implements strong, static typing, which can be helpful in protecting against security issues such as SQL injections and cross-site scripting attacks.JOURNAL,weblink Static Enforcement of Web Application Integrity Through Strong Typing, Robertson, William, Giovanni, Vigna, 2009, SSYM'09 Proceedings of the 18th conference on USENIX security symposium, The language was first officially presented at the OWASP conference in 2010,WEB, June 2010, OWASP,weblink OPA: Language Support for a Sane, Safe and Secure Web, at OWASP 2010, and the source code was released onGitHubWEB,weblink GitHub repository, in June 2011, under a GNU Affero General Public License. Later, the license changed to the MIT license for the framework part (library) and AGPL for the compiler so that applications written in Opa can be released under any license, proprietary or open source.

Design and features

Opa consists of a web server, a database and distributed execution engine.WEB,weblink Opa – The Scalable Open Source Cloud Language, WebAppers, 22 July 2011, Code written in Opa is compiled to JavaScript using Node.js on the server side and to JavaScript using jQuery for cross-browser compatibility on the client side.WEB,weblink InfoQ, Interview: François-Régis Sinot on Opa, a Web Development Platform, 7 September 2011, The advantage of the approach compared to certain Rich Internet Application (RIA) platforms is that users are not required to install a plugin in their browser.WEB, Neil McAllister,weblink InfoWorld, Introducing Opa, a Web dev language to rule them all, 8 September 2011, Opa shares motivations with web frameworks, but takes a different approach.WEB,weblink InfoWorld review: Tools for rapid Web development, InfoWorld, 12 May 2010, Its designers assert that this helps Opa to avoid many security issues, like SQL injections or cross-site scripting (XSS) attacks.WEB,weblink Auch Opa ist für Cloud-Anwendungen, Heise Online, 29 July 2011, The core language is functional and has a static type system with type inference. Opa also provides sessions which encapsulate an imperative state and communicate using message passing, similar to Erlang processes. Opa provides many structures or functions that are common in web development, as first-class objects,for instance HTMLWEB,weblink
publisher=i-Programmer parsers, based on Parsing Expression Grammars.KOPROWSKI, BINSZTOK URL=HTTP://WWW.LMCS-ONLINE.ORG/OJS/VIEWARTICLE.PHP?ID=708&LAYOUT=ABSTRACTPUBLISHER=LOGICAL METHODS IN COMPUTER SCIENCE, Because of this adhesion between the language and web-related concepts, Opa is not intended for non-web applications (for instance desktop applications).WEB,weblink Opa, un nouveau langage pour le développement d’applications Web, LinuxFr, French, 22 June 2011, The 0.9.0 release in February 2012 introduced database mapping technology for the non-relational, document-oriented database MongoDB, similar to object-relational mapping.WEB,weblink Hello, database, Opa Documentation, WEB,weblink Low-level MongoDB support, Opa Documentation, NEWS,weblink Programming Opa: Web development, reimagined, Computerworld, 1 February 2012, The 1.1.0 release in February 2013 also added support for PostgreSQL, paving the way for the support of several SQL databases.

Examples

Hello world

The traditional Hello world program, producing a web server that serves a static page with "Hello, web!" as its content, can be written in Opa as:WEB,weblink Opa, the cloud language – a test drive, 26 July 2011, Morgan Hill, Alastair Aitken, Server.start(Server.http,
{ title: "Hello"
, page: function() { Hello, web! }
}
)It can be compiled to a stand-alone executable JS file with:$ opa hello_web.opaRunning the resulting executable JS file launches the web application:$ ./hello_web.js

See also

  • Ur (programming language) - a functional programming language for web development
  • Dart - a Javascript alternative for web apps
  • Haxe - similar programming language for web apps
  • CoffeeScript - a programming language transcompiled to Javascript for web apps

References

{{Reflist}}

Bibliography

External links

  • {{Official website|opalang.org}}
{{JavaScript}}


- content above as imported from Wikipedia
- "Opa (programming language)" does not exist on GetWiki (yet)
- time: 2:43pm EDT - Thu, Apr 25 2019
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT