<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ajaxtime.com &#187; ajax</title>
	<atom:link href="http://www.ajaxtime.com/category/ajax/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxtime.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 13 Apr 2010 14:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ajax: How To Weave A Faster Web</title>
		<link>http://www.ajaxtime.com/ajax-how-to-weave-a-faster-web.html</link>
		<comments>http://www.ajaxtime.com/ajax-how-to-weave-a-faster-web.html#comments</comments>
		<pubDate>Fri, 17 Apr 2009 01:02:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/?p=155</guid>
		<description><![CDATA[Who would have thought poring over a map could be so fun? Credit a loose-knit set of programming technologies known as Ajax. It's helping to spur the explosion of Web sites, from Yahoo! Ajax: How To Weave A Faster Web ?]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Arial;">Do a search on Google Maps for your house, and you&#8217;ll see a nice enough map of your neighborhood. Now hold down the mouse button. You&#8217;ll find you can move the map around as quickly as if it were sitting on a table. Zooming in and out, there&#8217;s no delay waiting for the page to reload. And you can switch instantly to corresponding satellite photos and even a combined map-photo view. </span></p>
<p>Who would have thought poring over a map could be so fun? Credit a loose-knit set of programming technologies known as Ajax. It&#8217;s helping to spur the explosion of Web sites, from Yahoo! Inc.&#8217;s (<a href="javascript: void showTicker('YHOO')">YHOO</a> ) photo-sharing service Flickr to Google Inc.&#8217;s (<a href="javascript: void showTicker('GOOG')">GOOG</a> ) Web-based e-mail service, that help you take a more active part in creating your own personal Web.</p>
<p>Essentially, Ajax speeds up the Web experience, vastly reducing the notorious World Wide Wait. A Web site created using Ajax updates pages behind the scenes, sending ancillary data you&#8217;re likely to want next &#8212; such as filling in map data surrounding the current view. No more clicking the mouse and waiting for the page to refresh. Says Jesse James Garrett, director of user experience at Web design consultant Adaptive Path, who coined the term Ajax: &#8220;Companies are really starting to recognize that the Web is more than a medium of static pages.&#8221;</p>
<p>The upshot: For the first time, the Web has become a place for real applications that match &#8212; and sometimes transcend &#8212; the performance of desktop software. &#8220;Until Google put this technology out there, no one was really thinking of Web pages as applications,&#8221; says Sapient Corp. (<a href="javascript: void showTicker('SAPE')">SAPE</a> ) software architect Francis Shanahan. &#8220;In the next 12 months, people will be thinking about the Web in a new way.&#8221;</p>
<p>Ajax has rough edges. The programming tools behind it are still primitive, so writing software with it takes longer. And sometimes the resulting software flouts Web browser customs &#8212; for instance, disabling the &#8220;back&#8221; button. But already, Ajax is finding its way into mainstream business applications such as Sabre Holdings Corp.&#8217;s (<a href="javascript: void showTicker('TSG')">TSG</a> ) air scheduling software.</p>
<p>Future possibilities are intriguing, too. Even with Amazon&#8217;s patented &#8220;one-click&#8221; buying, you have to click on multiple pages to view a book, read reviews, get to the checkout page and shopping cart. Garrett suggests Ajax might allow all that to be done on one page. It doesn&#8217;t get any speedier than that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/ajax-how-to-weave-a-faster-web.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning Google Maps Applications with PHP and Ajax</title>
		<link>http://www.ajaxtime.com/beginning-google-maps-applications-with-php-and-ajax.html</link>
		<comments>http://www.ajaxtime.com/beginning-google-maps-applications-with-php-and-ajax.html#comments</comments>
		<pubDate>Fri, 17 Apr 2009 00:55:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/?p=151</guid>
		<description><![CDATA[There is much to like about this book. The explanations are straightforward, the code is readable, the examples are relevant, and the writing style is approachable.— Michael J. Ross, Web developer/Slashdot contributor

]]></description>
			<content:encoded><![CDATA[<p>Product Description</p>
<p>There is much to like about this book. The explanations are straightforward, the code is readable, the examples are relevant, and the writing style is approachable.</p>
<p>— Michael J. Ross, Web developer/Slashdot contributor</p>
<p>Until recently, building interactive web-based mapping applications has been a cumbersome affair. This changed when Google released its powerful Maps API. Beginning Google Maps Applications with PHP and Ajax was written to help you take advantage of this technology in your own endeavorswhether you&#8217;re an enthusiast playing for fun or a professional building for profit. This book covers version 2 of the API, including Google&#8217;s new Geocoding service.</p>
<p>Authors Jeffrey Sambells, Cameron Turner, and Michael Purvis get rolling with examples that require hardly any code at all, but you&#8217;ll quickly become acquainted with many facets of the Maps API. They demonstrate powerful methods for simultaneously plotting large data sets, creating your own map overlays, and harvesting and geocoding sets of addresses. You&#8217;ll see how to set up alternative tile sets and where to access imagery to use for them. The authors even show you how to build your own geocoder from scratch, for those high-volume batch jobs.</p>
<p>As well as providing hands-on examples of real mapping projects, this book supplies a complete reference for the Maps API, along with the relevant aspects of JavaScript, CSS, PHP, and SQL. Visit the authors&#8217; website for additional tips and advice.</p>
<p>About the Author<br />
Michael Purvis is a mechatronics engineering student at the University of Waterloo, Ontario. He is a mostly self-taught programmer. Prior to discovering PHP, he was busy making a LEGO Mindstorms kit play Connect 4. Currently, he maintains an active community site for classmates, built mostly from home-brewed extensions to PunBB and MediaWiki.</p>
<p>He has written about CSS for the Position Is Everything web site, and occasionally participates in the css-discuss mailing list. He particularly enjoys those clever layouts that mix negative margins, relative positioning, and bizarre float tricks to create fiendish, cross-browser, flexible-width concoctions. These and other nontechnical topics are discussed on his weblog at uwmike.com.</p>
<p>Offline, he enjoys cooking, cycling, and social dancing. He has worked for We-Create, Inc. on a number of exciting PHP-based projects and has a strong interest in independent web standards.</p>
<p>Jeffery is a graphic designer and self-taught web applications developer best known for his unique ability to merge the visual world of graphics with the mental realm of code. With a Bachelor of Technology degree in Graphic Communications Management along with a minor in Multimedia, Jeffrey was originally trained for the traditional paper-and-ink printing industry, but he soon realized the world of pixels and code was where his ideas would prosper. In late 1999, he cofounded We-Create, Inc., an Internet software company based in Waterloo, Ontario, which began many long nights of challenging and creative innovation.</p>
<p>Currently, as Director of Research and Development for We-Create, Jeffrey is responsible for investigating new and emerging Internet technologies and integrating them using web standards-compliant methods. In late 2005, he also became a Zend Certified Engineer.</p>
<p>When not playing at the office, Jeffrey enjoys a variety of hobbies from photography to woodworking. When the opportunity arises, he also enjoys floating in a canoe on the lakes of Algonquin Provincial Park or going on an adventurous, map-free, drive with his wife. Jeffrey also maintains a personal website at JeffreySambells.com, where he shares thoughts, ideas, and opinions about web technologies, photography, design, and more. He lives in Ontario, Canada, eh, with his wife, Stephanie, his newborn daughter, Addison, and their little dog, Milo.</p>
<p>Cameron Turner has been programming computers since his first VIC 20 at age 7. He has been developing interactive web sites since 1994. In 1999, he cofounded We-Create, Inc., which specializes in Internet software development. He is now the company&#8217;s chief technology officer. Cam obtained his honors degree in computer science from the University of Waterloo with specialization in applied cryptography, database design, and computer security.</p>
<p>Cam lives in Canada&#8217;s technology capital of Waterloo, Ontario, with his wife, Tanya, son, Owen, and dog, Katie. His hobbies include biking, hiking, water skiing, and painting. He maintains a personal blog at CamTurner.com, discussing nontechnical topics, thoughts, theories, and family life.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/beginning-google-maps-applications-with-php-and-ajax.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class Examples</title>
		<link>http://www.ajaxtime.com/class-examples.html</link>
		<comments>http://www.ajaxtime.com/class-examples.html#comments</comments>
		<pubDate>Fri, 10 Apr 2009 05:43:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.ajaxtime.com/?p=5</guid>
		<description><![CDATA[The first example will return an own class that has some public fields to be used on the client-side JavaScript.

]]></description>
			<content:encoded><![CDATA[<p>The first example will return an own class that has some public fields to be used on the client-side JavaScript.</p>
<p>public class MyClass<br />
{<br />
public string FirstName = &#8220;&#8221;;<br />
public string FamilyName = &#8220;&#8221;;<br />
public int Age = 0;<br />
}</p>
<p>Click here to return an instance of the above class.</p>
<p>It is also working if you inherit from a class and add your own properties to the new class.</p>
<p>public class MyInheritedClass : MyClass<br />
{<br />
public double SizeInMeters = 0.0;<br />
public Guid ID = Guid.Empty;<br />
}</p>
<p>Click here to get an MyInheritedClass object.</p>
<p>Michael&#8217;s Blog<br />
Passing a own class back to the server</p>
<p>Next we want to pass the MyClass object back to the server. The first call will get an MyClass object from the server like we have done above. Then we want to modify the .FirstName property on the client, submit the object to the server, modify the .FamilyName there and see the results.</p>
<p>function doTest3() {<br />
// synchronous call to the server-side method to get an MyClass object<br />
var p = AJAXDemo.Examples.Classes.Demo.GetMyClass().value;</p>
<p>p.FirstName = &#8220;CLIENT-SIDE CHANGE&#8221;; // change one property<br />
AJAXDemo.Examples.Classes.Demo.PutMyClass(p, doTest3_callback);<br />
p = null;<br />
}</p>
<p>[AjaxMethod]<br />
public MyClass PutMyClass(MyClass c)<br />
{<br />
c.FamilyName = &#8220;SERVER-SIDE CHANGE&#8221;; // change one property<br />
return c;<br />
}</p>
<p>Click here to run the test!<br />
Create converters for your classes</p>
<p>One new feature is the use of converters to serialize a .NET object or deserialize a JSON string. In this example I am using a custom IJavaScriptConverter. This converter will return a new class on the client-side JavaScript that may have more properties or methods that are not returned using the built-in custom object converter (which will only return public fields and properties).</p>
<p>function doTest4() {<br />
var p = AJAXDemo.Examples.Classes.Demo.GetPerson().value; // synchronous call to the server-side method</p>
<p>// access the properties of the Person object here<br />
alert(p.FirstName);</p>
<p>// Now, we want to save it, we call the save method of the instance<br />
// and get a boolean if succeded.<br />
var b = p.save();<br />
}</p>
<p>Click here to get an Person instance and save the object using a method from the instance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxtime.com/class-examples.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
