ghcjs-hplay: Client-side web EDSL for transient nodes running in the web browser

[ library, mit, web ] [ Propose Tags ]

Client-side Haskell framework that compiles to javascript with the GHCJS compiler and run over Transient. See homepage


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2, 0.3, 0.3.1, 0.3.2, 0.3.4, 0.3.4.2, 0.4.1, 0.4.2
Dependencies base (>4.0 && <6.0), bytestring, containers, directory, ghcjs-base, ghcjs-perch (>=0.3.3), mtl, transformers, transient (>=0.5.1), transient-universe (>=0.4.1) [details]
License MIT
Author Alberto Gómez Corona
Maintainer agocorona@gmail.com
Category Web
Home page https://github.com/transient-haskell/ghcjs-hplay
Bug tracker https://github.com/transient-haskell/ghcjs-hplay/issues
Source repo head: git clone http://github.com/agocorona/ghcjs-hplay
Uploaded by AlbertoCorona at 2017-03-05T19:41:56Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5411 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-05 [all 1 reports]

Readme for ghcjs-hplay-0.4.2

[back to package description]

Hackage Stackage LTS Stackage Nightly Build Status

ghcjs-hplay

For some examples, see the transient-examples repository: distributedApps.hs and webapp.hs

The source code can be executed in the commmand line if you have docker installed.

Gitter

ghcjs-hplay is also the Web user interface of Transient.

Unlike his predecessor, hplayground, ghcjs-hplay has full integration with Transient and can run widgets that run code on the server, the client or both.

To see how it integrates with Transient and how to create client-server applications, see the web paragraphs of the transient tutorial.

To see how to create client side applications and widgets (with no server code integration), look for hplayground package. Tutorial

Plans:

ghchs-hplay is in the process of becoming a Server-side as well as Client-side library for creating Web application. The last release support page templates for the creation of server-side content.

In the future it will manage routes in the server side besides client side, and will generate dinamic HTML content in the server as well as in the client.