PHP Classes

SVG Debug: Generate debug output documents in SVG

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 628 This week: 1All time: 5,040 This week: 560Up
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: 49
All time rank: 1195 in Spain Spain
Week rank: 109 Up5 in Spain Spain Equal
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:628
This week:1
All time:5,040
This week:560Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:60%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2912