vietj / ceylon-cayla

A web framework for Ceylon
39 stars 8 forks source link

Cayla 0.2.6 : a web framework for Ceylon

Provides a programming model for the Ceylon language and make good use of Ceylon.

Build on top of

Current deployed version 0.2.6, read the module Documentation.

Building current master

ceylon compile cayla

Testing current master

ceylon compile --source test-source test.cayla
ceylon run test.cayla/0.2.6

Example

ceylon compile --source=examples-source examples.cayla

Hello World

A simple page with a form.

run with

ceylon run --run=examples.cayla.helloworld.run examples.cayla/1.0.0

Chuck Norris

Display a Chuck Norris fact retrieved from a Rest service.

run with

ceylon run --run=examples.cayla.chucknorris.run examples.cayla/1.0.0

Parameters

Some examples showing http request routing with parameters.

run with

ceylon run --run=examples.cayla.parameters.run examples.cayla/1.0.0

Proxy

A simple web proxy.

run with

ceylon run --run=examples.cayla.proxy.run examples.cayla/1.0.0

Rythm Engine

Example of Rythm engine integration

run with

ceylon run --run=examples.cayla.rythm.run examples.cayla/1.0.0