A paper in the InfoGlue Series
InfoGlue - Developer Manual
Author: Mattias Bogeblad
Version 2.4.6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

© 2006 Formedia and Mattias Bogeblad. All rights reserved.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections. A copy of the license is included in the section entitled “GNU Free Documentation License”.
Sponsors
We wish to thank Nominet UK (especially Jay Daley) for sponsoring the creation and release of this document to the community. You can read more about Nominet UK on www.nominet.org.uk.

 

Note
All information in this document is the property of Formedia and Mattias Bogeblad. Use and distribution of the document, or of the information in it, is defined by the terms in the license “GNU Free Documentation License”.

 


Introduction............................................................................................... 13

Feedback..................................................................................................... 13

What is InfoGlue.......................................................................................... 14

What parts are there in InfoGlue.................................................................... 14

How does it work........................................................................................ 15

InfoGlue pages behind the curtain.................................................................. 16

The request/response cycle.......................................................................... 16

A page in detail........................................................................................... 17

Development process................................................................................. 19

Site/Page analysis...................................................................................... 19

Content types............................................................................................ 19

Template / Component-list......................................................................... 19

Tools........................................................................................................... 20

Built in tools............................................................................................. 20

HTML-editors.............................................................................................. 20

Velocity editor.......................................................................................... 20

Easy Edit.................................................................................................... 20

Building pages in InfoGlue......................................................................... 21

Basics about Page types............................................................................. 21

Basics about connecting content and other resources to pages........................... 23

Components................................................................................................ 24

Composite pattern...................................................................................... 24

Creating a component................................................................................. 24

Slots......................................................................................................... 24

Properties & bindings................................................................................... 24

How it looks............................................................................................... 25

API........................................................................................................... 28

Integration................................................................................................. 29

Simple integration via Iframes................................................................... 29

Simple integration via embedding................................................................ 29

Advanced integration via custom classes in velocity................................ 30

Tasks........................................................................................................... 31

Introduction............................................................................................... 31

Flow of a task............................................................................................ 31

Portlet development.................................................................................. 32

Step 1 – Create a Hello World Portlet.............................................................. 32

Step 2 – Package the portlet as a WAR-file....................................................... 34

Step 3 – Deploy the portlet in InfoGlue............................................................ 35

Step 4 – Use the portlet on a page though a component.................................... 36

Workflows in InfoGlue.............................................................................. 37

Introducing the My Desktop Tool............................................................... 37

OSWorkflow - The Workflow Engine........................................................... 38

Managing workflow definitions in InfoGlue................................................ 38

Creating workflows................................................................................... 39

Views........................................................................................................ 39

The Property Set........................................................................................ 39

Actions...................................................................................................... 40

Function providers, populators and other helper classes..................................... 42

Example workflow definition..................................................................... 43

Example View.............................................................................................. 47

Common patterns........................................................................................ 49

Building a basic page.................................................................................. 50

How to manage style (CSS)