"Fossies" - the Fresh Open Source Software Archive

Member "ILIAS-5.4.9/src/UI/docu/rules.md" (24 Jan 2020, 16905 Bytes) of package /linux/www/ILIAS-5.4.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Jour Fixe Proposal to introduce a centralizes UI-Framework for ILIAS.

We suggest the following rules for the ILIAS UI framework. The UI framework currently is in a construction phase. The current form of the rules therefore represents the best effort for the current state of the framework. It therefore is likely that there will be additions to or refinements of the rules in the (near) future. Everyone using the rules is invited to critically reflect the rules and propose changes.

Basics

Processes

Introduction of new UI components

Modification of existing UI components

Rules for Consumers

Rules for Implementors

Interfaces to Factories

The interface to the main factory is .

Interfaces to UI components

The term Path means the chain of successive calls to methods of factories leading to the creation of a UI component and starting at the main factory.

Implementations of Factories

Implementations of UI components

Implementations of Renderers for UI components.

Locations of resources

The term ‘resources’ means templates, less, css or javascript code that is required to render a certain component.

There most propably will be changes in the handling of resources in the future, as the seems to be the need to introduce some common patterns for handling javascript or compiling css from different less files.

Examples