PHP Classes

SVG Debug: Generate debug output documents in SVG

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-11-12 (11 years ago) RSS 2.0 feedStarStarStar 47%Total: 617 All time: 4,785 This week: 1,142Up
Version License Categories  
svgdebug 1.0GNU General Publi...HTML, XML, Debug
Description Author  

This class provides a simple way to generate SVG files that contain debugging information during the execution of a script.

The debugging information that is outputted includes the time and the values of variables passed to the class.

The class can generate multiple SVG files to fit all the information that is stored, as well HTML files that can be used to view the generated SVG files.

Innovation Award  
PHP Programming Innovation award nominee
November 2004
Number 4

Prize: One copy of DWeb Pro Lifetime License
SVG is standard XML based format specified by the W3 Consortium to describe vectorial graphics documents.

Since vectorial graphics can be rescaled smoothly without loosing details, it is ideal for tasks that require changing the dimensions of the graphics, like for instance, adjusting the size of the graphics to show them in larger screens or even printing them in high resolution printers.

This class presents an uncommon but interesting application of the generation of SVG documents, that is outputting PHP application debugging information in real time, making it possible to read or print immediately.

Manuel Lemos
Picture of Rafael de Pablo
Name: Rafael de Pablo <contact>
Classes: 3 packages by
Country: Spain Spain
Age: 41
All time rank: 1165 in Spain Spain
Week rank: 593 Down14 in Spain Spain Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file svgdebug.php Class Main Class
Accessible without login Plain text file testsvgdebug.php Example Test Script

 Version Control Unique User Downloads Download Rankings  
 0%Total:617All time:4,785
 This week:0This week:1,142Up
 User Ratings  
 All time