Skip to content

cfontes/play-scala-backbone-todo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play 2.1 Scala Todo list on Backbone and Slick

A Todo list application built on Play Framework, Slick, Backbone, RequireJS, CoffeeScript, Less and Dust using the H2 in-memory database.

Features

  1. Setup Play routes and methods to interact with Backbone CRUD.
  2. Shows use of Play JSON Objects / Reads / Writes / Formatters.
  3. Renders based on successful Backbone synced calls to the database.
  4. Grouping of Models, Collections, Views etc. in the app object.
  5. RequireJS Play structure and setup with shim.
  6. Uses Dust js renderer and template loading.
  7. Has front and backend validation returning JsObjects.
  8. In-line editing from Play Framework Zentasks sample application.

Changelog

November 18, 2013 (3.0)

  • Updated to Play 2.2.1
  • Now using latest Dust play-dustjs
  • Updated play-slick to 0.5.0.8 - latest for Play 2.2.x
  • Added build.sbt and removed Build.scala file
  • Updated TodoController to use DBAction with new parser built-in
  • Updated Todo Model to use new DAO separation component
  • Updated tests to use PlaySpecification
  • Updated todo js module to use new bindAll from Underscore with concat functions
  • Updated javascript file versions

September 3, 2013

  • Updated to Play 2.1.3
  • Updated play-slick to 0.4.0 - latest for Play 2.1
  • Added implicit sessions to models removing the withSessions
  • Added an example of using DBAction then grabbing the request as json with validation
  • Added an example of using a json body parser to retrieve the request then using DB withSession
  • Updated tests to use session

July 29, 2013

  • Added DBType text for content column.

July 25, 2013 (2.0)

  • Now using Slick via play-slick instead of anorm.
  • Using Slick via DB with session instead of DBAction for now.
  • Removed evolution, now using Slick DDL generation.
  • Removed reads and writes, now using format since Option Long is used instead of PK.
  • Added selenium / fluentlenium tests.
  • Move Require JS shim configuartion options to main.
  • Removed domReady using jQuery ready now.

License

MIT: http://jmparsons.mit-license.org - @jmparsons

About

Built on Play Framework, Slick, Backbone, RequireJS, CoffeeScript, Less and Dust using the H2 in-memory database.

Resources

Stars

Watchers

Forks

Packages

No packages published