06.24
12

Opa 1.0 – JavaScript-framework with a strong static typing

by admin ·

Presented by the first release of the framework Opa 1.0. Opa authors consider it one of the most complex and powerful JavaScript-frameworks in existence: it includes a complete implementation of a stack of opportunities JavaScript, enhanced support for static typing and provides full support for Node.js and MongoDB. Code licensed under the framework is available Affero GPL .

This framework can also be used as a standalone programming language: an application being written to the Opa, will be automatically checked on the quality of its code, and then can be automatically generated for similar functionality JavaScript-application. All major aspects of Web development at any level of complexity was originally implemented in this framework: this is sample code frontend and backend, the generation of database queries and options for various model configurations. The developers claim that the development of Opa spent over 100 man-years, not taking into account the code, which was donated by third parties invested projects and research laboratories.


The main features of Opa:

  • AJAX and COMET-calls with a transparent JSON-serialized;
  • generation of HTML;
  • definition of the model using data;
  • generate queries to the database (currently only for MongoDB);
  • support for event-oriented approach to non-blocking architecture;
  • built-in parsers and generators;
  • framework uses a strict static typing;
  • paid much attention to security issues;
  • fast compiler implemented in OCaml.At the end of this summer’s planned release of the next version – Opa 1.1, which will improve the standard library and API, to extend the error messages in the output of the compiler and improve performance Node.js-backend. The developers also say they want to make Opa de facto framework for all corporate JavaScript-applications.

Tags: , , , ,

Leave a Reply