- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Xitrum: a Scala web framework
Mon, 2011-09-26, 18:29
Hi everyone,
I've just released version 1.2 of Xitrum web framework:
* Source: https://github.com/ngocdaothanh/xitrum
* Doc: http://ngocdaothanh.github.com/xitrum/
* Mailing list: https://groups.google.com/group/xitrum-framework
To give it a try, install SBT and g8 (https://github.com/n8han/
giter8), then run these commands:
g8 ngocdaothanh/xitrum
cd my_project
sbt run
Xitrum is lightweight. To see all its dependencies, run these commands
from the above directory:
sbt xitrum-package
ls target/xitrum/lib
To see a sample project:
https://github.com/ngocdaothanh/comy
Its screenshot (the Japanese UI is for demonstrating i18n feature):
http://tinyurl.com/3fcx98c
From README:
--------------------
Xitrum is an async and clustered Scala web framework and web server on
top of Netty and Hazelcast:
* It fills the gap between Scalatra and Lift: more powerful than
Scalatra and easier to use than Lift. You can easily create both
RESTful APIs and postbacks. Xitrum is controller-first like Scalatra,
not view-first like Lift.
* Annotation is used for URL routes, in the spirit of JAX-RS. You
don't have to declare all routes in a single place.
* Typesafe, in the spirit of Scala.
* Async, in the spirit of Netty.
* Sessions can be stored in cookies or clustered Hazelcast.
* jQuery Validation is integrated for browser side and server side
validation.
* i18n using GNU gettext.
* Conditional GET.
Hazelcast also gives:
* In-process and clustered cache, you don't need separate cache
servers.
* In-process and clustered Comet, you don't need a separate Comet
server.
--------------------
Xitrum is in usable form and has been used in several production
commercial projects. Please try it and give comments etc. so that I
can improve it.
Thanks,
Ngoc
Xitrum 1.3 has been released. CHANGELOG:
https://github.com/ngocdaothanh/xitrum/blob/master/CHANGELOG
Quick start: install SBT and Giter8, then
$ g8 ngocdaothanh/xitrum
$ cd my_project
$ sbt run
If there's error when running "g8 ngocdaothanh/xitrum", you may need
to upgrade Giter8 to the latest version from GitHub:
https://github.com/n8han/giter8
About Xitrum, please see README at:
https://github.com/ngocdaothanh/xitrum
Ngoc