Application Skeletons

The easiest way to get started with an ESP application is to use one of the ESP application skeletons. Skeletons are integrated starter packages for ESP applications. Skeletons typically include default web pages, layouts, partial pages, stylesheets, scripts and required dependent packages for an easy, one-step launch of your web application.

Popular Skeletons

Package NameDescription
esp-html-skeletonESP application skeleton for HTML5 MVC applications using server-side view pages.
esp-angular-skeletonESP application starter skeleton for client-side AngularJS Applications.

Skeleton Documentation

Each skeleton should include documentation in its README file. Clicking on the package in the Catalog listing will take you to the repository for the package and display the package README. For example, click on esp-html-skeleton in the catalog.

esp-html-skeleton

The esp-html-skeleton is a complete skeleton for building HTML5 MVC applications with server-side page views. The skeleton configures ESP and Expansive and provides:

The skeleton supports debug and release modes of operation via the pak.mode property in the package.json file. By default, debug mode will select minified scripts with symbol map files, otherwise unminified versions will be used. Release mode will minify scripts as required.

See the esp-html-skeleton Git Repository for more details and documentation.

esp-angular-skeleton

The esp-html-skeleton is a skeleton for building AngularJS applications with client-side views in a Single-Page-Architecture (SPA) application. using Angular, ESP, Expansive, Less stylesheets and RESTFul URL routes. The skeleton configures ESP, Angular, Expansive and provides:

The skeleton supports debug and release modes of operation via the pak.mode property in the package.json file. By default, debug mode will select minified scripts with symbol map files, otherwise unminified versions will be used. Release mode will minify scripts as required.

See the esp-angular-skeleton Git Repository for more details and documentation.

Upgrading Skeletons

Skeletons install default content that may then modified and customized to suit your individual needs and tastes. As such, when you upgrade a Skeleton, it must take care not to overwrite any of your changes. Layouts, partial, and content pages will not be upgraded when you run pak upgrade to upgrade your installed packages. If you must upgrade to a more recent version of the skeleton, create a new application and manually migrate the upgraded files.

© Embedthis Software, 2003-2015. All rights reserved.