Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The "Generating HTML from Javascript shows and lists" page has been changed by 
RogerBinns.
The comment on this change is: wording.
http://wiki.apache.org/couchdb/Generating%20HTML%20from%20Javascript%20shows%20and%20lists?action=diff&rev1=2&rev2=3

--------------------------------------------------

  = Generating HTML from Javascript shows and lists =
- You can generate output from 
[[http://books.couchdb.org/relax/design-documents/shows|shows]] and 
[[http://books.couchdb.org/relax/design-documents/lists|lists]].  Typically 
this would be HTML intended for a browser but any format can be generated. 
CouchDB already includes 
[[http://en.wikipedia.org/wiki/ECMAScript_for_XML|Javascript support]] for XML 
derived formats (eg Atom feeds). It is impractical to generate HTML directly so 
some sort of templating is recommended.
+ You can generate output from 
[[http://books.couchdb.org/relax/design-documents/shows|shows]] and 
[[http://books.couchdb.org/relax/design-documents/lists|lists]].  Typically 
this would be HTML intended for a browser but any format can be generated. 
CouchDB already includes 
[[http://en.wikipedia.org/wiki/ECMAScript_for_XML|Javascript support]] for XML 
derived formats (eg Atom feeds). It is impractical to output HTML directly so 
some sort of templating is recommended.
  
  == Best Practise ==
  Generate clear concise simple HTML from your show/list functions.  The 
resulting HTML interface should be usable from constrained devices (eg cell 
phones, set top boxes) as well as being accessible (eg screen readers) and easy 
to index for search engines.  This is also easier to automatically test.  You 
can then run Javascript in the browser (if the browser supports Javascript and 
it is turned on) to enhance what is being displayed (eg add extra information, 
tooltips, icons, previews of next/previous content, enhanced menus and 
interaction etc).

Reply via email to