LigerMobile invites web developer skills to the app store party.

#ligerftw

Who We Are

  • Brad Marsh @bbqhacker
    • Front End/Web Development
  • John Gustafsson @flekkzo
    • iOS Development
  • Alec Plumb @etherwalker
    • Android Development
  • Robert Tomb @bikeonastick
    • utility

@ligermobiledevs

    What is LigerMobile?

    Hybrid app framework for mobile development.

    It began as a byproduct of the development of the new ReachLocal Edge mobile application.

        

    What is a Hybrid App?




    • Today, most hybrid apps make use of a single native webview to display the contents of an html file. 
    • The display is written and rewritten with DOM manipulations
    • The native app acts like a custom browser.

    Good Points of Hybrid



    • Single codebase for UI for both Android and iOS
    • Can make use of many custom/branded web components built for previous projects
    • Open up to development to more developers
    • Faster? (To market, yes)

    Bad Points



    • Non native menus, toolbars, anything else
    • Choppy or slow animations
    • Memory Leaks
    • Reinventing the wheel


    Our Solution



    Framework that includes:

    • Ability to use either native or HTML based pages
    • Conduit to maintain state between pages
    • Native (or HTML) menus
    • Toolbar with navigation help
    • Native animations for page transitions
    • Email and other native dialogs


    For this to Work

    We needed to take the exact opposite approach to the standard Cordova workflow.

    • Each page is its own small app
    • Pages could be html or, if you have the ability, native.
    • Data conduit and callbacks between pages allows for retention of state 

     

    It might be for you if…


    • Your app is merely the presentation layer for your API
    • Your app follows a fairly linear organizational flow
    • You’re looking to prototype parts of a bigger app and want to experience them on a device
    • You want a pre-packaged way to deliver some pages as html and some as native


    LigerMobile Repos


    https://github.com/reachlocal/liger

    https://github.com/reachlocal/liger-common

    https://github.com/reachlocal/liger-ios

    https://github.com/reachlocal/liger-android


    https://github.com/reachlocal/ligermobile-workshop


    Demo App

    BBC Mysteries

    • Display list of all upcoming shows
    • Display details of specific show
    • Display details of specific series
    • Display list of upcoming episodes in a series
    • Allow us to add and view favorites

    Structure of the Demo App

    • html files in root directory
    • LigerMobile specific files in /vendor
    • app specific files in /assets
    • Javascript structure /assets/js

      /assets/js          /libs           /pages          /common



      How the Tutorial Works

      • The Xcode project is set up
      • You will edit files in the app directory
      • Xcode is here to compile and run the simulator
      • Use your editor to create files in the locations specified
      • If you fall behind, use the git to check out a new step
      • John, Alec, and Robert are here to help - raise hands!

      Xcode tricks

      • Run - Command + r
      • clean - Shift + Command + K
      • Find / Open file - Command + Shift + O
      • Open file (dialog) - Command + o

      Code and Questions


      Feel free to interrupt at any time.


      1. Create a directory on disk 
      2. Open a terminal window
      3. git clone git@github.com:reachlocal/ligermobile-workshop.git


      follow along:

      https://github.com/reachlocal/ligermobile-workshop

      #ligerftw

      LigerMobile for SXSW

      By bikeonastick

      LigerMobile for SXSW

      Slides for introduction of LigerMobile at SXSW 2014

      • 1,733