Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mordernizing demo #4

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

Mordernizing demo #4

wants to merge 36 commits into from

Conversation

karma4u101
Copy link
Member

@karma4u101 karma4u101 commented Nov 8, 2017

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)

  • Home
  • Interactive
  • Persistence
  • Templating
  • Web Services
  • Localization
  • Menus
  • Wiki HomePage
  • 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.

WIP This is a first commit on the way from 2.5 to Lift 3.1.
At this point we have moved to 3.1 but some scala files is remed and awaits porting to 3.1.
The new layout is now responsive and uses Bootstrap v4 but the look is stil simular to the original.
ToDo's is plenty, see Notes.md for more info.
WIP This is a first commit on the way from 2.5 to Lift 3.1.
At this point we have moved to 3.1 but some scala files is remed and awaits porting to 3.1.
The new layout is now responsive and uses Bootstrap v4 but the look is stil simular to the original.
ToDo's is plenty, see Notes.md for more info.
Work done on 'Home', 'Interactive Stuff', 'Persistence'
and 'Templating' sections up to 'Templating Embed'
Work done mostly on templating and web services sections.
Making mobile view of messages more readable by adding lift
messages to the top of the page.
Replacing deprecated and removed scala code with
css selector alternatives, plus some rendom cleanup.
Adding font awesome v5.5.0 using it's svg images.
Makes Lift version and build information shown in the app
work again.
@karma4u101 karma4u101 self-assigned this Jan 6, 2019
Cleaner nav css and formating cleanup.
@nezda
Copy link

nezda commented Jul 1, 2019

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/).

@karma4u101
Copy link
Member Author

karma4u101 commented Jul 1, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants