In my previous blog “Eclipse On Demand: Yoxos”, had described about the distribution service to ease out the hassles of configuring/maintaining a integrated development environment for specific project need considering the fact as not all projects are the same. In similar lines, here I will be discussing on using CDN for providing a means to access common Ajax/JavaScript framework libraries that are most widely used and we will not digg into using different Ajax frameworks.
By the way, what is CDN?
CDN stands for Content Distribution Network or Content Delivery Network, a system of computers networked together across internet that delivers content to end users for improving maintainability, performance, scalability etc. There are many CDN groups like Google, Yahoo, AOL, JSLoader etc available in market and here we will take on with using Google's CDN capabilities.
Google Ajax Libraries API
One such service is the Google Ajax Libraries API providing a loading architecture for most of the open source JavaScript libraries such as Dojo, Prototype, Script.aculo.us, jQuery, Yahoo UI, Mootools etc. Through this, Google provides the infrastructure upon collabrative decisions with the providers to access these libraries directly from its server thus providing developers the following advantages.
1. Hosting: Hosting of libraries is no longer a hassle as is maintained at a single location from Google. Thus no installation needed at the host end and saves the bandwidth too.
2. Caching: Setting of correct cache headers for those libraries that makes them downloadable as neccessary so that developers need not work on caching logic. Prevents file duplication in the browser cache.
3. Versioning: Staying up to date with the most recent available stable release with all bug fixes etc., Also provides minified versions.
4. Compression: Why to send them as such when certain browsers accepts the GZIP compression techniques. So GZIP compression is taken care automatically.
5. Responsiveness: Faster response as Google servers are fast and also has a distributed CDN across the globe at points nearer to the user.
6. Maintainability: Maintainability of libraries is minimized as content is downloaded only once instead of having each user download a private copy.
Two ways to load the appropriate libraries from Google:
#1. Access via Ajax APi loader. That is, using google.load().
Example:
...
<script src="http://www.google.com/jsapi"></script>
<script>
// Loading DOJO libraries
google.load("dojo", "1.3.0");
</script>
...
#2. Access directly using standard script tags
Example:
...
// Loading DOJO libraries
<script src=http://ajax.googleapis.com/ajax/libs/dojo/1.3.0/dojo/dojo.xd.j></script>
...
For more informations,
http://code.google.com/apis/ajaxlibs
http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries
YouTube:
Wednesday, April 1, 2009
Thursday, February 12, 2009
Tools: Eclipse On Demand - Yoxos
In any large scale IT service companies; there are different needs for configuring IDEs to serve different kind of application development projects. So managing a large amount of Eclipse workplaces within organization to cater different set of requirements is becoming more challenging when one has to validate the plug-ins available to suite their specific needs.
• Challenge 1: Normally developers tend to download Eclipse and configure rather would say search for plug-ins, try out with many available plug-ins and finally nail down to the best available one found in the market. Thus setting up their baseline eclipse package version with all necessary plug-ins installed involves significant efforts in searching and validating the plug-ins
• Challenge 2: Certain organization does provide a common Eclipse IDE with pre-installed plug-ins servicing multiple project requirement needs. But the problem here is to have a dedicated team validating those plug-ins, maintaining the package with latest plug-in versions and update informations during the next organization wide release
Ever wondered on how tedious is to manage these Eclipse workplaces considering the various choices available to search among the best plug-ins in market catering various application development needs?
Just to make the developers life at ease, to allow them concentrate more on their day-to-day activities, and empowering the next phase of growth to open source communities, there are channels by means of which one can easily manage workplaces.
Yoxos: Eclipse On Demand, a free pre-existing channel created by a German based company called Innoopract provides such distribution service for the Eclipse community offering information, downloads and updates for a variety of Eclipse plug-ins over the web with their dependencies.
• It allows to download the standard Eclipse platform or to choose from pre-configured Eclipse packages. For more details, visit http://www.yoxos.com/ondemand
• More importantly, It allows to create custom Eclipse package where you can choose your favorite plug-in based on user ratings who has tried it before using their simple plug-in explorer view. For more details, visit http://ondemand.yoxos.com/geteclipse/start
• Challenge 1: Normally developers tend to download Eclipse and configure rather would say search for plug-ins, try out with many available plug-ins and finally nail down to the best available one found in the market. Thus setting up their baseline eclipse package version with all necessary plug-ins installed involves significant efforts in searching and validating the plug-ins
• Challenge 2: Certain organization does provide a common Eclipse IDE with pre-installed plug-ins servicing multiple project requirement needs. But the problem here is to have a dedicated team validating those plug-ins, maintaining the package with latest plug-in versions and update informations during the next organization wide release
Ever wondered on how tedious is to manage these Eclipse workplaces considering the various choices available to search among the best plug-ins in market catering various application development needs?
Just to make the developers life at ease, to allow them concentrate more on their day-to-day activities, and empowering the next phase of growth to open source communities, there are channels by means of which one can easily manage workplaces.
Yoxos: Eclipse On Demand, a free pre-existing channel created by a German based company called Innoopract provides such distribution service for the Eclipse community offering information, downloads and updates for a variety of Eclipse plug-ins over the web with their dependencies.
• It allows to download the standard Eclipse platform or to choose from pre-configured Eclipse packages. For more details, visit http://www.yoxos.com/ondemand
• More importantly, It allows to create custom Eclipse package where you can choose your favorite plug-in based on user ratings who has tried it before using their simple plug-in explorer view. For more details, visit http://ondemand.yoxos.com/geteclipse/start
Subscribe to:
Posts (Atom)