PHP Classes

Suggestion: working examples of classes

Recommend this page to a friend!

      PHP Classes blog  >  2008 balance and 2009...  >  All threads  >  Suggestion: working examples of classes  >  (Un) Subscribe thread alerts  
Subject:Suggestion: working examples of classes
Summary:Provide a working demo online for classes
Messages:2
Author:John-Marc Ventimiglia
Date:2009-01-03 14:41:07
Update:2009-01-08 00:34:14
 

  1. Suggestion: working examples of classes   Reply   Report abuse  
Picture of John-Marc Ventimiglia John-Marc Ventimiglia - 2009-01-03 19:00:48
One thing I have always wished for was for the classes and their example files to be able to be viewed online as a working demo instead of having to download and install them.

  2. Re: Suggestion: working examples of classes   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-01-08 00:34:14 - In reply to message 1 from John-Marc Ventimiglia
Once in a while I get this same suggestion.

The problem with showing working demos is that the site would need to audit the demo code to prevent that it accesses security sensitive server side data.

Alternatively, the site allows the authors to submit links related to each package. Authors that have demos running in their sites can use that possibility to provide links to the demo pages.

The problem is that most authors do not demo pages at all or otherwise are not motivated to provide demos. Maybe there should be a package rating parameter to encourage authors to provide demo page links.