You are previewing Enyo: Up and Running, 2nd Edition.
O'Reilly logo
Enyo: Up and Running, 2nd Edition

Book Description

Discover how easy it is to design and build responsive, cross-platform apps with the Enyo open source JavaScript framework. With this revised and expanded edition, Enyo contributor Roy Sutton gets you started with the framework’s core object-oriented features, including its modular design, reusable and extensible components, layout and widget libraries, easy-to-use deployment options, and support for HTML5 standards.

Table of Contents

  1. Preface
    1. Where Did Enyo Come From?
    2. Core Beliefs
    3. What’s Enyo Good For?
    4. Who Is This Book For?
    5. Minimum Requirements
    6. Typographic Conventions
    7. Using Code Examples
    8. Safari® Books Online
    9. How to Contact Us
    10. Acknowledgments
    11. Content Updates
      1. January 8, 2015
  2. 1. Light It Up
    1. A New Project
    2. Improvements
    3. Curveball
    4. QA on the Line
    5. The E-mail
    6. Summary
  3. 2. Core Concepts
    1. Introduction
    2. Kinds
      1. Be Kind
    3. Encapsulation
      1. Properties
        1. Basic Properties
        2. Bindings and Observers
      2. Events
      3. Advanced Events
      4. Final Thoughts on Encapsulation
    4. Inheritance
    5. Advanced Kinds
      1. Instance Constructors
      2. Statics
    6. Summary
  4. 3. Components, Controls, and Other Objects
    1. Components
      1. Composition
      2. Component Methods
      3. Dynamic Components
    2. Controls
      1. Core Controls
      2. Onyx Controls
      3. Moonstone Controls
      4. Methods and Properties
    3. Other Important Objects
      1. Application
      2. Router
      3. Animator
      4. Ajax and JsonpRequest
    4. Community Gallery
    5. Summary
  5. 4. Layout
    1. Responsive Design
    2. Core Layout Features
      1. Scrollers
      2. Repeaters
    3. Layout Library Features
      1. Fittable
      2. Lists
      3. Panels
    4. Summary
  6. 5. Writing Data-Driven Applications
    1. Models
    2. Collections
    3. Computed Properties
    4. Data-Aware Components
    5. Fetching Remote Data
    6. Putting It All Together
    7. Summary
  7. 6. Fit and Finish
    1. Styling
      1. Styles and Classes
      2. Overriding Onyx Styles
      3. Less Is More
    2. Performance Tuning
    3. Debugging
      1. Layout Issues
      2. Code Issues
    4. Going Global
      1. Globalization Basics
      2. Names, Dates, and Measures
    5. Summary
  8. 7. Deploying
    1. Bootplate App Structure
    2. Web Targets
    3. Desktop Targets
    4. Smart Devices
      1. PhoneGap Build
      2. Local Cordova Builds
    5. webOS Smart TVs
    6. Summary
  9. 8. Conclusion
  10. A. Setting Up a Development Environment
    1. Prerequisites
      1. Node.js
      2. Git
    2. Installing Enyo
      1. Bootplate
      2. Full Source
      3. Using the webOS Developer Tools
    3. Using Bootplate
      1. Using Grunt
  11. About the Author
  12. Colophon
  13. Copyright