links

AuthorThe Links Team <links-dev@inf.ed.ac.uk>
LicenseGPL-2
Homepagehttp://www.links-lang.org
Issue Trackerhttps://github.com/links-lang/links/issues
MaintainerJan Stolarek <jan.stolarek@ed.ac.uk>
Dependencies
&ANSITerminal
base64
cgi
cohttp
deriving
linenoise
lwt
ocamlfind
websocket-lwt
Optional dependencies
|mysql
postgresql
sqlite3
Availableocaml-version >= "4.04.0"
PublishedSep 25, 2017
Source [http] https://github.com/links-lang/links/archive/v0.7.1.tar.gz
684202c361b2a3cb9b17730e5b02f9b3
StatisticsInstalled 10 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/links/links.0.7.1/opam

Links is a functional programming language designed to make web programming easier.

Links eases building interactive web applications with significant client- and server-side components.

A typical, modern web program involves many "tiers": part of the program runs in the web browser, part runs on a web server, and part runs in back-end systems such as a relational database. To create such a program, the programmer must master a myriad of languages: the logic is written in a mixture of Java, Python, and Perl; the presentation in HTML; the GUI behavior in Javascript; and the queries are written in SQL or XQuery. There is no easy way to link these, for example, to be sure that an HTML form or an SQL query produces the type of data that the Java code expects. This problem is called the impedance mismatch problem.

Links eases the impedance mismatch problem by providing a single language for all three tiers. The system generates code for each tier; for instance, translating some code into Javascript for the browser, some into a bytecode for the server, and some into SQL for the database.

Links incorporates proven ideas from other programming languages: database-query support from Kleisli, web-interaction proposals from PLT Scheme, and distributed-computing support from Erlang. On top of this, it adds some new web-centric features of its own.

No package is dependent