Archive

Posts Tagged ‘ajax’

airTranslate on Google code

September 21st, 2009 ThumNet No comments

Because I wanted to learn programming in Adobe Flex I build a tool called airTranslate. It uses the Google Ajax Language API to translate the users input text to the chosen output language.

airTranslate-screenshot

airTranslate features:

  • Multi platform
  • Auto detection of input language
  • Drag and drop input text (with auto translation)
  • Dock to tray icon (Windows only)
  • Translate from clipboard (with auto translation)
  • Auto store last chosen translation language
  • Update notification

airTranslate is available at Google code: http://code.google.com/p/thumnet/downloads/list

The project is open source, and sources are available at http://code.google.com/p/thumnet/source/browse/#svn/trunk/AirIt is possible to request new functions and report issues through the Google code website.

To run Adobe AIR programs you need to download and install the Adobe AIR runtime

Bookmark and Share
Categories: Projects Tags: , , , , ,

New features in ASP.NET AJAX 4.0

May 28th, 2009 Jeffrey Tummers No comments

This post is about the session called ASP.NET AJAX 4.0 given by Fritz Onion

A preview of the new version of ASP.NET AJAX is avaible on codeplex since the 28th of May. And it can be used within Visual Studio 2008.

This version mainly focuses on new client side features, some of these are be discussed below.

Live data binding
Gives the developer an easy way to bind multiple controls to a single datasource, if a value changes all controls are automatically updated client side.

Observer pattern
This provides observer functionality to ordinary JavaScript objects, when a change occurs for an observed object a notification is caused, which can be handled accordingly

Client templates
In an asp.net web application a list of data can be shown using a Repeater control, which is server sided. In 4.0 this can be done client sided as well. The way to define this is by using a XHTML compliant template, as shown below.

	<table id="resultTable" class="sys-template">
		<tr>
			<td>{{Name}}</td>
			<td>{{Id}}</td>
		</tr>
	</table>
	

This type of databinding notation is similar to Silverlight/WPF.

Inclusion of and support for jQuery library
The development team at Microsoft has acknowledged the use of the jQuery library and it will be included in the next release

Web service invocation
It is now easy to invoke a method of a WCF service. A downside is that the service must support JSON serialization and AJAX proxy generation, by default this is possible with WCF services.

Some nice new features the development team is working on are:

  • Client sided sorting, pagination and filtering
  • Sending changes to the server
  • AJAX Control Toolkit will get rolled into the core release (previously this was a separate download)

Bookmark and Share
Categories: DevDays09 Tags: , , ,