W3C home > Mailing lists > Public > public-bpwg@w3.org > February 2008

Suggested BP for BP 2 : Use script for the dynamic aspects of the user interface

From: Josť Manuel Cantera Fonseca <jmcf@tid.es>
Date: Wed, 27 Feb 2008 08:43:31 +0100
To: MWI BPWG Public <public-bpwg@w3.org>
Message-id: <47C514A3.8070805@tid.es>

BP

Use script only for the dynamic aspects of the user interface. DOM 
manipulation and creation of new nodes can consume a lot of battery at 
the device side, so as much as possible create user interface elements 
using the markup language and modify (if needed) those elements using 
scripting

How to do it

When a page is first served from the server side, it should contain all 
the markup that declares and populates user interface elements (forms, 
selects, input, etc). If rich interactions are needed later then use 
scripting to mutate or modify the DOM of the page
Received on Wednesday, 27 February 2008 07:43:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:51 UTC