Gaia Ajax Widgets: no-JavaScript Ajax
Tutorial about how to use Gaia Ajax Widgets with ASP.NET - Mono
Download the whole article as PDF
- 2007-10-22
- Server side | Easy
-
Write a full post in response to this!
Imagine you need to create an Ajax application, and you’re scratching your head in frustration since you don’t understand prototype.js, you think using ASP.NET Ajax feels like building a car with scissors and paperclips and you don’t know enough Java to use GWT. If this is your problem, Gaia Ajax Widgets could solve your problem: Gaia abstracts away JavaScript, feels like normal ASP.NET, works on both ASP.NET and Mono—and it’s free software.
Gaia Ajax Widgets GPL version is complete and also comes with support (if you register) but you must purchase a commercial license from Frost Innovation to be able to develop proprietary applications with it. Read the details here: Gaia License Explained
Gaia Ajax Widgets puts the fun back into Ajax
Gaia Ajax Widgets is a GPL licensed library (a commercial license available from the company behind it). It is a 100% Hijax library, which means that you don’t need to write JavaScript at all to use it. You use components as if they where Qt Widgets, and you declare which events you wish to handle by setting the proper handlers.
Before you can start using it, you must download Gaia Ajax Widgets. For this tutorial, I will be using MonoDevelop running on GNU/Linux and the GPL version of Gaia Ajax Widgets.
One word of warning though! The download link above is for the Q2 2007 release of Gaia Ajax Widgets. If you register at AjaxWidgets.com you will receive update notifications and have an easier way to get updated versions of Gaia. You will also be able to post in our forums and get free support. Though you’re not forced to register, AjaxWidgets encourages you to do so. AjaxWidgets promises to only send you 8 to 10 emails per year with “extras” in the form of links to tutorials, videos, etc.
Creating a new project
Create a new Web Project in MonoDevelop and add a reference to the Gaia.WebWidgets.dll file, which should be underneath the Library folder of the Gaia package.
Then, open your Default.aspx web form and register the Gaia Widgets assembly using the following code:
<%@ Register Assembly="Gaia.WebWidgets" Namespace="Gaia.WebWidgets" TagPrefix="gaia">
And add a new Gaia Button using the following code:
<gaia:Button id="button1" runat="server" Text="Show Window" OnClick="onButtonClick" />
Also add a Gaia Window like this:
<gaia:Window id="window1" runat="server" Visible="false">Hello World!</gaia:Window>
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html.
Biography
Thomas Hansen: Thomas Hansen is a developer working for Frost Innovation which is the company behind Gaia Ajax Widgets. He has been working with Ajax ever since before it even had a name and has been doing programming since he was 8 years old. He has been working on GUI libraries ever since 2002, and has been leading Open Source GUI projects ever since.
- Login or register to post comments
- 3987 reads
- Printer friendly version (unavailable!)




Best voted contents
-
The Bizarre Cathedral - 1
Ryan Cartwright, 2008-04-18 -
Programming languages and "lock-in"
Terry Hancock, 2008-04-18 -
Free Software Magazine Awards 2008
Tony Mobily, 2008-04-22 -
Google App Engine: Is it evil?
Terry Hancock, 2008-04-24
Similar entries
Buzz authors
All news
From the FSM staff...
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). A site about short stories and writing.
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Installing an all-in-one printer device in Debian
Ryan Cartwright, 2008-05-05 -
What is the free software community?
Tony Mobily, 2008-03-29 -
Things you miss with GNU/Linux
Ryan Cartwright, 2008-05-01 -
Drigg (the pligg alternative) vs. Pligg: why should people switch?
Tony Mobily, 2008-04-13 -
Why Microsoft should not lose (and free software will still win)
Ryan Cartwright, 2008-04-21



Dedicated server