Edmonton Web Design and Photography

Framework Plugins for Browsers


Posted in: Design on January 10th, 2009

I’m just expressing an idea i had a few weeks ago involving widely adopted frameworks. More specifically Java Script Frameworks. Browsers should have support for the most recent Java Script Frameworks such as Jquery, Dojo, script.aculo.us, Prototype, Moo Tools, and many others. Changes should never be made to the frameworks them selves so it doesn’t make sense to have each site hosting them on there own, it also doesn’t make sense to make the user download it every time they access a site.

Google Code has AJAX Libraries API, Even if browsers don’t offer the frameworks as plugin’s people using the Google Code version will be caching from Google and there for not download from every unique site containing the framework.

You will have access to the latest stable versions as they are released, save on bandwidth and also be able to mashup different Frameworks much easier.

How to use it:

<script src="http://www.google.com/jsapi"></script>
<script>
  // Load jQuery
  google.load("jquery", "1.2.3");
</script>

Supported Library’s:
jQuery
jQuery UI
Prototype
script.aculo.us
MooTools
Dojo
SWFObject
Yahoo! User Interface Library (YUI)

AJAX Libraries API

2 Responses to “ Framework Plugins for Browsers ”


  1. While you can do it that way, it’s more useful to embed the Javascript file you want directly – for example, for jQuery 1.2.6 we used this url:

    http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js

    By linking directly to the file, you trim down the number of extra HTTP connections/requests being made(going from one to two) – which will make your site slightly faster.

    Luke
    January 22, 2009

  2. True, i think Google is trying to offer an easy way to use multiple lib’s.

    But i think you should stick with one lib as is.

    Adam Patterson
    January 24, 2009

Search


Archive


Subscribe