JQuery Shutters Plugin Site
plugins.jquery.com
plugins.jquery.com
A new jQuery plugins site isn't too far away. We should have a blog post up in the next few days with the details, I won't steal the thunder but the new site will discourage spam, promote plugins with higher quality, and provide a consistent way for users to report/discuss bugs.
> Wouldn't it be better to open the new plugin site then close the old one?
Yeah that was our goal. In cleaning up spam on the old site we got a bit overeager and decided it wouldn't make sense to leave the broken remains.
> It would be great for the end user and plugin authors if they (jquery.com) curates the plugins themselves.
Most of us are volunteering our time to the jQuery project. If you are agreeable to the same pay scale, you can be one of us and help curate the new plugins site. Get your company to give you 20%-time.
With that being said, thank you for giving your time freely to help grow the community. I think I speak for most when I say, I appreciate it.
User ratings? Self-certification? iTunes-style pay + review? Combination of all of the above?
Certifying code quality (whether free or paid) is a tough thing to do, yet it's going to be massively important going forwards. I'm keen to here of how the new jQuery plugin site plans to tackle this.
If you do this, and the interface is good, you'll have a hugely popular website. Do it.
Or at least make it incredibly optional.
I wonder if the number of bad plugins comes from the relatively small disparity between being able to use jQuery and writing a plugin. jQuery's whole premise is being an easy to use programming language. In other models (wordpress for example) the bottom 50% (or more, I don't know, I'm just making up numbers) of "administrators" would have no idea how to make a plugin. Verses the bottom 15% (again completely fake numbers, just for demonstration) of jQuery users may be unable to do so.
<?php remove_filter('the_content', 'wpautop'); ?>'Using' jQuery could mean visiting a website that employs jQuery which doesn't bring you any closer to writing anything. What we mean is people who program with jQuery, though.
The average WordPress user (say, an author or site owner) doesn't do any programming at all. A user who does do programming, like someone who customizes WordPress for people, could write one of these one line plugins. Ultimately it's comparing JavaScript to PHP, and I don't think one is more difficult.
For example, you'll have 7 plugins (and associated code that runs them) that won't be used at all on the splash screen. That's going to increase load-time when someone hits that page.
If someone hits a page direct and avoids the splash screen, it's not going to be cached in the first place so it'll all be loaded. Only this time they're loading 4 plugins and the related code that won't even be used.
IMO you should compress what's needed for each page. Several smaller downloads is often better than one large download, and you shouldn't be relying on a user's cache to gauge your own site's performance. If you're not going to use it, don't include it.
Clients will use exactly 1 HTTP connection to download exactly 1 gzipped file, which is then cached and recalled from the cache for every subsequent pageview. HTTP overhead is significant! Furthermore, if you have everything in one scope, a Javascript minifier is going to be able to crunch it down significantly more than it could if you have a bunch of separate files in separate scopes.
What you want to avoid doing is executing a ton of JS in the top-level scope. JQuery plugins are great examples here, because they are often function definitions which require parsing, but are not executed until invoked. If you're worried about how much code you're executing per page, you can segment it by creating functions for your individual pages, and then calling the appropriate function on document.ready.
If you end up with 3MB of JS/CSS, then that's probably something that needs to be split up, but for a lot of use cases, combined is just fine. When in doubt, test it on a smartphone over a mobile data connection and see how it feels.
Don't get me wrong - it's their fair right to shut down a site they own. It's just highlighting a particular set of priorities they seem to have.
The question you really have to ask: how useful is the plugin page? From my experience, it's pretty useless. A newbie will find most of the widgets they need (with high-quality code) in the jQuery UI/Mobile projects, and there are tons of authoritative blog posts if they do a little bit of searching.
As of last week, that site is finally up and ready for beta. I was planning on announcing it this week or next.
If anyone here on HN has a jquery plugin or any other opensource javascript library or framework, and would like to give some feedback, please let me know via twitter or email (see my HN profile for both). The more people that can test it out privately, the better I'll feel launching it :-)
EDIT: Also, I plan on completely open-sourcing the site itself, like Github has done, once the site is launched.
I assume it was effecting their Google rank, otherwise they would have left the old one open.