happstack-yui: Utilities for using YUI3 with Happstack.

[ bsd3, deprecated, happstack, library, web ] [ Propose Tags ]
Deprecated

Bundles YUI 3.7.3 and includes a "combo handler" for use in Happstack which concatenates YUI modules server-side to send in a single HTTP request. The YUI bundle can be embedded in compiled code with Template Haskell (install with -fembed) which means the files are served directly from memory, and also that you can compile and deploy a single executable without having to worry about deploying the YUI files as well.

The benefits of using this over the Yahoo! CDN is that you can work offline and that you can host YUI yourself without sacrificing the benefits of "combo loading".

The versioning scheme of this package is that the first part is the targeted Happstack series plus the bundled YUI version, such that 7351 means "Happstack 7, YUI 3.5.1". The second part is the major version of this package itself, as defined by the Package Versioning Policy.

The package also includes some utilities for working with the YUI CSS modules and for using HSX to create YUI Node objects with JMacro. In a future release, the plan is to add more utilities, for example a combo handler for YUI modules written using JMacro, tools for making it easier to work with modules like Uploader and Pjax and a quasi-quoter for compile-time syntax checked YQL queries.

For an example application, see: https://github.com/dag/happstack-yui/blob/master/demo/happstack-yui-demo.hs

Modules

[Last Documentation]

  • Happstack
    • Server
      • Happstack.Server.YUI

Flags

Automatic Flags
NameDescriptionDefault
embed

Embed the YUI bundle in compiled code.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 7351.0.0, 7351.1.0, 7351.2.0, 7351.3.0, 7351.4.0, 7351.4.1, 7360.4.1, 7371.5.0, 7372.5.1, 7373.5.2, 7373.5.3
Dependencies base (>=4.3 && <4.7), boomerang (>=1.3 && <1.4), bytestring (>=0.9 && <0.11), containers (>=0.4 && <0.6), directory (>=1.1 && <1.2), file-embed (>=0.0 && <0.1), happstack-jmacro (>=7.0 && <7.1), happstack-server (>=7.0 && <7.2), hsp (>=0.7 && <0.8), interpolatedstring-perl6 (>=0.9 && <0.10), jmacro (>=0.5 && <0.6), mtl (>=2.0 && <2.2), pretty (>=1.1 && <1.2), template-haskell (>=2.5 && <2.9), text (>=0.11 && <0.12), web-routes (>=0.27 && <0.28), web-routes-boomerang (>=0.27 && <0.28), web-routes-happstack (>=0.23 && <0.24), web-routes-th (>=0.21 && <0.23) [details]
License BSD-3-Clause
Author
Maintainer dag.odenhall@gmail.com
Category Web, Happstack
Home page http://hub.darcs.net/dag/yui/browse/happstack-yui
Source repo head: darcs get http://hub.darcs.net/dag/yui
Uploaded by DagOdenhall at 2012-10-20T17:19:36Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 8663 total (35 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-23 [all 8 reports]