XForms and Google Maps

Hello everyone,

If you're pondering the issues around how features implemented in script can
be encapsulated, and then reflected in mark-up, my latest blog might be of
interest. It continues the Ajax discussion, and follows on from my
examination of Google Suggest to look at Google Maps:

  XForms Patterns: Dynamic URLs and Google Maps

 
<http://internet-apps.blogspot.com/2005/05/xforms-patterns-dynamic-urls-and.
html>

(I knew that 'Google Maps' is the application that everyone was secretly
thinking about in the discussion on Ajax, so I thought I'd best show how at
least part of it could be implemented in XForms.)

The blog makes use of a new feature in XForms 1.1, which is to allow URLs to
be rendered as objects (such as images) by using @mediatype. For example:

  <xf:output ref="uri" mediatype="image/*" />

With nothing more than this feature and a xf:repeat or two, we can navigate
around the Google Maps tiles, zoom in and out, and so on. You can view the
source code on the blog, or use the formsPlayer 2 preview to experiment,
since it supports much of XForms 1.1.

I believe this demo again shows the benefit of XForms over script, and I
hope at some point soon to use this as the foundation for some other demos.

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/

Received on Monday, 2 May 2005 23:55:21 UTC