This is a web application library based on Scala, Play and ReactiveMongo.
Xcala provides helpers for various parts of web development.
Provides base functionality for CRUD operations, support server side pagination, data criterias, localization, etc.
Provides base components for rendering HTML pages, like:
- Bootstrap input renderes
- Master-detail input structures
- MVC-friendly grid view with sort and pagination
- etc.
Provides base functionality for building CRUD data services, server side pagination, data criterias, GridFS, tree structures, decorators, etc.
Extending existing classes and objects:
- BSON helpers like
DateTime
,BigDecimal
,Range
, etc BSON handlers - Play
Form
helpers forBSONObjectID
and other things - Other helpers
Models used in other part of Xcala.
Other useful utilities.
activator compile
activator publish-local
libraryDependencies += "com.xcala" %% "xcala-play" % "0.3"
I haven't published Xcala into maven repositories yet. Because it's still under development and it's easier for me to use
publish-local
. Please let me know if there are simpler ways ;)
- Project structure is like a Play application while it's a library and should be improved
- Data services are hardly-coupled to Play config which should be decoupled