<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ViewLifecycle</title><link>https://sourceforge.net/p/pexeso-php/wiki/ViewLifecycle/</link><description>Recent changes to ViewLifecycle</description><atom:link href="https://sourceforge.net/p/pexeso-php/wiki/ViewLifecycle/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 20 May 2014 18:10:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pexeso-php/wiki/ViewLifecycle/feed" rel="self" type="application/rss+xml"/><item><title>ViewLifecycle modified by Jan Volf</title><link>https://sourceforge.net/p/pexeso-php/wiki/ViewLifecycle/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="view-life-cycle"&gt;View Life-cycle&lt;/h1&gt;
&lt;p&gt;Each time user interacts with the view it goes thru the following stages: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Initialization stage&lt;/strong&gt; - create view from PXML document &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Restore state stage&lt;/strong&gt; - restore state from post-back on view's update &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Execute stage&lt;/strong&gt; - move to next state &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Save State&lt;/strong&gt; - capture new state and serialize it to be rendered &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Render stage&lt;/strong&gt; - render the view &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It is the life-cycle of the view. It can be invoked in two different ways: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;created&lt;/strong&gt;&lt;br /&gt;
     View is created when user navigates it's user agent to the link that renders a view. &lt;br /&gt;
&lt;strong&gt;updated&lt;/strong&gt;&lt;br /&gt;
     View is updated when user interacts with already rendered view. &lt;/p&gt;
&lt;p&gt;See the diagram: &lt;img alt="View Lifecycle Diagram" src="/apps/trac/pexeso-php/raw-attachment/wiki/ViewLifecycle/View%20Lifecycle.png" /&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Volf</dc:creator><pubDate>Tue, 20 May 2014 18:10:40 -0000</pubDate><guid>https://sourceforge.netd6a9edee4339d9b7b792998c6fe992a4dbe1accf</guid></item></channel></rss>