PHP Classes
elePHPant
Icontem

cDWF: Render workflow diagrams in HTML or Flash

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (20)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-05-05 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 844 This week: 1All time: 3,859 This week: 1,104Up
Version License PHP version Categories  
cdwf 1.0BSD License5.0HTML, PHP 5, Graphics, Flash
Description Author  

This class can render workflow diagrams in HTML or Flash.

It takes as parameters the details of workflow boxes and connections between them.

The class can generate HTML with JavaScript to render the workflow diagram in an HTML canvas or as a GIF image.

It can also generate a Flash file using the Ming extension to display the same diagram in Flash.

Innovation Award  
PHP Programming Innovation award nominee
May 2011
Number 4


Prize: One subscription to the PDF edition of the PHP Architect magazine
Diagrams are useful to represent visually relationships between different entities.

Workflow diagrams represent visually different steps of a process and how you go from one step to another.

This class provides a generalized solution in PHP to render workflow diagrams which can be outputted in different formats like HTML and Flash, so they can be rendered with good looks in different browsers.

Manuel Lemos
Picture of Omar Ortiz
Name: Omar Ortiz <contact>
Classes: 5 packages by
Country: Mexico Mexico
Age: 45
All time rank: 6537 in Mexico Mexico
Week rank: 131 Up3 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Details provided by the author  
This Class is made to generate workflow charts (directed graphs with a unique beggining and an unique end. 
Prerequisites:
* This class was tested with php 5.2.9-1, en Apache 2.2,  must work with PHP 5.x
* To generate HTML is required the following  js libs:
  1- excanvas.js (just for IE)
  2- jquery.jsPlumb-1.2.5-all-min.js
  3- jquery-1.4.2.min.js 
  4- jquery-ui-1.8.2.custom.min.js
* To generate Gif is required:
  1- GD lib installed 
  2- any TTF font (not included)
* To generate  Flash is required:
  1- Ming  lib installed
  2- any FDB font (not included)

Installation:
Unpack in your webserver and add the fonts files (for gif or flash) in same directory or set the proper path with setFuente() method

Clase para generar diagramas de workflows, es decir grafos dirigidos que tienen un inicio y un fin
rerequisitos:
* Se probó con php 5.2.9-1, en Apache 2.2, debería funcionar en PHP 5.x
* Para generar HTML requiere las librerias de js
  1- excanvas.js (solo si se usa en IE)
  2- jquery.jsPlumb-1.2.5-all-min.js
  3- jquery-1.4.2.min.js 
  4- jquery-ui-1.8.2.custom.min.js
* Para generar Gif se requiere:
  1- librería GD instalada 
  2- alguna fuente TTF (no incluida)
* Para generar Flash requiere:
  1- Librería Ming instalada
  2- alguna fuente FDB (no incluida)

Installation:
Desempaca en el webserver y agrega las fuentes (para gif o flash) en el mismo directorio o ajusta la ruta con el método setFuente()
  Files folder image Files  
File Role Description
Files folder imagedocs (6 files, 2 directories)
Accessible without login Plain text file jquery.jsPlumb-1.2.5-all-min.js Data javascript lib
Accessible without login Plain text file jquery-ui-1.8.2.custom.min.js Data javascript lib
Accessible without login Plain text file jquery-1.4.2.min.js Data javascript lib
Accessible without login Plain text file excanvas.js Data javascript lib (only for IE)
Accessible without login Image file diagrama.swf Output Example file
Accessible without login Image file diagrama.gif Output Example file
Accessible without login Plain text file ejemplo1.php Example Example file
Plain text file cDWF.php Class class file
Accessible without login Plain text file Readme.txt Doc. Readme File

  Files folder image Files  /  docs  
File Role Description
Files folder imageCDWF (2 files)
Files folder imagemedia (3 files)
  Accessible without login HTML file classtrees_CDWF.html Doc. Documentation
  Accessible without login HTML file elementindex.html Doc. Documentation
  Accessible without login HTML file elementindex_CDWF.html Doc. Documentation
  Accessible without login HTML file errors.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file li_CDWF.html Doc. Documentation

  Files folder image Files  /  docs  /  CDWF  
File Role Description
  Accessible without login Plain text file cDWF.html Doc. Documentation
  Accessible without login Plain text file _cDWF.php.html Doc. Documentation

  Files folder image Files  /  docs  /  media  
File Role Description
  Accessible without login Plain text file layout.css Data Documentation
  Accessible without login Plain text file print.css Data Documentation
  Accessible without login Plain text file style.css Data Documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:844All time:3,859
 This week:1This week:1,104Up
 User Comments (1)