Sandbox Testing - Attempting to analyse use of JavaScript Libraries

0

Please login or register to vote for this query.

(click on this box to dismiss)

For starters, just compare libraries... I'm throwing GWT in the mix, but thats a bit of an Apples to Oranges comparison

Physics

Q&A for active researchers, academics and students of physics

-- Sandbox Testing - Attempting to analyse use of JavaScript Libraries
-- For starters, just compare libraries...
-- 
-- I'm throwing GWT in the mix, but thats a bit of an Apples to Oranges comparison

SELECT  TagName AS Tags,
        cnt AS [Questions Tagged],
        ROUND(100.0 * cnt / SUM(cnt) OVER (), 2) AS [Ratio, %]
FROM    Tags t
CROSS APPLY
        (
        SELECT  COUNT(*) AS cnt
        FROM    PostTags pt
        WHERE   pt.TagId = t.id
        ) q
WHERE   t.TagName IN ('mootools', 'smartclient', 'dojo', 'jquery', 'yui', 'extjs', 'gwt', 'backbone.js', 'knockout.js', 'qooxdoo')
ORDER BY
        cnt DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results