You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/01/20 16:25:33 UTC

svn commit: r498124 - in /tapestry/tapestry5/tapestry-project/trunk/src/site/resources: tap5devwiki.html tap5devwiki.xml

Author: hlship
Date: Sat Jan 20 07:25:32 2007
New Revision: 498124

URL: http://svn.apache.org/viewvc?view=rev&rev=498124
Log:
More thoughts into the wiki.

Modified:
    tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.html
    tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.xml

Modified: tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.html?view=diff&rev=498124&r1=498123&r2=498124
==============================================================================
--- tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.html (original)
+++ tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.html Sat Jan 20 07:25:32 2007
@@ -5183,13 +5183,15 @@
 <div tiddler="InvisibleInstrumentation" modifier="HowardLewisShip" modified="200610201803" created="200610201802" tags="">A feature of Tapestry 4 where the component id, type and parameters were &quot;hidden&quot; inside ordinary HTML tags.\n\nThis will show up inside Tapestry 5 pretty soon, and look something like:\n{{{\n&lt;span t:type=&quot;If&quot; t:test=&quot;prop:showWarning&quot; class=&quot;warning&quot;&gt; \n  . . .\n&lt;/span&gt;\n}}}</div>
 <div tiddler="LogicalPageName" modifier="HowardLewisShip" modified="200610081330" created="200610081330" tags="">A logical page name is the name of a page as it is represented in a URI.\n\nInternally, Tapestry operates on pages using full qualified class names. Technically, the FQCN is the class of the page's root element, but from an end developer point of view, the root element is the page.\n\nThe logical page name must be converted to a fully qualified class name.\n\nA set of LibraryMappings are used.  Each library mapping is used to express a folder name, such as &quot;core&quot;, with a Java package name, such as org.apache.tapestry.corelib.  For pages, the page name is searched for in the pages sub-package (i.e., org.apache.tapestry.corelib.pages).  Component libraries have unique folder names mapped to root packages that contain the pages (and components, and mixins) of that library.\n\nWhen there is no folder name, the page is expected to be part of the application, 
 under the pages sub-package of the application's root package.\n\nIf not found there, as a special case, the name is treated as if it were prefixed with &quot;core/&quot;.  This allows access to the core pages (and more importantly, components -- the search algorithm is the same).\n\nFinally, pages may be organized into folders.  These folders become further sub-packages. Thus as page name of &quot;admin/EditUsers&quot; may be resolved to class org.example.myapp.pages.admin.EditUsers.\n\n</div>
 <div tiddler="MainMenu" modifier="HowardLewisShip" modified="200609210701" created="200609210643" tags="">MasterIndex\n[[RSS feed|tap5devwiki.xml]]\n\n[[Tapestry 5 Home|http://tapestry.apache.org/tapestry5/]]\n[[Howard's Blog|http://howardlewisship.com/blog/]]\n\n[[Formatting Help|http://www.blogjones.com/TiddlyWikiTutorial.html#EasyToEdit%20Welcome%20NewFeatures%20WhereToFindHelp]]</div>
-<div tiddler="MasterIndex" modifier="HowardLewisShip" modified="200701161448" created="200609202214" tags="">Top level concepts within Tapestry 5.\n\nA //meta-note//: This is where new ideas are first explained, usually before being implemented. In many cases, the final implementation is\nnot a perfect match for the notes. That's OK ... as long as the official Maven documentation does a good job. It's not reasonable to expect developers to jump back in here and dot every i and cross every t if they're already expected to generate good Maven documentation.\n\n* PropBinding -- Notes on the workhorse &quot;prop:&quot; binding prefix\n* TypeCoercion -- How Tapestry 5 extensibly addresses type conversion\n* FormProcessing\n* DynamicPageState -- tracking changes to page state during the render\n* EnvironmentalServices -- how components cooperate during page render\n* ComponentMixins -- A new fundamental way to build web functionality\n* RequestTypes -- Requests, request processing
 , URL formats\n* ComponentTemplates -- Issues about Component Templates\n* DeveloperProcedures -- Your a Tapestry committer ... how do you makes changes?\n* SmartDefaults -- do even more with event less\n* RandomIdeas -- stuff that doesn't fit elsewhere\n* ProblemsNeedingSolutions\n* ComponentDocumentation -- Generating Documentation about Components\n* TapestryLookAndFeel -- Default CSS\n* [[Assets]]\n* CaseInsensitivity -- case in URLs should not matter\n* FullReload -- Why limit reloading to just components?\n\n</div>
+<div tiddler="MasterIndex" modifier="HowardLewisShip" modified="200701201404" created="200609202214" tags="">Top level concepts within Tapestry 5.\n\nA //meta-note//: This is where new ideas are first explained, usually before being implemented. In many cases, the final implementation is\nnot a perfect match for the notes. That's OK ... as long as the official Maven documentation does a good job. It's not reasonable to expect developers to jump back in here and dot every i and cross every t if they're already expected to generate good Maven documentation.\n\n* PropBinding -- Notes on the workhorse &quot;prop:&quot; binding prefix\n* TypeCoercion -- How Tapestry 5 extensibly addresses type conversion\n* FormProcessing\n* DynamicPageState -- tracking changes to page state during the render\n* EnvironmentalServices -- how components cooperate during page render\n* ComponentMixins -- A new fundamental way to build web functionality\n* RequestTypes -- Requests, request processing
 , URL formats\n* ComponentTemplates -- Issues about Component Templates\n* DeveloperProcedures -- Your a Tapestry committer ... how do you makes changes?\n* SmartDefaults -- do even more with event less\n* RandomIdeas -- stuff that doesn't fit elsewhere\n* ProblemsNeedingSolutions\n* ComponentDocumentation -- Generating Documentation about Components\n* TapestryLookAndFeel -- Default CSS\n* [[Assets]]\n* CaseInsensitivity -- case in URLs should not matter\n* FullReload -- Why limit reloading to just components?\n* RelativeURLs -- rendered links should be short and relative to the base URL\n* SecureClientState -- securing state stored on the client\n\n\n</div>
 <div tiddler="OGNL" modifier="HowardLewisShip" modified="200610071249" created="200609202254" tags="">The [[Object Graph Navigation Library|http://ognl.org]] was an essential part of Tapestry 4.\n\nOGNL is both exceptionally powerful (especially the higher order things it can do, such as list selections and projections). However, for the highest\nend sites, it is also a performance problem, both because of its heavy use of reflection, and because it uses a lot of code inside synchronized blocks.\n\nIt will be optional in Tapestry 5. I believe it will not be part of the tapestry-core, but may be packaged as tapestry-ognl.\n\nThe &quot;prop:&quot; binding prefix is an effective replacement for OGNL in Tapestry 5.   See PropBinding.\n</div>
-<div tiddler="PageRenderRequest" modifier="HowardLewisShip" modified="200610081333" created="200610071313" tags="">Page render requests are requests used to render a specific page.  //render// is the term meaning to compose the HTML response to be sent to the client. Note: HTML is used here only as the most common case, other markups are entirely possible.\n\nIn many cases, pages are stand-alone.  No extra information in the URL is necesarry to render them.  PersistentProperties of the page will factor in to the rendering of the page.\n\nIn specific cases, a page needs to render within a particular context. The most common example of this is a page that is used to present a specific instance of a database persistent entity. In such a case, the page must be combined with additional data, in the URL, to identify the specific entity to access and render.\n\n! URI Format\n\n{{{\n/page-name.html/id\n}}}\n\nHere &quot;page-name&quot; is the LogicalPageName for the page. \n\nThe &q
 uot;.html&quot; file extension is used as a delimiter between the page name portion of the URI, and the context portion of the URI. This is necessary because it is not possible (given the plethora of libraries and folders) to determine how many slashes will appear in the URI.\n\nThe context consists of one ore more ids (though a single id is the normal case). The id is used to identify the specific data to be displayed. Further, a page may require multiple ids, which will separated with slashes. Example: /admin/DisplayDetail.html/loginfailures/2006\n\nNote that these context values, the ids, are simply //strings//. Tapestry 4 had a mechanism, the DataSqueezer, that would encode the type of object with its value, as a single string, and convert it back. While seemingly desirable, this facility was easy to abuse, resulting in long and extremely ugly URIs.\n\nAny further information needed by Tapestry will be added to the URI as query parameters. This may include things like us
 er locale, persistent page properties, applicaition flow identifiers, or anything else we come up with.\n\n! Request Processing\n\nOnce the page and id parameters are identified, the corresponding page will be loaded.\n\nTapestry will fire two events before rendering the page.\n\nThe first event is of type &quot;setupPageRender&quot;.  This allows the page to process the context (the set of ids). This typically involves reading objects from an external persistent store (a database)\nand storing those objects into transient page properties, in expectaion of the render.\n\nThe @SetupPageRender annotation marks a method to be invoked when this event is triggered.  The method may take one or more strings, or an array of strings, as parameters; these will be\nthe context values.  The method will normally return void.  Other values are ''TBD''. It may also take other simple types, which will be coerced from the string values.\n\n{{{\n@SetupPageRender\nvoid setup(long id)\n{\n  . .
  .\n}\n}}}\n\n\n\nThe second event is of type &quot;pageValidate&quot;.  It allows the page to decide whether the page is valid for rendering at this time. This most often involves a check to see if the user is logged into the application, and has the necessary privileges to display the contents of the page.  User identity and privileges are //not// concepts built into Tapestry, but are fundamental to the majority of Tapestry applications.</div>
+<div tiddler="PageRenderRequest" modifier="HowardLewisShip" modified="200701201348" created="200610071313" tags="">Page render requests are requests used to render a specific page.  //render// is the term meaning to compose the HTML response to be sent to the client. Note: HTML is used here only as the most common case, other markups are entirely possible.\n\nIn many cases, pages are stand-alone.  No extra information in the URL is necesarry to render them.  PersistentProperties of the page will factor in to the rendering of the page.\n\nIn specific cases, a page needs to render within a particular context. The most common example of this is a page that is used to present a specific instance of a database persistent entity. In such a case, the page must be combined with additional data, in the URL, to identify the specific entity to access and render.\n\n! URI Format\n\n{{{\n/page-name.html/id\n}}}\n\nHere &quot;page-name&quot; is the LogicalPageName for the page. \n\nThe &q
 uot;.html&quot; file extension is used as a delimiter between the page name portion of the URI, and the context portion of the URI. This is necessary because it is not possible (given the plethora of libraries and folders) to determine how many slashes will appear in the URI.\n\nThe context consists of one ore more ids (though a single id is the normal case). The id is used to identify the specific data to be displayed. Further, a page may require multiple ids, which will separated with slashes. Example: /admin/DisplayDetail.html/loginfailures/2006\n\nNote that these context values, the ids, are simply //strings//. Tapestry 4 had a mechanism, the DataSqueezer, that would encode the type of object with its value, as a single string, and convert it back. While seemingly desirable, this facility was easy to abuse, resulting in long and extremely ugly URIs.\n\nAny further information needed by Tapestry will be added to the URI as query parameters. This may include things like us
 er locale, persistent page properties, applicaition flow identifiers, or anything else we come up with.\n\n! Request Processing\n\nOnce the page and id parameters are identified, the corresponding page will be loaded.\n\nTapestry will fire two events before rendering the page.\n\nThe first event is of type &quot;activate&quot;.  This allows the page to process the context (the set of ids). This typically involves reading objects from an external persistent store (a database)\nand storing those objects into transient page properties, in expectaion of the render.\n\nThis has been implemented, see the reference documentation for more details on passivate/activate.\n</div>
 <div tiddler="ProblemsNeedingSolutions" modifier="HowardLewisShip" modified="200701032351" created="200611230401" tags="">There are a few things that I'm concerned about.\n\n!Render Complexity\n\nAll those states in the render component state machine may be a little much, especially ~PreBeginRender, ~BeginRender and ~PostBeginRender.  In addition, it doesn't work for a case I'm interested in ... for link components, I'd like to use the RenderInformals mixin, but also support a disable parameter that turns off the &lt;a&gt; tag (but still renders the body).  The state machine currently is set up so that returning false in any of the ~BeginRender states skips all the way to ~AfterRender, bypassing the template and/or body.\n\nStill don't have a perfect solution for the above (it may not be solvable via mixins, which may show limitations in the component/mixin model).  I have added a @MixinAfter annotation which simplifies the state machine somewhat.</div>
 <div tiddler="PropBinding" modifier="HowardLewisShip" modified="200610201450" created="200609202203" tags="bindings">The &quot;prop:&quot; binding prefix is the default in a  lot of cases, i.e., in any Java code (annotations).\n\nThis binding prefix  supports several common idioms even though they are not, precisely, the names of properties.  In many cases, this will save developers the bother of using a &quot;literal:&quot; prefix.\n\nThe goal of the &quot;prop:&quot; prefix is to be highly efficient and useful in 90%+ of the cases. [[OGNL]], or synthetic properties in the component class, will pick up the remaining cases.\n\n!Numeric literals\n\nSimple numeric literals should be parsed into read-only, invariant bindings.\n{{{\nprop:5\n\nprop:-22.7\n}}}\n\nThe resulting objects will be of type Long or type Double. TypeCoercion will ensure that component parameters get values (say, int or float) of the correct type.\n\n!Range literals\n\nExpresses a range of integer values, 
 either ascending or descending.\n{{{\nprop:1..10\n\nprop:100..-100\n}}}\n\nThe value of such a binding is Iterable; it can be used by the Loop component.\n\n!Boolean literals\n\n&quot;true&quot; and &quot;false&quot; should also be converted to invariant bindings.\n{{{\nprop:true\n\nprop:false\n}}}\n\n!String literals\n\n//Simple// string literals, enclosed in single quotes.  Example:\n{{{\nprop:'Hello World'\n}}}\n\n//Remember that the binding expression will always be enclosed in double quotes.//\n\n!This literal\n\nIn some cases, it is useful to be able to identify the current component:\n{{{\nprop:this\n}}}\n\nEven though a component is not immutable, the value of //this// does not ever change,\nand this binding is also invariant.\n\n!Null literal\n\n{{{\nprop:null\n}}}\n\nThis value is always exactly null. This can be used to set a parameter who'se default value is non-null to the explicit value null.\n\n!Property paths\n\nMulti-step property paths are extremely importa
 nt.\n\n{{{\nprop:poll.title\n\nprop:identity.user.name\n}}}\n\nThe initial terms need to be readable, they are never updated. Only the final property name must be read/write, and in fact, it is valid to be read-only or write-only.\n\nThe prop: binding factory builds a Java expression to read and update properties. It does not use reflection at runtime. Therefore, the properties of the //declared// type are used. By contrast, [[OGNL]] uses the //actual// type, which is reflection-intensive. Also, unlike OGNL, errors (such as missing properties in the property path) are identified when the page is loaded, rather than when the expression is evaluated.\n</div>
 <div tiddler="RandomIdeas" modifier="HowardLewisShip" modified="200701032346" created="200611040039" tags="">!HTML / XHTML DTDs\n\nThe template parser should include local (in JAR) copies of the HTML and XHTML DTDs and redirect the parser to use the local copies. This can be a huge performance boost when parsing a template.\n\n!final should imply @Retain\n\nFinal fields should be treated as if they have the @Retain annotation\n\n! Exceptions from event handler / phase render methods\n\nTapestry should wrap non-runtime exceptions from these methods. I think today, if you declare that such a method throws an exception, you'll get a runtime exception out of Javassist.\n\n! SubForms\n\nPerhaps one way to approach highly dynamic, Ajax pages with forms is to have a logical &quot;sub form&quot; concept. A sub form would work inside an existing form, and organize a group of fields within that form. Processing of the fields would occur only if the sub form was active, which itself\nw
 ould be tracked based on visibility of the sub form (a sub form in an invisible panel would not be processed on the server side).  This idea needs a lot of fleshing out, even to see if it is viable.\n\n! Ajax Constraints\n\nThe best way to tackle Ajax features, especially w.r.t. forms, is to put some sensible constraints on what the user can do, then make it easy to implement those things.\n\nBasically ... never delete!  Deletions are a real pain to handle, unless I suddenly get much smarter.  Allow things to be hidden on the client side,\nand for the corresponding fields to do nothing on the server side, but don't allow them to full out delete. \n\nAllow new things to be added, preferable only at the &quot;tail end&quot; of the form. \n\n! SPI Package\n\nA number of interfaces, such as Binding, probably belong in a SPI (Service Provider Interface) package, since they will generally only be used by authors of Tapestry extensions.  Perhaps we should just use the oat.services 
 package as the SPI package?\n\n! Deducing Component Types\n\nSeems to me that a &lt;form&gt; element with a t:id should be a Form component.  Likewise, &lt;input type=&quot;text&quot; t:id=&quot;foo&quot;/&gt; should be a TextField component.  A basic set of rules, via a configuration, could allow for a number of cases (mostly related to input controls) to //do the right thing//.</div>
+<div tiddler="RelativeURLs" modifier="HowardLewisShip" modified="200701201403" created="200701201403" tags="">Currently, in T4, when Tapestry creates a URL to an asset, or to an action or page, it generates a complete URI (that is, the URL with the scheme and hostname portion stripped off).\n\nHowever, Tapestry could quite reasonably, compare the request's base URL to the URI for the link, and shorten it from an absolute path to a relative path.\n\nFor instance, when rendering /context/admin/AdminMenu.html, a link to /context/images/admin/border.png could ultimately show up in the HTML as ../../images/admin/border.png.\n\nThis would be especially handy for action events; /context/admin/AdminMenu.action/form  would be rendered out as just AdminMenu.action/form.</div>
 <div tiddler="RequestTypes" modifier="HowardLewisShip" modified="200610081334" created="200610071243" tags="request">There are three broad categories of user requests (requests from the client web browser):\n\n* PageRenderRequest -- requests to render a specific page, possibly with some configuration\n* ComponentActionRequest -- requests that trigger behaivor within a specific component\n* ResourceRequest -- requests that access a resource file within the classpath\n\nEach of these requests has a specific URI format.</div>
+<div tiddler="SecureClientState" modifier="HowardLewisShip" modified="200701201420" created="200701201420" tags="request state">In several places, including form submissions, Tapestry stores serialized object data on the client.\n\nThe basic process for this is to serialize the data to a bytestream, compress the bytestream using GZip, then encode the compressed bytestream using MIME BASE64 encoding.\n\nLater, the process is reversed.\n\nThis is a powerful approach, but introduces two concerns:\n\n* The MIME encoded string can become quite large (especially for very large and complex forms).  This may impact the use of GET request for forms (where that would be appropriate, such as a search form), and may also prevent applications from executing well on limited platforms such as cell phones and PDAs.\n\n* A sufficiently clever &quot;black hat&quot; hacker could hijack the serialized bytestream and substitute different serialized objects, towards some kind of mischief.\n\nAn a
 pproach to be explored (possibly using an add-in module) would be to store the serialized data on the server, in a flat file or embedded database.\n\nOnly an identifier for the serialized data would be sent to the client.\n\nThe identifier would be &quot;salted&quot; with the user's session id (if available) or perhaps the user's IP address (if no session exists).  Or we would force the creation of a session.\n\nThese ideas raise some new concerns related to clustering, especially if sticky sessions are not used.\n\n\nIn my opinion, it is highly unlikely that any significant compromise could be accomplished in this way.</div>
 <div tiddler="SideBarTabs" modifier="HowardLewisShip" modified="200609210652" created="200609210651" tags="">&lt;&lt;tabs txtMainTab Timeline Timeline TabTimeline All 'All tiddlers' TabAll Tags 'All tags' TabTags More 'More lists' TabMore&gt;&gt;\n</div>
 <div tiddler="SiteSubtitle" modifier="HowardLewisShip" modified="200609202249" created="200609202155" tags="">\nThe quick and dirty one-stop shopping of random ideas for Tapestry 5.</div>
 <div tiddler="SiteTitle" modifier="HowardLewisShip" modified="200609202249" created="200609202155" tags="">Tapestry 5 Brain Dump</div>

Modified: tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.xml?view=diff&rev=498124&r1=498123&r2=498124
==============================================================================
--- tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.xml (original)
+++ tapestry/tapestry5/tapestry-project/trunk/src/site/resources/tap5devwiki.xml Sat Jan 20 07:25:32 2007
@@ -6,21 +6,41 @@
 <description>The quick and dirty one-stop shopping of random ideas for Tapestry 5.</description>
 <language>en-us</language>
 <copyright>Copyright 2007 HowardLewisShip</copyright>
-<pubDate>Tue, 16 Jan 2007 14:51:05 GMT</pubDate>
-<lastBuildDate>Tue, 16 Jan 2007 14:51:05 GMT</lastBuildDate>
+<pubDate>Sat, 20 Jan 2007 14:20:06 GMT</pubDate>
+<lastBuildDate>Sat, 20 Jan 2007 14:20:06 GMT</lastBuildDate>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <generator>TiddlyWiki 2.0.11</generator>
 <item>
-<title>FullReload</title>
-<description>It has occured to me that by adding yet another smart class loader, we could possibly set up a system where we track date time modified on all the modules, service interfaces, and implementation files loaded by the Registry, such that changes to any of the files could result in a kind of &quot;soft reload&quot;, where we reload the changed files and construct and use a new Registry.</description>
-<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#FullReload</link>
-<pubDate>Tue, 16 Jan 2007 14:50:26 GMT</pubDate>
+<title>SecureClientState</title>
+<description>In several places, including form submissions, Tapestry stores serialized object data on the client.&lt;br /&gt;&lt;br /&gt;The basic process for this is to serialize the data to a bytestream, compress the bytestream using GZip, then encode the compressed bytestream using MIME BASE64 encoding.&lt;br /&gt;&lt;br /&gt;Later, the process is reversed.&lt;br /&gt;&lt;br /&gt;This is a powerful approach, but introduces two concerns:&lt;br /&gt;&lt;br /&gt;* The MIME encoded string can become quite large (especially for very large and complex forms).  This may impact the use of GET request for forms (where that would be appropriate, such as a search form), and may also prevent applications from executing well on limited platforms such as cell phones and PDAs.&lt;br /&gt;&lt;br /&gt;* A sufficiently clever &quot;black hat&quot; hacker could hijack the serialized bytestream and substitute different serialized objects, towards some kind of mischief.&lt;br /&gt;&lt;br /&gt
 ;An approach to be explored (possibly using an add-in module) would be to store the serialized data on the server, in a flat file or embedded database.&lt;br /&gt;&lt;br /&gt;Only an identifier for the serialized data would be sent to the client.&lt;br /&gt;&lt;br /&gt;The identifier would be &quot;salted&quot; with the user's session id (if available) or perhaps the user's IP address (if no session exists).  Or we would force the creation of a session.&lt;br /&gt;&lt;br /&gt;These ideas raise some new concerns related to clustering, especially if sticky sessions are not used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In my opinion, it is highly unlikely that any significant compromise could be accomplished in this way.</description>
+<category>request</category>
+<category>state</category>
+<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#SecureClientState</link>
+<pubDate>Sat, 20 Jan 2007 14:20:06 GMT</pubDate>
 </item>
 <item>
 <title>MasterIndex</title>
-<description>Top level concepts within Tapestry 5.&lt;br /&gt;&lt;br /&gt;A //meta-note//: This is where new ideas are first explained, usually before being implemented. In many cases, the final implementation is&lt;br /&gt;not a perfect match for the notes. That's OK ... as long as the official Maven documentation does a good job. It's not reasonable to expect developers to jump back in here and dot every i and cross every t if they're already expected to generate good Maven documentation.&lt;br /&gt;&lt;br /&gt;* PropBinding -- Notes on the workhorse &quot;prop:&quot; binding prefix&lt;br /&gt;* TypeCoercion -- How Tapestry 5 extensibly addresses type conversion&lt;br /&gt;* FormProcessing&lt;br /&gt;* DynamicPageState -- tracking changes to page state during the render&lt;br /&gt;* EnvironmentalServices -- how components cooperate during page render&lt;br /&gt;* ComponentMixins -- A new fundamental way to build web functionality&lt;br /&gt;* RequestTypes -- Requests, requ
 est processing, URL formats&lt;br /&gt;* ComponentTemplates -- Issues about Component Templates&lt;br /&gt;* DeveloperProcedures -- Your a Tapestry committer ... how do you makes changes?&lt;br /&gt;* SmartDefaults -- do even more with event less&lt;br /&gt;* RandomIdeas -- stuff that doesn't fit elsewhere&lt;br /&gt;* ProblemsNeedingSolutions&lt;br /&gt;* ComponentDocumentation -- Generating Documentation about Components&lt;br /&gt;* TapestryLookAndFeel -- Default CSS&lt;br /&gt;* [[Assets]]&lt;br /&gt;* CaseInsensitivity -- case in URLs should not matter&lt;br /&gt;* FullReload -- Why limit reloading to just components?&lt;br /&gt;&lt;br /&gt;</description>
+<description>Top level concepts within Tapestry 5.&lt;br /&gt;&lt;br /&gt;A //meta-note//: This is where new ideas are first explained, usually before being implemented. In many cases, the final implementation is&lt;br /&gt;not a perfect match for the notes. That's OK ... as long as the official Maven documentation does a good job. It's not reasonable to expect developers to jump back in here and dot every i and cross every t if they're already expected to generate good Maven documentation.&lt;br /&gt;&lt;br /&gt;* PropBinding -- Notes on the workhorse &quot;prop:&quot; binding prefix&lt;br /&gt;* TypeCoercion -- How Tapestry 5 extensibly addresses type conversion&lt;br /&gt;* FormProcessing&lt;br /&gt;* DynamicPageState -- tracking changes to page state during the render&lt;br /&gt;* EnvironmentalServices -- how components cooperate during page render&lt;br /&gt;* ComponentMixins -- A new fundamental way to build web functionality&lt;br /&gt;* RequestTypes -- Requests, requ
 est processing, URL formats&lt;br /&gt;* ComponentTemplates -- Issues about Component Templates&lt;br /&gt;* DeveloperProcedures -- Your a Tapestry committer ... how do you makes changes?&lt;br /&gt;* SmartDefaults -- do even more with event less&lt;br /&gt;* RandomIdeas -- stuff that doesn't fit elsewhere&lt;br /&gt;* ProblemsNeedingSolutions&lt;br /&gt;* ComponentDocumentation -- Generating Documentation about Components&lt;br /&gt;* TapestryLookAndFeel -- Default CSS&lt;br /&gt;* [[Assets]]&lt;br /&gt;* CaseInsensitivity -- case in URLs should not matter&lt;br /&gt;* FullReload -- Why limit reloading to just components?&lt;br /&gt;* RelativeURLs -- rendered links should be short and relative to the base URL&lt;br /&gt;* SecureClientState -- securing state stored on the client&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
 <link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#MasterIndex</link>
-<pubDate>Tue, 16 Jan 2007 14:48:59 GMT</pubDate>
+<pubDate>Sat, 20 Jan 2007 14:04:15 GMT</pubDate>
+</item>
+<item>
+<title>RelativeURLs</title>
+<description>Currently, in T4, when Tapestry creates a URL to an asset, or to an action or page, it generates a complete URI (that is, the URL with the scheme and hostname portion stripped off).&lt;br /&gt;&lt;br /&gt;However, Tapestry could quite reasonably, compare the request's base URL to the URI for the link, and shorten it from an absolute path to a relative path.&lt;br /&gt;&lt;br /&gt;For instance, when rendering /context/admin/AdminMenu.html, a link to /context/images/admin/border.png could ultimately show up in the HTML as ../../images/admin/border.png.&lt;br /&gt;&lt;br /&gt;This would be especially handy for action events; /context/admin/AdminMenu.action/form  would be rendered out as just AdminMenu.action/form.</description>
+<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#RelativeURLs</link>
+<pubDate>Sat, 20 Jan 2007 14:03:43 GMT</pubDate>
+</item>
+<item>
+<title>PageRenderRequest</title>
+<description>Page render requests are requests used to render a specific page.  //render// is the term meaning to compose the HTML response to be sent to the client. Note: HTML is used here only as the most common case, other markups are entirely possible.&lt;br /&gt;&lt;br /&gt;In many cases, pages are stand-alone.  No extra information in the URL is necesarry to render them.  PersistentProperties of the page will factor in to the rendering of the page.&lt;br /&gt;&lt;br /&gt;In specific cases, a page needs to render within a particular context. The most common example of this is a page that is used to present a specific instance of a database persistent entity. In such a case, the page must be combined with additional data, in the URL, to identify the specific entity to access and render.&lt;br /&gt;&lt;br /&gt;! URI Format&lt;br /&gt;&lt;br /&gt;{{{&lt;br /&gt;/page-name.html/id&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;Here &quot;page-name&quot; is the LogicalPageName for th
 e page. &lt;br /&gt;&lt;br /&gt;The &quot;.html&quot; file extension is used as a delimiter between the page name portion of the URI, and the context portion of the URI. This is necessary because it is not possible (given the plethora of libraries and folders) to determine how many slashes will appear in the URI.&lt;br /&gt;&lt;br /&gt;The context consists of one ore more ids (though a single id is the normal case). The id is used to identify the specific data to be displayed. Further, a page may require multiple ids, which will separated with slashes. Example: /admin/DisplayDetail.html/loginfailures/2006&lt;br /&gt;&lt;br /&gt;Note that these context values, the ids, are simply //strings//. Tapestry 4 had a mechanism, the DataSqueezer, that would encode the type of object with its value, as a single string, and convert it back. While seemingly desirable, this facility was easy to abuse, resulting in long and extremely ugly URIs.&lt;br /&gt;&lt;br /&gt;Any further informatio
 n needed by Tapestry will be added to the URI as query parameters. This may include things like user locale, persistent page properties, applicaition flow identifiers, or anything else we come up with.&lt;br /&gt;&lt;br /&gt;! Request Processing&lt;br /&gt;&lt;br /&gt;Once the page and id parameters are identified, the corresponding page will be loaded.&lt;br /&gt;&lt;br /&gt;Tapestry will fire two events before rendering the page.&lt;br /&gt;&lt;br /&gt;The first event is of type &quot;activate&quot;.  This allows the page to process the context (the set of ids). This typically involves reading objects from an external persistent store (a database)&lt;br /&gt;and storing those objects into transient page properties, in expectaion of the render.&lt;br /&gt;&lt;br /&gt;This has been implemented, see the reference documentation for more details on passivate/activate.&lt;br /&gt;</description>
+<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#PageRenderRequest</link>
+<pubDate>Sat, 20 Jan 2007 13:48:51 GMT</pubDate>
+</item>
+<item>
+<title>FullReload</title>
+<description>It has occured to me that by adding yet another smart class loader, we could possibly set up a system where we track date time modified on all the modules, service interfaces, and implementation files loaded by the Registry, such that changes to any of the files could result in a kind of &quot;soft reload&quot;, where we reload the changed files and construct and use a new Registry.</description>
+<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#FullReload</link>
+<pubDate>Tue, 16 Jan 2007 14:50:00 GMT</pubDate>
 </item>
 <item>
 <title>CaseInsensitivity</title>
@@ -113,27 +133,6 @@
 <description>Tapestry is a big chunk of code, growing every day. We need to not step on each other's toes.&lt;br /&gt;&lt;br /&gt;//At this time, Tapestry is pretty single threaded, with Howard setting up the main infrastructure.  Soon there's going to be a crowd of folks working on it, and we need to coordinate on this ahead of time.//&lt;br /&gt;&lt;br /&gt;Basic guidelines:&lt;br /&gt;&lt;br /&gt;* WorkInYourOwnBranch&lt;br /&gt;* WatchCodeCoverage&lt;br /&gt;* FocusOnTesting&lt;br /&gt;* DontTouchInternals&lt;br /&gt;</description>
 <link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#DeveloperProcedures</link>
 <pubDate>Sat, 28 Oct 2006 15:25:00 GMT</pubDate>
-</item>
-<item>
-<title>InvisibleInstrumentation</title>
-<description>A feature of Tapestry 4 where the component id, type and parameters were &quot;hidden&quot; inside ordinary HTML tags.&lt;br /&gt;&lt;br /&gt;This will show up inside Tapestry 5 pretty soon, and look something like:&lt;br /&gt;{{{&lt;br /&gt;&lt;span t:type=&quot;If&quot; t:test=&quot;prop:showWarning&quot; class=&quot;warning&quot;&gt; &lt;br /&gt;  . . .&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;}}}</description>
-<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#InvisibleInstrumentation</link>
-<pubDate>Fri, 20 Oct 2006 18:03:00 GMT</pubDate>
-</item>
-<item>
-<title>PropBinding</title>
-<description>The &quot;prop:&quot; binding prefix is the default in a  lot of cases, i.e., in any Java code (annotations).&lt;br /&gt;&lt;br /&gt;This binding prefix  supports several common idioms even though they are not, precisely, the names of properties.  In many cases, this will save developers the bother of using a &quot;literal:&quot; prefix.&lt;br /&gt;&lt;br /&gt;The goal of the &quot;prop:&quot; prefix is to be highly efficient and useful in 90%+ of the cases. [[OGNL]], or synthetic properties in the component class, will pick up the remaining cases.&lt;br /&gt;&lt;br /&gt;!Numeric literals&lt;br /&gt;&lt;br /&gt;Simple numeric literals should be parsed into read-only, invariant bindings.&lt;br /&gt;{{{&lt;br /&gt;prop:5&lt;br /&gt;&lt;br /&gt;prop:-22.7&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;The resulting objects will be of type Long or type Double. TypeCoercion will ensure that component parameters get values (say, int or float) of the correct type.&lt;br /&gt;&l
 t;br /&gt;!Range literals&lt;br /&gt;&lt;br /&gt;Expresses a range of integer values, either ascending or descending.&lt;br /&gt;{{{&lt;br /&gt;prop:1..10&lt;br /&gt;&lt;br /&gt;prop:100..-100&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;The value of such a binding is Iterable; it can be used by the Loop component.&lt;br /&gt;&lt;br /&gt;!Boolean literals&lt;br /&gt;&lt;br /&gt;&quot;true&quot; and &quot;false&quot; should also be converted to invariant bindings.&lt;br /&gt;{{{&lt;br /&gt;prop:true&lt;br /&gt;&lt;br /&gt;prop:false&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;!String literals&lt;br /&gt;&lt;br /&gt;//Simple// string literals, enclosed in single quotes.  Example:&lt;br /&gt;{{{&lt;br /&gt;prop:'Hello World'&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;//Remember that the binding expression will always be enclosed in double quotes.//&lt;br /&gt;&lt;br /&gt;!This literal&lt;br /&gt;&lt;br /&gt;In some cases, it is useful to be able to identify the current component:&lt;br /&gt;{{{&
 lt;br /&gt;prop:this&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;Even though a component is not immutable, the value of //this// does not ever change,&lt;br /&gt;and this binding is also invariant.&lt;br /&gt;&lt;br /&gt;!Null literal&lt;br /&gt;&lt;br /&gt;{{{&lt;br /&gt;prop:null&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;This value is always exactly null. This can be used to set a parameter who'se default value is non-null to the explicit value null.&lt;br /&gt;&lt;br /&gt;!Property paths&lt;br /&gt;&lt;br /&gt;Multi-step property paths are extremely important.&lt;br /&gt;&lt;br /&gt;{{{&lt;br /&gt;prop:poll.title&lt;br /&gt;&lt;br /&gt;prop:identity.user.name&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;The initial terms need to be readable, they are never updated. Only the final property name must be read/write, and in fact, it is valid to be read-only or write-only.&lt;br /&gt;&lt;br /&gt;The prop: binding factory builds a Java expression to read and update properties. It does not use r
 eflection at runtime. Therefore, the properties of the //declared// type are used. By contrast, [[OGNL]] uses the //actual// type, which is reflection-intensive. Also, unlike OGNL, errors (such as missing properties in the property path) are identified when the page is loaded, rather than when the expression is evaluated.&lt;br /&gt;</description>
-<category>bindings</category>
-<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#PropBinding</link>
-<pubDate>Fri, 20 Oct 2006 14:50:00 GMT</pubDate>
-</item>
-<item>
-<title>ComponentEvent</title>
-<description>Component events represent the way in which incoming requests are routed to user-supplied Java methods.&lt;br /&gt;&lt;br /&gt;Component events //primarily// originate as a result of a ComponentActionRequest, though certain other LifecycleEvents will also originate component events.&lt;br /&gt;&lt;br /&gt;Each component event contains:&lt;br /&gt;* An event type; a string that identifies the type of event&lt;br /&gt;* An event source; a component that orginates the event (where applicable)&lt;br /&gt;* A context; an array of strings associated with the event&lt;br /&gt;&lt;br /&gt;Event processing starts with the component that originates the event.&lt;br /&gt;&lt;br /&gt;Handler methods for the event within the component are invoked.&lt;br /&gt;&lt;br /&gt;If no handler method aborts the event, then handlers for the originating component's container are invoked.&lt;br /&gt;&lt;br /&gt;This containues until handlers for the page (the root component) are invoked,
  or until some handler method aborts the event.&lt;br /&gt;&lt;br /&gt;The event is aborted when a handler method returns a non-null, non-void value.  The interpretation of that value varies based on the type of event.&lt;br /&gt;&lt;br /&gt;Events are routed to handler methods using the @~OnEvent annotation.&lt;br /&gt;&lt;br /&gt;This annotation is attached to a method within a component class.  This method becomes a handler method for an event.&lt;br /&gt;&lt;br /&gt;The annotation allows events to be filtered by event type or by originating component.&lt;br /&gt;&lt;br /&gt;{{{&lt;br /&gt;  @OnEvent(value=&quot;submit&quot;, component=&quot;form&quot;)&lt;br /&gt;  String handleSubmit()&lt;br /&gt;  {&lt;br /&gt;    // . . .&lt;br /&gt;&lt;br /&gt;   return &quot;PostSubmit&quot;;&lt;br /&gt;  }&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;In the above hypothetical example, a handler method is attached to a particular component's submit event.  After processing the data in the 
 form, the LogicalPageName of another page within the application is returned. The client browser will be redirected to that page.&lt;br /&gt;&lt;br /&gt;Handler methods need not be public; they are most often package private (which facilitated UnitTesting of the component class).&lt;br /&gt;&lt;br /&gt;Handler methods may take parameters.  This is most useful with handler methods related to links, rather than forms.&lt;br /&gt;&lt;br /&gt;Associated with each event is the context, a set of strings defined by the application programmer.&lt;br /&gt;&lt;br /&gt;Parameters are coerced (see TypeCoercion) from these strings.  Alternately, a parameter of type String[] receives the set of strings.&lt;br /&gt;&lt;br /&gt;{{{&lt;br /&gt;  @OnEvent(component=&quot;delete&quot;)&lt;br /&gt;  String deleteAccount(long accountId)&lt;br /&gt;  {&lt;br /&gt;    // . . .&lt;br /&gt;&lt;br /&gt;   return &quot;AccountPage&quot;;&lt;br /&gt;  }&lt;br /&gt;}}}&lt;br /&gt;&lt;br /&gt;Here, ther 
 first context value has been coerced to a long and passed to the deleteAccount() method. Presemuable, an action link on the page, named &quot;delete&quot;, is the source of this event.&lt;br /&gt;&lt;br /&gt;</description>
-<category>requests</category>
-<category>events</category>
-<link>http://tapestry.apache.org/tapestry5/tap5devwiki.html#ComponentEvent</link>
-<pubDate>Sun, 08 Oct 2006 13:59:00 GMT</pubDate>
 </item>
 </channel>
 </rss>