Please send any feedback on admin@ajaxline.com.
If you want to share your experience and post article on Ajaxline just e-mail it to us and we publish it.
Bob Buffone post an article in which he tells about bulding charts with dojo JavaScript library. He reviews the following topics:
Flash vs. Open Web
Dojo Charting
Fusion Charts
Integrating FusionCharts as a dojo widget
Creating the Fusion Chart using dojo.E Markup
Creating the Fusion Chart using the dojoML
Creating the Fusion Chart via JavaScript
Source Nexaweb.
Matthew Russel post the next article from his series about Dojo JavaScript library. Here's small excerpt from this article with one example:
«In preparation for my OSCON talk, I’ve been unearthing some of the fx enhancements that were added to Dojo’s gfx module back when version 1.1 landed. Some of these enhancements are pretty neat, and I thought they might make for a good excuse to get you started with a part of the toolkit you may not have ventured into quite yet.
Let’s get right to it with a document that demonstrates the fundamentals of how to create a gfx drawing context and place a shape somewhere on it:
<html>
<head>
<title>Fun with gfx!</title>
<script
type="text/javascript"
src="http://o.aolcdn.com/dojo/1.1/dojo/dojo.xd.js"
djConfig="isDebug:true">
</script>
<!--
Workaround necessary for loading gfx over the CDN until 1.2
lands. See http://trac.dojotoolkit.org/ticket/4462
-->
<script
type="text/javascript"
src="http://o.aolcdn.com/dojo/1.1/dojox/gfx.js">
</script>
<script type="text/javascript">
dojo.require("dojox.gfx"); //maintain good form
dojo.addOnLoad(function() {
//create a 200x200 drawing surface
var g = dojox.gfx.createSurface(dojo.byId("g"), 200, 200);
//draw a circle on it at (100,100) with a radius of 10
var circle = g.createCircle({cx : 100, cy : 100, r : 10})
.setFill("blue");
});
</script>
</head>
<body>
<div id="g"></div>
</body>
</html>»
Source: Onlamp.
Matthew Russel post the seventh part of his article about Dojo Javascript library. In this chapter he showwws how to inject the Dojo after the page loads. Here's the one of the examples from this article:
JavaScript
Matthew Russel published the next article from his series about Dojo Javascript library. In this article he tells about handling very large datasets and shoind the data in grids. He writes the following:
«It’s a given that you can use the grid to display relatively small data sets effectively in the browser and get the niceties of sorting, column resizing, etc. that come along with it. That’s cool and all, but there’s a practical limit to the number of records you can deal with at any given time, which eventually leads to the concept of paginating results.
Well, go ahead and forget about pagination; those days are finally over. Dojo’s grid works by lazy loading data as the grid scrolls. For a relatively small data set consisting of hundreds of records, lazy loading amounts to building out the DOM for a pre-loaded data set when you scroll. For example, if you had 100 records but could only view 20 of them at a time, you wouldn’t want to build the nodes for any of the records in 21 through 100 until you scrolled to that particular section. Sorting by a column and related tasks work in memory as expected for small data sets since you can effectively get things done in JavaScript. »
Source: ONLamp.
Dojo 1.1 released recently with following main changes:
A growing collection of demos, tutorials, and articles
A new BorderContainer Dijit, which is a much better way to handle layout-based widgets than SplitContainer and LayoutContainer
Significant performance improvements to dojo.query and dojo.fx
Matthew Russel continues his series of af articlee about Dojo JavaScript library. In the article, that he posted today he shows how ro use the AJAX functionality of Dojo library. Here's the one of examples from this article:
JavaScript
John Resig writes about one of main object oriented programming concepts in JavaScript Language — Inheritance. He writes:
«I've been doing a lot of work, lately, with JavaScript inheritance - namely for my work-in-progress JavaScript book - and in doing so have examined a number of different JavaScript classical-inheritance-simulating techniques. Out of all the ones that I've looked at I think my favorites were the implementations employed by base2 and Prototype.
Matthew Russel starting a new series of articles about Dojo javascript library. This articles contains a small tutorials that will helps to the the fundamental of Dojo library. Matthew writes:
Rather intresing an practical AJAX tutorial was posted on IBM developerWorks site. This tutorial consisst of two part. From the fist part of this tutorial tou will learn the basics of Ajax technology. Also it contains a lots of additional informattion and practical advices like as choosing the AJAX framework and IDE . You can read it here
For starters, version 2.0 of the Dojo Toolkit Module for Drupal has been released.
What's new in v2.0:
The 0.4.1 release is hot off the press with over 180 total bugfixes & improvements.
With this release, the Dojo API reference is nearing 100% coverage. Dojo Book has been updated, and most importantly the Porting Guide has been expanded.
The last RC build before Dojo 0.4.1 will be released is now available. Lots of niggling bugs have been fixed since RC1 and thanks to James Burke of AOL and Adam Peller of IBM, some new infrastructure for more efficiently handling localized resources is part of this build.