Giter Club home page Giter Club logo

fobo-demo's Introduction

FoBo-Demo

Stories in Ready

Sandbox projects for FoBo demos/articles/tutorials.

  • fobo-angular-lift-roundtrips -- A Lift 3 round trip tutorial with FoBo, AngularJS and Slick.
  • fobo-lift-template-demo -- The main introduction to FoBo pages.
  • pimping-lift_advanced_bs4 -- A for demo purpose slightly pimped lift_advanced_bs4
  • pimping-lift_advanced_bs3 -- A for demo purpose slightly pimped lift_advanced_bs3
  • pimping-lift_advanced_md -- A lift template app using Angular Material Design
  • fobo-angular-sandbox -- sandbox for FoBo angular stuff (status: just some randome unmaintaned stuff)
  • fobo-bs3-sandbox -- A WIP FoBo bootstrap 3 demo/tutorial (status: just some random unmaintaned stuff)

Most of the demos above kan be seen running via links at FoBo Template Demo

Quick Start

The only prerequisites for running a FoBo demo 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 Eclipse and IDEA plug-in for browsing and following/working with the code, see the [Scala IDE Support] section bellow.

  1. Clone this project

    git clone https://github.com/karma4u101/FoBo-Demo.git cd FoBo-Demo

  2. Start the sbt console There is also a sbt.bat for windows users so if you are on a windows machine just substitute the ./sbt command with sbt.bat.

     ./sbt 
    
  3. View and switch to sub project

     > projects  
     > project [sub project name as shown in list from the 'projects' command]
    
  4. Update & Start Jetty The following commands will update and fetch the projects dependencies then start the jetty server and load the lift application.

    ~jetty:start

  5. Launch Your Browser Launch your favorite browser and type in the following address to bring up the application.

    http://localhost:8080/

  6. Stop Jetty When you are done or wish to switch to another sub project (3 above) you can stop Jetty with

    jetty:stop

Scala IDE Support

###Eclipse

Sbteclipse provides SBT command to create Eclipse project files

  1. Usage

To create a eclipse project containing one of the sbt sub projects:

project$ ./sbt
    > project [sub project name as shown in list from the 'projects' command]
> eclipse 

or if you wish to create a "one in all" eclispe project:

project$ ./sbt
> eclipse 
  1. In eclipse do:

    File ==> Import... Select General ==> Existing Project into Workspace Use "Browse" to look up the project root ....

IDEA

sbt-idea provides a gen-idea command to SBT to generate IDEA project files

  1. Usage

    project$ ./sbt

    gen-idea no-classifiers

Or creating from a sub project project> ./sbt > project [sub project name as shown in list from the 'projects' command] > gen-idea no-classifiers

  1. In Intellij / IDEA do:

    File ==> Open... Select project root directory

For further information, see both the plugin docs on github and stackoverflow responses:

https://github.com/mpeltonen/sbt-idea
http://stackoverflow.com/questions/4250318/how-to-create-sbt-project-with-intellij-idea

fobo-demo's People

Contributors

karma4u101 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fobo-demo's Issues

Build a list-group menu example with collapsible sub menus.

Build a "manually" assembled list-group menu (without using any pre-built FoBo snippet) to show how it can be done using FoBo's BS v3 support.
When or if the list-group snippet is extended with this functionality show a example using this approach.

Using/setting Lift Props in resources/properties/default.props causes a NoClassDefFoundError

Geronimo 3 and NoClassDefFoundError org/w3c/dom/ElementTraversal

Using/setting Lift Props in resources/properties/default.props causes a NoClassDefFoundError org/w3c/dom/ElementTraversal on application start when used in the Geronimo 3 application server.

The problem seems to be related to specific xml-apis.jar versions some posts indicates that xml-apis-1.4.01 should work as it includes ElementTraversal (other/older versions do not).

Google search:
java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal petersson.peter

Reminder:
Check dependency tree for transient pulld in xml-apis versions to see if there may be a version clash problem. Check geronimo 3 xml-apis version (is it endorsed?)

NP in MD Sign Up page

On Ubuntu 16.04 comiled with java 7 or java 8, Scala 2.11.7
When accessing Sign Up page we get a nullponterexception using Matreial Design v1.1.1 Lift 3.0 RC3.

Error when running ./sbt: [error] (FoBo-Demo/*:update) sbt.ResolveException: unresolved dependency: net.liftmodules#fobo_2.6_2.11;1.4-SNAPSHOT: not found

Hello,

I cloned this repo, and ran the ./sbt command - this resulted in the following error:

info] Resolving net.liftmodules#fobo_2.6_2.11;1.4-SNAPSHOT ...
[warn]  module not found: net.liftmodules#fobo_2.6_2.11;1.4-SNAPSHOT
[warn] ==== local: tried
[warn]   /Users/shafiquejamal/.ivy2/local/net.liftmodules/fobo_2.6_2.11/1.4-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/net/liftmodules/fobo_2.6_2.11/1.4-SNAPSHOT/fobo_2.6_2.11-1.4-SNAPSHOT.pom
[warn] ==== snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/net/liftmodules/fobo_2.6_2.11/1.4-SNAPSHOT/fobo_2.6_2.11-1.4-SNAPSHOT.pom
[warn] ==== staging: tried
[warn]   https://oss.sonatype.org/content/repositories/staging/net/liftmodules/fobo_2.6_2.11/1.4-SNAPSHOT/fobo_2.6_2.11-1.4-SNAPSHOT.pom
[warn] ==== releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/net/liftmodules/fobo_2.6_2.11/1.4-SNAPSHOT/fobo_2.6_2.11-1.4-SNAPSHOT.pom
[info] Resolving jline#jline;2.12 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: net.liftmodules#fobo_2.6_2.11;1.4-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: net.liftmodules#fobo_2.6_2.11;1.4-SNAPSHOT: not found
    at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:213)
...
    at java.lang.Thread.run(Thread.java:745)
[error] (FoBo-Demo/*:update) sbt.ResolveException: unresolved dependency: net.liftmodules#fobo_2.6_2.11;1.4-SNAPSHOT: not found

Would you have any suggestions on how to fix this?

Thanks,

Add v1.7 API documentation (as latest)

The FoBo Lift Template Demo currently has API v1.6 documentation.
Make the documentation link in the menu a drop-down that holds both v1.7 (as latest) and v1.6

Move to https resources

Switch current http based resources to https.
Updates in modules (verified == checked)

  • fobo-lift-template-demo v2.1.1-SNAPSHOT
  • fobo-angular-lift-roundtrips
  • pimping-lift-advanced-bs3
  • pimping-lift-advanced-bs4
  • pimping-lift-advanced-md

Avoid cashing clashes

As FoBo demo has sub project with different versions of resources with the same name (for example bootstrap v3 and v4) we need to avoid cashing clashes.

Bootstrap v4.0

Add bootstrap v4.0 support

  • Create a lift-advanced_bs4 demo
  • Convert the lift template demo from bootstrap v3 to v4.0
  • Update text and links on front page
  • Update to latest FoBo supported bootstrap version
  • Update to latest FoBo supported Font Awesome version

Update documentation for v2.0

Update the demos to reflect the FoBo v2.0 usage.

Checklist

  • Roundtrips
  • Advanced MD
  • FoBo demo
  • Advanced Bs3
  • Advanced Bs4
  • FoBo demo FoBo API documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.