clv-vmware / canviz

Automatically exported from code.google.com/p/canviz
0 stars 0 forks source link

Make first example JavaScript only; no PHP #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current example uses PHP on the server side to build the list of graphs and 
to compress the 
xdot files, but this introduces complexity (users must set up a web server with 
PHP support) and 
confusion (some people think Canviz requires PHP).

Change the example so it's pure JavaScript. generate.sh can write the list of 
graph names and 
engine names to a JavaScript file. And we can ignore compression for the sake 
of this example; that 
can be shown again in a more advanced example in the future.

Original issue reported on code.google.com by ryandesi...@gmail.com on 3 Oct 2008 at 10:53

GoogleCodeExporter commented 9 years ago

Original comment by ryandesi...@gmail.com on 14 Oct 2008 at 4:25

GoogleCodeExporter commented 9 years ago
The biggest chunk of work was done in r117 (along with the fix for issue #7). 
index.php is now index.html and it 
now uses graphlist.js and layoutlist.js to get the list of graphs and layout 
engines. I think all that remains is to 
stop using image.php.

Original comment by ryandesi...@gmail.com on 14 Oct 2008 at 6:03

GoogleCodeExporter commented 9 years ago
No longer using image.php as of r146.

Original comment by ryandesi...@gmail.com on 24 Oct 2008 at 9:16

GoogleCodeExporter commented 9 years ago
Updated the HowToUse wiki page in r146.

Original comment by ryandesi...@gmail.com on 24 Oct 2008 at 9:19