Enyo: A Brief Tour

Thanks for checking out Enyo! This document will help you familiarize yourself with how the framework is organized and what each piece offers.

In a given Enyo release, you will find the following folders:

Enyo

The core of the framework, known simply as enyo in the source code, provides powerful features that enable complex applications and add-on libraries that build on the Web stack in a modular way:

These pieces are actually separable (it's easy to make micro-builds of Enyo), but we believe they form a useful working set, so we provide them together as the Enyo core.

Everything else described below is an optional package built on top of the core. You may choose to include these à la carte to fit your application's needs. However, these are only reference libraries for what we envision will be a large ecosystem of add-on libraries that bring different look and feel, layout options, service wrappers, etc. Check out the Enyo Community Gallery to see just how easy it is to create and share new components and add-on libraries.

Moonstone

The Moonstone library provides a toolbox of beautifully-styled UI components for building applications. Specially designed and optimized for TV-based apps, Moonstone is ever-expanding, and currently includes the following:

Onyx

Onyx, the original UI library that shipped with the Enyo framework, remains the library of choice for mobile device apps. While Moonstone has generated most of the publicity recently, new Onyx development is also in the works. We encourage you to check out the Onyx source, and stay tuned.

Spotlight

The Spotlight library manages focus state, enabling users to navigate through Enyo applications in either 5-way mode (using the directional arrow and Return keys on a keyboard, or the corresponding buttons on a traditional television remote control) or pointer mode (using a mouse or touchscreen).

Layout

While Enyo components may be laid out using pure HTML/CSS techniques, we have provided a Layout library that gives you easy-to-use, performant, cross-browser compatible containers for your common layout needs:

You can read up on these layout options here.

enyo-ilib

The enyo-ilib library provides localization support for the Enyo framework. The heavy lifting is done by the open-source iLib library; enyo-ilib is essentially a compatibility layer, making it easy for Enyo app developers to access the powerful features of iLib without having to deal with messy, locale-specific details.

enyo-dev

The enyo-dev module contains tools to help you throughout the development process, from quickly initializing an application project to packaging the app for distribution to end users.

Read more about enyo-dev here.

Canvas

Enyo's encapsulation model works for structuring canvas-based components just as well as it does for traditional UI elements. canvas is a library that abstracts common canvas primitives as Enyo components.

Please note that canvas is intended mainly as a demonstration, rather than a complete tool for canvas manipulation. There are no changes or additional features planned.

Additional Reading

There are several paths you can take to ramp up as an Enyo developer. A few suggestions: