From richfaces-svn-commits at lists.jboss.org Wed Mar 25 07:13:55 2009 Content-Type: multipart/mixed; boundary="===============8683821706700443640==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r13170 - trunk/docs/realworld_app_guide/en/src/main/docbook/modules. Date: Wed, 25 Mar 2009 07:13:54 -0400 Message-ID: --===============8683821706700443640== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: atsebro Date: 2009-03-25 07:13:54 -0400 (Wed, 25 Mar 2009) New Revision: 13170 Added: trunk/docs/realworld_app_guide/en/src/main/docbook/modules/how_it_works.= xml Log: RF-5768: Real World Demo Application Tutorial Update for 3.3.1 release = Added: trunk/docs/realworld_app_guide/en/src/main/docbook/modules/how_it_wo= rks.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/realworld_app_guide/en/src/main/docbook/modules/how_it_works= .xml (rev 0) +++ trunk/docs/realworld_app_guide/en/src/main/docbook/modules/how_it_works= .xml 2009-03-25 11:13:54 UTC (rev 13170) @@ -0,0 +1,93 @@ + + + + + + RichFaces + = + + + = + How it works +
General application overview +
Used technologies overview + The PhotoAlbum is based on following technologies and fr= ameworks: + + Java Server Faces (JSF), technology that= provides a single, standard, productive way to use Java technologies to bu= ild Web-based applications; + Facelets, the technology that combines t= he power of UI components and the flexibility of XML to accelerate JavaServ= er Faces development. Facelets presents a compelling alternative to JSP as = the markup technology of choice for next-generation JSF applications; + Asynchronous JavaScript and XML (AJAX), = several incorporated technologies. Ajax binds together standards-based pres= entation using XHTML and CSS, dynamic display and interaction using the DOM= , data interchange and manipulation using XML and XSLT, asynchronous data r= etrieval using XMLHttpRequest and JavaScript; + Seam technology that integrates previous= mentioned technologies with Java Persistence (JPA), Enterprise Java Beans = (EJB 3.0) and Business Process Management (BPM) into a unified full-stack s= olution; + RichFaces, a framework and library of Aj= ax-capable UI components for JSF framework that had been evolved from Ajax4= JSF framework (merge of Ajax and JavaServer Faces technologies). + + One of the main goals for the PhotoAlbum Demo is to demo= nstrate the RichFaces. +
+ = +
+ The main benefits of the RichFaces + The RichFaces has set of benefits positioning this= library and framework with a difference to the wide range of similar libra= ries. = + All the RichFaces benefits are fully described in = the Introduction to th= e RichFaces. = + The <Photo Album> covers some of the most im= portant of them and demonstrates: + + wide variety of UI compo= nents, which provides Lego-like way of building user interfaces = for web applications; + built-in Ajax capability= , which offers both component-wide and a lot more flexible page-= wide Ajax support; + highly customizable look= -and-feel (the RichFaces have special feature called = + "Skinnability"). + +
+ = +
+ The main structure and organization of the PhotoA= lbum + Since the application uses Facelets technology the= main page index.xhtml represents an <include> (or facel= et) wrapped with the <ui:composition> tag. = + This tag is used to trim unnecessary markup in the= facelet. Any content outside of <ui:composition= > tag will be ignored by the Facelets view handler. = + A facelet can be incorporated into another page or= facelet with the help of <ui:define> and <ui:include> tags pointed = to by the <ui:include> "src&q= uot; attribute. = + The facelet may simply contain a fragment of XHTML= or XML to be included. + = + Here is index.xhtml page source code:= + + + = + + + + = + + + + = + + + + = + + + + + + + + + +]]> + + = + The snippet above shows that the index.xhtml= page does not contain sources for application functional parts but = includes them as templates that are rendered depending on conditions and ev= ents taking place during user interaction with the PhotoAlbum. = + The illustration below shows index.xhtml page schematically with it &qout;includes" and paths to them: + + + + + + = +
+ = + + --===============8683821706700443640==--