summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2005-12-28 21:13:47 +0000
committerxue <>2005-12-28 21:13:47 +0000
commit44b22f20072d65fc37f5a6fcf6efc5a746ed3f40 (patch)
treedf25252a4171baa2c915e7aa66c8fa3cff3351ab
parent3faa0d7fd4dc3442330c6037886d300412934cd1 (diff)
-rw-r--r--.gitattributes2
-rw-r--r--demos/quickstart/protected/pages/Samples/Hangman.page15
-rw-r--r--demos/quickstart/protected/pages/Samples/HelloWorld.page25
3 files changed, 0 insertions, 42 deletions
diff --git a/.gitattributes b/.gitattributes
index dc258c94..c718616c 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -64,8 +64,6 @@ demos/quickstart/protected/pages/Fundamentals/objectdiagram.vsd -text
demos/quickstart/protected/pages/GettingStarted/AboutPrado.page -text
demos/quickstart/protected/pages/GettingStarted/Installation.page -text
demos/quickstart/protected/pages/GettingStarted/Introduction.page -text
-demos/quickstart/protected/pages/Samples/Hangman.page -text
-demos/quickstart/protected/pages/Samples/HelloWorld.page -text
demos/quickstart/protected/pages/ViewSource.page -text
demos/quickstart/protected/pages/ViewSource.php -text
demos/quickstart/protected/pages/config.xml -text
diff --git a/demos/quickstart/protected/pages/Samples/Hangman.page b/demos/quickstart/protected/pages/Samples/Hangman.page
deleted file mode 100644
index e39b3e11..00000000
--- a/demos/quickstart/protected/pages/Samples/Hangman.page
+++ /dev/null
@@ -1,15 +0,0 @@
-<com:TContent ID="body" >
-
-<h1>Sample: Hangman Game</h1>
-<p>
-Having seen the simple "Hello World" application, we now build a more complex application called "Hangman Game". In this game, the player is asked to guess a word, a letter at a time. If he guesses a letter right, the letter will be shown in the word. The player can continue to guess as long as the number of his misses is within a prespecified bound. The player wins the game if he finds out the word within the miss bound, or he loses.
-</p>
-<p>
-To facilitate the building of this game, we show the state transition diagram of the gaming process in the following,
-</p>
-<p>
-To be continued...
-</p>
-<com:RunBar PagePath="Samples.Hangman.Home" />
-
-</com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Samples/HelloWorld.page b/demos/quickstart/protected/pages/Samples/HelloWorld.page
deleted file mode 100644
index 1723d741..00000000
--- a/demos/quickstart/protected/pages/Samples/HelloWorld.page
+++ /dev/null
@@ -1,25 +0,0 @@
-<com:TContent ID="body" >
-<h1>Sample: Hello World</h1>
-<p>
-"Hello World" perhaps is the simplest <i>interactive</i> PRADO application that you can build. It displays to end-users a page with a submit button whose caption is <i>Click Me</i>. When the user clicks on the button, the button changes the caption to <i>Hello World</i>.
-</p>
-<p>
-There are many approaches that can achieve the above goal. One can submit the page to the server, examine the POST variable, and generate a new page with the button caption updated. Or one can simply use JavaScript to update the button caption upon its <i>onclick</i> event.
-</p>
-<p>
-PRADO promotes component-based and event-driven Web programming. The button is represented by a <i>TButton</i> object. It encapsulates the button caption as the <i>Text</i> property and associates the user button click action with a server-side <i>Click</i> event. Therefore, the "Hello World" task can be handled intuitively and easily. One simply needs to attach a function to the button's <i>Click</i> event. Within the function, the button's <i>Text</i> property is modified as "Hello World". The following diagram shows the above sequence,
-</p>
-<img src="<%~HelloWorld/sequence.gif%>" />
-<p>
-The code that a developer needs to write is merely the following event handler function, where <tt>$sender</tt> refers to the button object.
-</p>
-<pre class="source">
-public function buttonClicked($sender,$param)
-{
- $sender-&gt;Text="Hello World";
-}
-</pre>
-
-<com:RunBar PagePath="Samples.HelloWorld.Home" />
-
-</com:TContent> \ No newline at end of file