This is work in progress! You can take a peek at it right now but i suggest you also check back later for a better experience.
This example is now using the FoBo - Lift Front-End Toolkit Module
The intention of this example is to show some of Lifts templating features in conjunction with the front-end toolkit ZURB/Foundation and in particular fondations reactive semi-liquid, mobile-scaling grid.
One of Lift's many great features is its clean and flexible templating system. For convenience and to give some styling to Lift and it's templates Lift comes by default, at this writing, bundled with blueprint as hooked up CSS framework here you will see blueprint replaced by foundation which lets you utilize a very powerful reactive web design with mobile scalability.
This unofficial* example is intended for those of you who need some compact and concise running and mostly ;) simple to follow example of a particular feature or concept in Lift.
After many years of Java EE development I started look at Scala/Lift in May 2011 so there may be some none "best practice" stuff in there and if you find something you think could be done in a more Scala/Lift fashion please let me know.
Improvements, contributions and suggestions are welcome!
best regards Peter Petersson
The only prerequisites for running this Lift example is that you have Git and Java installed and configured on the target computer. You don't need to use it but the project also includes a Eclipse plug-in for browsing and following/working with the code, see the Scala IDE section.
-
Get the examples
git clone [email protected]:karma4u101/Reactive-Templating-With-Foundation.git cd Reactive-Templating-With-Foundation
-
Update & Run Jetty
There is also a sbt.bat for windows users.
./sbt update ~container:start
-
Launch Your Browser
###Database backend
For demonstration purpose and easy setup this example uses a in memory database.
Sbteclipse provides SBT command to create Eclipse project files
-
Usage
project$ ./sbt
eclipse
-
In eclipse do:
File ==> Import... Select General ==> Existing Project into Workspace Use "Brows" to look up the project root ....
(*) This is a unofficial Lift user powered basic assembly example which means it is a work based on the sound foundation of Lift and done by a developer who uses Lift for development ;), sharing it with others.