Web App Development Workflow

This page outlines the steps to develop web apps for webOS Open Source Edition (OSE).

External Web Apps

To develop an external web app, the Command-Line Interface (CLI) tool is used.

In general, the steps described in CLI Workflow are applied.

For a step-by-step tutorial, see Developing External Web Apps.

Built-in Web Apps

Developing a built-in web app requires the following steps:

  1. Implement

    • Writing the web app code in HTML (including index.html), CSS, and JavaScript
    • Preparing README.md that describes the project
  2. Configure

    • Configuring the app metadata file (appinfo.json)
    • Configuring the CMake build script (CMakeLists.txt)
  3. Build

    • Writing a recipe to build the app on the Yocto build environment
    • Configuring the local source directory
    • Building the app
  4. Run and verify

    • Installing and running the app on the target
    • Verifying the app functionality
  5. Deploy

    • Adding the app to the webOS OSE build recipe
    • Building the webOS OSE image
    • Flashing the image to the target

For a step-by-step tutorial with detailed instructions, see Developing Built-in Web Apps.