NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Small requests - cpan.org links (Score:1)
Thank you for creating the top 100. It reflects some of my own observations (though I've not taken the time to create the metrics). If the Top 100 does get automated, please consider the additional features:
* expanding it to 200 or 250 entries for each CPANTS list
* having both the author & module columns link back to their respective entries at cpan.org
* using jQuery with a Table plug-in or some alternative for sortable tables.
Thanks, Mark S.
Re: (Score:1)
What would jQuery get me that the current one does not?
Re:Small requests - cpan.org links (Score:1)
When I saw your Top 100, I thought it would be nice to sort the columns in page on Authors or Distribution for additional abuser insight
For example, there's a recent article in Linux Journal (03/09, p.18, At The Forge - jQuery Plugins) that brings to light one such plug-in (DataTable) I use when dealing with HTML tables of less than a couple thousand rows. If I have an HTML table, static or rendered, adding the following will make all columns sortable:
<html>
<head>
<title>example</title>
<!-- add these script lines-->
<script type="text/javascript" src="jquery.js"
<script type="text/javascript" src="jquery.dataTables.js"
<script type="text/javascript">
$(document).ready(function () {
$('#table-id').dataTable();
});
</script>
</head>
<body>
<!-- makes sure the table has a ID defined in the DOM -->
<table id="table-id">
<thead><tr><th>Col1</th><th>Col2</th><th>Col3</th><th>Col4</th></tr></thead>
<tbody>
<tr><td>a1</td><td>a2</td><td>a3</td><td>a4</td></tr>
<tr><td>b1</td><td>b2</td><td>b3</td><td>b4</td></tr>
<tr><td>c1</td><td>c2</td><td>c3</td><td>c4</td></tr>
</tbody>
</table>
</body>
<html>
You should then have an in browser sortable table without any post-back processing. Again, fairly large tables in browser will take longer when sorting.
I hope this quick bit tip helps out many.
Later, Mark S.
Reply to This
Parent
Re: (Score:1)
1. "(I did this with Firebug in Firefox.)" should have read "(I've done this with Firebug in Firefox.)"
2. I had some javascript prevention enabled. Now that turned it back on, the columns sort. duh - stupid user error.
Still, I hope my previous comments helps others when working with data tables.
Later, Mark S.