package fobo
Welcome to FoBo - A Modular Front-End Toolkit module for Lift
The net.liftmodules.fobo Package is the starting point for this API. The FoBo modules Github home is here
What FoBo will do for you
The FoBo/FoBo module gives you quick and easy integration of some of the industry leading web-centric open source front-end toolkits. FoBo is highly modular, all FoBo toolkit modules are built up of a resource module and possibly a FoBo/Lift API module. You can depend on the FoBo/FoBo module to get access to all FoBo's toolkit/resource/api modules or you can pick the module(s) you need, for example, just the bootstrap API module where you provide your own resources or you may chose any combination of modules.
Usage benefits:
- Due to uniform declaration and integration points across toolkit versions only a small amount of changes is needed for a up/down-grading of a used Toolkit/resource, optimally, if the toolkit has no breaking changes it will just be a version change of the init param in Lift bootstrap.liftweb.Boot.
- The module provides debug-able js and css files in development and minimized files otherwise.
- FoBo is simultaneously supporting several versions of each toolkit which makes development, maintenance, upgrade and fall-back quick and easy.
- Most of the FoBo toolkit modules provides a API sub-module with Snippet helpers and lib classes that will ease you from writing some commonly used toolkit component integration scripts making it a simple snippet invocation.
- Great responsive scalability with responsive toolkits.
- FoBo strives to be highly modular. FoBo is built up by independent toolkit/resource/api module artifacts that can be used independent of the FoBo/FoBo assembly module.
FoBo supported toolkits/resources
The following is a list of available toolkits resources
- JQuery [v1.7.2, v1.8.2, v1.9.1, v1.10.2, v1.11.3, v.2.1.1, v.2.1.4, v2.2.4, v3.0.0, v3.1.0] net.liftmodules.fobojq
- JQueryMigrate [v1.2.1, v1.4.1, v3.0.0] net.liftmodules.fobojq
- Bootstrap v4.x series [v4.0.0] net.liftmodules.fobobs4
- Bootstrap v3.x series [v3.0.1, v3.1.1, v3.2.0, v3.3.7] net.liftmodules.fobobs
- Bootstrap v2.x series [v2.3.2] net.liftmodules.fobotb
- Font Awesome [v3.2.1, v4.0.3, v4.1.0, v4.3.0, v4.5.0, v4.7.0] net.liftmodules.fobofa
- Google Code Prettify [vJun2011] net.liftmodules.fobogcp
- Highlight JS [v9.3.0] net.liftmodules.fobohl
- Pace [v0.4.15, v1.0.2] net.liftmodules.fobopa
- Angular JS [v1.0.6, v1.2.11, v1.2.19, v1.3.15, v1.4.1, v1.4.8, v1.5.3] (angular core modules) net.liftmodules.foboajs
- Angular UI Bootstrap [v0.2.0, v0.7.0, v0.10.0, v2.5.0] (angular component) net.liftmodules.foboajs
- Angular NG-Grid [v2.0.4, v2.0.7] (angular component) net.liftmodules.foboajs
- Angular UI-Grid [v3.0.7] (angular component) net.liftmodules.foboajs
- Angular Material design [v0.10.0, v1.0.8, v1.1.1, v1.1.4] (angular component) net.liftmodules.foboajs
- Popper [v1.12.9]
- Tooltip [v1.1.4]
Help out!
There is a lot more that can be done within the boundaries of the FoBo API modules and the FoBo modules as a hole so your help, suggestions, encouragement, engagement, patches (pull requests) bug-fixes/reports are highly appreciated.
Setup
- This module has published artifacts for Lift v3.1 and v3.0 and it's supported Scala versions. Older versions of FoBo also supports Lift v2.4/v2.5/v2.6
- For a introduction to FoBo see FoBo introduction
To initiate this module for usage in your Lift project set something like the following in your projects Lift bootstrap.liftweb.Boot boot method. Here the FoBo ToolkitObjectNameXYZ represent one of FoBo's available FoBo Toolkit objects.
import net.liftmodules.fobo : : fobo.Toolkit.init=fobo.Toolkit.JQueryXYZ //the fobo jquery module, version xyz fobo.Toolkit.init=fobo.Toolkit.ToolkitObjectNameXYZ //one or more fobo toolkits fobo.Toolkit.init=fobo.Toolkit.ToolkitObjectNameXYZ
You may substitute Toolkit for Resource or API and if you wish also adjust the artifact dependencies accordingly to include just the FoBo modules you use, but if size is not a issue using the FoBo/FoBo module is convenient and gives you a lot to pick from.
- Version
v2.0
- Alphabetic
- By Inheritance
- fobo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed
trait
API extends AnyRef
Initiate a toolkit's associated FoBo API in you bootstrap liftweb Boot.
Initiate a toolkit's associated FoBo API in you bootstrap liftweb Boot. You should use this if you want to use FoBo's API for the toolkit but want to provide the toolkit resources yourself.
import net.liftmodules.fobo : fobo.API.init=fobo.API.[API Object]
Note: To see available objects click on the round trait icon in the header of this page.
Example: -
sealed
trait
Resource extends AnyRef
Initiate the toolkit's associated resources in you bootstrap liftweb Boot.
Initiate the toolkit's associated resources in you bootstrap liftweb Boot. You should use this if you only want to initiate the FoBo provided toolkit resources but not the FoBo API associated with the toolkit.
import net.liftmodules.fobo : fobo.Resource.init=fobo.Resource.[Resource Object]
Note: To see available objects click on the round trait icon in the header of this page.
Example: -
sealed
trait
Toolkit extends AnyRef
Initiate FoBo's Toolkit(s) in you bootstrap liftweb Boot.
Initiate FoBo's Toolkit(s) in you bootstrap liftweb Boot. Using the Toolkit initiation you will bring in both the toolkit's resources and if present the FoBo API associated with the toolkit.
import net.liftmodules.fobo : fobo.Toolkit.init=fobo.Toolkit.[Toolkit Object]
Note: To see available objects click on the round trait icon in the header of this page.
Example: