leomindez / ceylon-examples-web

Simple example of using the JVM and the JS backends for a web project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Ceylon example project

This project contains a demo web application named ceylon.demo.net that contains both a server-side part and a client-side part. Both are written in Ceylon but one will be compiled for the JVM backend and act as the server while the other will be compiled to JavaScript for use in the client's browser. The project structure is as follows:

- README               # This file
- source/...           # The example's Ceylon source files
- web-content/...      # The example's HTML files, stylesheets, images and 3rd party JS libraries
- .config/...          # The place for Ceylon-specific configuration files
- ceylonb[.bat]        # THe Ceylon bootstrap script for running Ceylon without having it installed

Compiling the project

To compile the project you can run the following command (you can ignore any warnings):

./ceylonb compile,compile-js

Running the project

And to run the project we simply run:

./ceylonb run

About

Simple example of using the JVM and the JS backends for a web project


Languages

Language:Ceylon 52.0%Language:HTML 18.6%Language:Batchfile 15.1%Language:Shell 9.7%Language:JavaScript 3.0%Language:CSS 1.5%