On 29/06/11 21:35, Rob Lanphier wrote:
>> Even cooler would be integrating this into CodeReview itself
<snip>
> That would be cool.  The code I wrote is in Python, so it would need to be
> ported PHP.
<snip>

I consider your code as a *successful* proof of concept.  It is trivial 
to port it to PHP and integrate it in codereview.
It is mostly about figuring the right queries, caching the result and 
output it as json for JavaScript to render it as a chart.

We would need some additions to the repo administration interface:
  - ability to manually add the branch points revision numbers
  - a list of extensions we want to include in the report.
 From there it is all about figuring out the right queries which you 
already did :-)

> Nimish and Erik Zachte are in the process of working on some jqPlot-based
> reporting tools, and it might be best to leverage their work rather than
> using Flot (which is what my code uses).<snip>

Something worth looking at is the RaphaelJS library [1] which comes with 
a charting plugin [2].  RaphaelJS uses SVG/VML, everything is thus in 
the DOM and you can make them interactive by adding handlers to the 
elements.  In the long term, it looks like integrating RaphaelJS will 
open us much more possibilities than just generating graphs. A new 
version is pending in github [3].

== links ==

[1] http://raphaeljs.com/
[2] http://g.raphaeljs.com/
[3] https://github.com/DmitryBaranovskiy/raphael/tree/2.0

== demos ==
  http://raphaeljs.com/analytics.html
  http://raphaeljs.com/scape/ (for Wolfenstein 3D fans)
  http://g.raphaeljs.com/piechart2.html

cheers,

-- 
Ashar Voultoiz


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to