Tagged: opensource Toggle Comment Threads | Keyboard Shortcuts

  • Joe 15:01 on March 6, 2009 Permalink
    Tags: declarative, model, , , , opensource, xforms   

    MozCamp – XForms and Declarative Applications 

    Steven Pemberton, author of the ABC programmin...

    Steven PembertonImage via Wikipedia

    XForms and Declarative Applications” – Steven Pemberton

    HTML Forms are a great success, the basis of the e-commerce revolution etc. but unanticipated at the time.

    After more than a decade of experience time to move on, move away from the misconception of HTML as a presentation language. More abstraction is needed for advanced purposes. Compare presentational HTML to the Zen Garden approach of basic HTML and rich CSS.

    Principles:

    • Ease of authoring
    • Good user experience
    • Ease of changing
    • Device independence (mobile platforms anyone?)
    • Accessibility
    • i18n
    • Validation

    The essence of XForms

    Complete separation of Date from Content: Instances and Controls

    The instance specifies the values being collected. Datatypes specify client side validation and constraints for values entered, even more complex logic like state is only required if county equals USA. Submission actions define the target for the data and what should be done with the result. Together this forms the model, the datasheet.

    Abstract or intent-based controls. These are bound to the data (values). Syntax is simply binding an input control to a data item, by which the input knows what data type should be expected and the correct control is chosen. E.g. input for birthdate, whre birthdata is of type date, renders a calendar input popup.

    The default XForms give you a toolbox which is very similar to a spreadsheet, no programming needed for common use cases. The actual XForms definition consist of standard XML and the data / values are transferred as XML as well.

    Any XML data can be bound to a control, so there’s nothing which prevents editing a xhtml document (as instance) by using XForms syntax. Any page element can be bound by using XPath. Only restrictions: the page must be well-formed xhtml and the server must accept PUT or POST in order to update the page.

    Other nice features include:

    • i18n for all form elemens, including labels.
    • auto-complete on form fields (demoed with live google translate per word, as you type.
    • live search: flickr images
    • geo-location as pair of lat/long or a map, bound to the same resource and so updating each other on change.

    Implementations vary from plugins (for msie) and native (mozilla). Big vendors use XForms as part of their CMS and Application servers already. Most of this is not user visible, you just experience a rich user interface in the browser.

    As a proof of concept, someone built a google-maps like application entirely in XForms which needed 25k of XForms data, compared to over 200k Javascript for Google Maps. Experience learns that one order of magnitude more code takes 34 times as much of effort (time, costs, bugs).

    Current browser support is still limited, but the ubiquity-xforms library aims at extending existing Ajax libraries to add XForms support for a broad range of browsers.

    Reblog this post [with Zemanta]
     
  • Joe 12:50 on March 6, 2009 Permalink
    Tags: , , mozzilla foundation, opensource, project   

    MozCamp – open innovation 

    Mozilla Foundation logo
    Image via Wikipedia

    Explained by Tristan Nitot

    The numbers are huge:

    Now both numbers are huge, but there could be even more innovation happening with even more contributors. Most often these are just people “scratching their itch”. These are not only coders – for example an artist who couldn’t bear looking at the crappy logo designed an elegant new logo.

    So what does the Mozilla foundation do to help this happen?

    • provide improved frameworks for development (under a OSS license)
    • organize events, Mozilla Labs nights and cafĂ© (Paris & London)
    • concept series (online) and contests.

    Technology

    • Ubiquity (command driven UI)
    • Personas (profiles beyond skins, more lightweight and easy to use, based on just a PNG image)
    • Weave (sync profiles between Firefox and Fennec instances)
    • Bespin (online collaborative source / text editing).

    So what does the innovation cycle look like?

    We start out with a smart idea, make a prototype which is in fact a bad product, see if it can live up to its expectations and either improve it to turn into a real product, or abandon it and work on something else.

    Reblog this post [with Zemanta]
     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel

Twitter links powered by Tweet This v1.8.3, a WordPress plugin for Twitter.