examples icon indicating copy to clipboard operation
examples copied to clipboard

Mordernizing demo

Open karma4u101 opened this issue 7 years ago • 2 comments

LIFT DEMO MODERNIZING

This PR is about modernizing the lift demo by moving it from Lift v2.5 to Lift v3.3 and making it responsive and more mobile friendly.

At this point Scala/Lift files code has been ported to Lift v3.3 and most template files has been converted from XHTML syntax to HTML5 backed by Lift's CSS Selector Transforms.

The layout (design) is now responsive and uses Bootstrap v4, the look is similar to the original.

Note: The app is runnable so you are welcome to check it out and give feedback.

Progress so far (may be lagging) can also be seen at http://www.media4u101.se/demo/.

This PR will eventually (if all goes well) replace the Lift v2.5 based content at https://demo.liftweb.net/

Notable changes/updates

  • Moving from Lift v2.5 to Lift v3.3
  • Usage of webjars to serve front-end resources (bootstrap4, font-awesome, jquery, ...).
  • Usage of FoBo's bootstrap4 API module to provide some bootstrap4 enabled snippets (Navbar, breadCrumb, ...) and functions (BSLocInfo).

Sections (checked equals ~done)

  • [x] Home
  • [x] Interactive
  • [x] Persistence
  • [x] Templating
  • [x] Web Services
  • [x] Localization
  • [x] Menus
  • [x] Wiki HomePage
  • [x] Misc code

Additional improvements

Interactive Stuff

Need help with JSON Messaging and More JSON pages / functions.

Persistence

The Templating page has been removed as it relies on BindHelpers that is no more in Lift v3 need to look in to this to see if it makes sense to rewrite and add it back.

karma4u101 avatar Nov 08 '17 18:11 karma4u101

I found this PR really useful in reviving a derelict Lift app of mine - thanks! The demo works great (sbt jetty:run). The progress demo link http://www.media4u101.se/demo/ isn’t available (nor is the related FoBo one http://www.media4u101.se/fobo-lift-template-demo/).

nezda avatar Jul 01 '19 12:07 nezda

God to hear that you found it useful,

yes my server is down and has been for a couple of weeks now as I (and my family) have been buzzy moving to a new location. I will eventually get around to set it up again ;)

best regards Peter

Den mån 1 juli 2019 kl 14:01 skrev Luke Nezda [email protected]:

I found this PR really useful in reviving a derelict Lift app of mine - thanks! The demo works great (sbt jetty:run). The progress demo link http://www.media4u101.se/demo/ isn’t available (nor is the related FoBo one http://www.media4u101.se/fobo-lift-template-demo/).

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/lift/examples/pull/4?email_source=notifications&email_token=AAF3LJYUSZBDYVIRT7B53RTP5HWZBA5CNFSM4EC3LNEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY54ZEY#issuecomment-507235475, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF3LJ2H7F4PKVGMSCGO3BLP5HWZBANCNFSM4EC3LNEA .

karma4u101 avatar Jul 01 '19 13:07 karma4u101