DlhSoft Project Management Hyper Framework Documentation
Project Management Hyper Framework contains JavaScript® components such as TaskManager:
·
TaskManager component is used to
manage and schedule a list of task items (objects) provided by the
developer through the items collection.
The task item properties are presented below:
- tag: The object that represents the task item externally, usually the task name or identifier;
- indentation: The hierarchy is based on the indentation level values of the tasks, so that a task with a lower index in the collection and having a specific indentation
level will become the parent task for the tasks with a higher index in the collection and having an increased indentation level;
- start, finish, completedFinish, isMilestone;
- assignments: The assignments collection defines assignment items (objects) referring external resource objects, and optionally specific allocation
units set up; the assignments item properties are presented below:
- resource: Resource object that the current item is assigned to;
- allocationUnits: Indicates an optional assignment percent (value between 0 and 1, 1, i.e.
100% by default);
- predecessors: The predecessors collection defines predecessor items (objects) referring the task items that the current
item depends of, and having the relations used internally for computing/updating task start and finish date and times based on its defined dependencies; the predecessor item properties
are presented below:
- item: Task item that precedes the owner of the predecessor item (the item that the current item depends of);
- dependencyType: Indicates the type of the dependency; supported values are: FinishStart
(default value), StartStart,
FinishFinish,
or StartFinish;
- lag: Indicates an optional lag of the dependency (in milliseconds).
Structure
The root
assemblies and types that the
library includes are listed below:
HTML
Core (DlhSoft.ProjectData.HTML.Core)
assembly:
- TaskManager component (DlhSoft.Data namespace);
HTML
Core Extras (DlhSoft.ProjectData.HTML.Core.Extras)
assembly:
- TaskManager.ProjectSerializer component (DlhSoft.Data namespace).
Get Started
To add references
to the library
assemblies within your HTML solution project, please follow these steps:
- Add tags to the Head section
of your HTML document using
this syntax:
<script src="[Assembly].js" type="text/javascript"></script>
- Initialize components using initialize methods available in specific component namespace
JavaScript® APIs:
var instance
= Namespace.Type.initialize([...]);
- Finally, execute further actions whenever needed by calling the methods available from the initialized component instance.