Menu
Canvas set to boost AJAX

Canvas set to boost AJAX

Canvas, a planned HTML standard for arbitrary graphical rendering in browsers, presents a game-changing technology for high-quality graphics in AJAX applications, an advocate said at the ZendCon 2008 conference in Santa Clara, Calif. this week.

With Canvas, developers can paint anything they like and are no longer wedded to merely a paradigm of boxes and images, according to Ben Galbraith, co-founder of the Ajaxian.com Web site and a speaker at ZendCon.

"This is sort of a radical departure," he said.

Canvas is a retained image drawing API in which the JavaScript environment sends instructions to the Canvas implementation. Canvas then retains all these instructions and is responsible for doing repainting to the screen, Galbraith said.

"The result is you can actually create some really, really responsive user interfaces," he said.

"Canvas is really, really exciting," Galbraith stressed. The technology is going to change the game for Web application development, he said.

Canvas is part of the proposed HTML 5 standard, which is under jurisdiction of the World Wide Web Consortium and the WHATWG community. There already are multiple implementations of Canvas.

Galbraith touted a responsive text editor he co-developed that was implemented in JavaScript entirely in Canvas and features syntax highlighting. Canvas has functioned in browsers including Google Chrome, Firefox, Opera and Safari, said Galbraith. It also can work in Internet Explorer through a Google-built experimental bridge or an ActiveX plugin created by Mozilla, he said.

With the Google bridge, Canvas can be mapped to Microsoft's Silverlight technology, said Galbraith. There also is a Canvas API port to Flash as well as a Canvas implementation for Apple iPhone, even though the iPhone itself is not used for writing code, said Galbraith.

Also set to boost JavaScript application performance is the appearance of high-performing JavaScript interpreters, such as Mozilla TraceMonkey and the Chrome interpreter, Galbraith said.

"Today, desktop applications can wallop AJAX applications in terms of performance," Galbraith said. Desktop runtimes are much faster, he said. But TraceMonkey, planned for the Firefox 3.1 browser, is "dramatically faster than the current interpreter," Galbraith said.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Featured

Slideshows

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments