Upgrade to Pro — share decks privately, control downloads, hide ads and more …

tvOS app development using TVMLKit and Grails

tvOS app development using TVMLKit and Grails

Slides Deck of GR8Conf EU 2017 by Sergio del Amo

Sergio del Amo

June 01, 2017
Tweet

More Decks by Sergio del Amo

Other Decks in Programming

Transcript

  1. tvOS app
    development
    using
    TVMLKit and
    Grails
    objectcomputing.com/grails

    View full-size slide

  2. objectcomputing.com/grails
    http://sergiodelamo.es
    Sergio del Amo
    @sdelamo

    View full-size slide

  3. objectcomputing.com/grails
    http://guides.grails.org

    View full-size slide

  4. AGENDA
    What is TVMLKit?
    Building an app
    with TVMLKit and
    Grails

    View full-size slide

  5. EXAMPLE APPS

    View full-size slide

  6. EXAMPLE APPS

    View full-size slide

  7. EXAMPLE APPS

    View full-size slide

  8. EXAMPLE APPS

    View full-size slide

  9. EXAMPLE APPS

    View full-size slide

  10. What is TVMLKit?
    Native Experience
    XML and Javascript
    Configurable
    Extensible
    Not a Web Browser

    View full-size slide

  11. Building an App
    with TVMLKit
    Xcode
    TVML and Styles
    TVMLKit JS

    View full-size slide

  12. Application
    Architecture
    TVMLKIT

    View full-size slide

  13. Application
    Architecture
    TVMLKIT

    View full-size slide

  14. Application
    Architecture
    TVMLKIT

    View full-size slide

  15. TVML and Styles
    Markup to define styles
    Templates have default style
    Customize appereance with styles

    View full-size slide

  16. // Document XML Structure



    <br/><!-- custom styles --><br/>





    View full-size slide

  17. Apps which let people
    browse, interact with,
    and consume
    catalogues of content in
    a simple, consistent but
    unique way
    TVMLKit Apps
    CRUD

    View full-size slide

  18. Markup Views are
    written in Groovy, end
    with the file extension
    gml and reside in the
    grails-app/views
    directory.
    Markup Views
    http://views.grails.org/latest/#_markup_views

    View full-size slide

  19. The Asset-Pipeline is a
    plugin used for managing
    and processing static
    assets in JVM applications.
    Includes processing and
    minification of both CSS
    and JavaScript files.
    Asset-Pipeline

    View full-size slide

  20. TVML Grails Plugin
    Media Item Domain Class + CRUD
    Resources Utils
    TVMLValidator
    https://github.com/sdelamo/grails_plugin_tvml

    View full-size slide