Skip to content

Building of a package

holyshared edited this page Jan 12, 2012 · 29 revisions

Building of a package

Here, the method of building of Presentation.js is explained.
Please choose the method of building appropriate for the purpose.

Presentation - Module list

Core

The core component of Presentation.js is contained.
It is a module which is certainly needed.

  • Presentation - Presentation

Filter

It is a filter module.
The contents filter was used and it is required for a case.

The method of creation of a filter should look at the tutorial of a filter.

  • Presentation.Filter - Filter

Helper

It is a helper module group.
The plug-in function of Presentation.js can be used.

The method of a helper creation should look at a helper tutorial.

  • Presentation.Helper - Helper
  • Presentation.Helper.Controller - Helper.Controller
  • Presentation.Helper.Keyboard - Helper.Keyboard
  • Presentation.Helper.Page - Helper.Page
  • Presentation.Helper.Swipe - Helper.Swipe

Utils

It is a utility module.
An auxiliary function is offered.

  • Presentation.FullScreen - FullScreen

Presentation.BootstrapPresentation.Bootstrap - Module list

The method of building

Build incorporating a standard function

  • Support of a full screen display - yes
  • Support of a contents filter. - yes
  • Support of a GUI controller - yes
  • Support of keyboard operation - yes
  • Support of the representational function of a page - yes
  • Support of swipe operation - no

The command of building

php packager build Presentation/Presentation Presentation/FullScreen Presentation/Filter Presentation/Helper Presentation/Helper.Keyboard Presentation/Helper.Page Presentation/Helper.Controller > presentation-standard.js

building for iPad

  • Support of a full screen display - yes
  • Support of a contents filter. - yes
  • Support of a GUI controller - yes
  • Support of keyboard operation - yes
  • Support of the representational function of a page - yes
  • Support of swipe operation - yes

The command of building

php packager build Presentation/Presentation Presentation/FullScreen Presentation/Filter Presentation/Helper Presentation/Helper.Swipe Presentation/Helper.Keyboard Presentation/Helper.Page Presentation/Helper.Controller > presentation-ipad.js

A bootstrap is used

  • Support of a full screen display - yes
  • Support of a contents filter. - yes
  • Support of a GUI controller - yes
  • Support of keyboard operation - yes
  • Support of the representational function of a page - yes
  • Support of swipe operation - no

The command of building

php packager build Presentation/FullScreen Presentation.Bootstrap/Filter Presentation.Bootstrap/Keyboard Presentation.Bootstrap/Page Presentation.Bootstrap/Controller > presentation-bootstrap-standard.js

A bootstrap is used (for iPad)

  • Support of a full screen display - yes
  • Support of a contents filter. - yes
  • Support of a GUI controller - yes
  • Support of keyboard operation - yes
  • Support of the representational function of a page - yes
  • Support of swipe operation - yes

The command of building

php packager build Presentation/FullScreen Presentation.Bootstrap/Filter Presentation.Bootstrap/Keyboard Presentation.Bootstrap/Page Presentation.Bootstrap/Controller Presentation.Bootstrap/Swipe > presentation-bootstrap-ipad.js

Clone this wiki locally