Login   Register  
PHP Classes

Malla: Draw entity-relationship diagram images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Oscar Miranda
Name: Oscar Miranda <e-mail contact>
Packages: 1 Browse all classes by Oscar Miranda Browse all classes by
Country: Colombia Colombia - PHP jobs in Colombia
Age: 34
All time rank: 171210 in Colombia Colombia
Week rank: 1316 Up10 in Colombia Colombia Equal
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This class is meant to generate images that present entity-relationship diagrams.

The entities are represented by rectangles with a text that represents its name. The relationships are represented by lines that connect the relationships rectangles.

The class models entity objects to which may be associated relationships to other entity objects.

The class can draw the entity rectangles in given coordinates of an images created with the GD library.

The relationship lines are drawn in coordinates determined automatically by the class from the respective entity coordinates. The class can also draw labels that are associated to each relationship.

The image can be outputted in any format supported by the GD library.

The supplied example generates clickable image maps that are linked to URLs associated to each entry. You need the TrueType font named tahoma.ttf in the fuentes directory. The example stores the generated image in the tmp sub-directory of the script directory.

The comments and the code are in Spanish.

  Classes of Oscar Miranda  >  Malla  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Malla
Base name: malla
Description: Draw entity-relationship diagram images
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1407 users
All time rank: 2515
Week users: 1 user
Week rank: 1813 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
June 2004
Number 2

Prize: One book of choice by SAMS
Entity-Relationship diagrams is a very common type graphics that is usually designed to document systems and help people understand how they are structured providing a visual representation of its elements and how they are related.

Entity-Relationship diagrams are often use to represent related classes of objects or database tables and the foreign keys that establish the relationships between them.

This class provides a means to draw Entity-Relationship diagrams based on details that define the entities and the relationship connections between them.

The class can simplify the generation of the diagramas by automatically creating a layout for the entities and generates images that can be used to enrich the documentation of the projects on which the represent entities are used.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Not sure (50.0%) Not sure (58.3%) - Not sure (58.3%) - - Insufficient (36.7%) 2189
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file ejemplo.php Example example
Plain text file entidad_img.inc.php Class Class
Accessible without login Plain text file README.txt Doc. Readme First, instructions

Download Download all files: malla.tar.gz malla.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.