As you may have noticed, we’ve been working on sharing some WordPress plugins with the community. I like to check our profile page occasionally to see how our plugins are doing – download stats, forum posts, that sort of thing.
Like any other programmer, I also want to be able to say “Look! All (y)our plugin are belong to us and have been downloaded X number of times!” But the more plugins we write, the harder it is to figure out the total downloads, since they’re listed individually.
var sum = 0;
var $o = $(o)
, text = $o.text()
, count = parseInt( text.replace(‘ downloads’, ”).replace(‘,’, ”) )
sum += count;
var msg = ‘Total Downloads for User: ‘ + sum;
alert( msg );
What is the best programming language for web development?
If there was one “best” programming language, then everything else would be obsolete. The reality is that there are so many different programming languages because there is no “best” language for any situation.
Web development can vary from a few hundred to millions of dollars depending on what is needed. You may simply need some changes to something that already exists, or you'd like to build a large or complex application.