Controlling Component Placement in Custom Kinds

6 BY sugardave

In this article, I want to share how you can help ensure that your custom kind’s components are contained where you want them to be.

Let’s start with the following example: Here is a kind that is simply a VFlexBox with a Header (for a header), a Scroller (for holding whatever gets added later), and a Toolbar (for a footer):
Read more

Extending Enyo HTML5 Support

4 BY devrel

Developers building applications with webOS 3.0 are enjoying the benefits of the Enyo framework. Enyo is HP’s JavaScript-based framework for building mobile web applications which abstracts the complexities of building features like web service access, localization and complex user interfaces into mobile applications away from the developer. At the same time, mobile developers are increasingly using HTML5 specific features like video, audio, canvas, to name a few, in their applications.

Fortunately, webOS is built on a WebKit engine with strong HTML5 support. HTML5 development for webOS is thus supported by default. Furthermore, the Enyo framework allows developers to take advantage of these HTML5 features in their webOS applications. However, not all supported HTML5 elements are wrapped with convenient Enyo kinds “out of the box.” But it is relatively easy for developers to extend Enyo’s HTML5 support. In this article we explore how to extend Enyo to integrate HTML5 features that are not part of the Enyo framework.

Read more