Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tweaked the URL to the hosted mode page.

  • Loading branch information...
commit 96a7ea1cf57157400a450fcbc3a59e60aa742ddf 1 parent 7a82d5a
Spiffy UI Framework authored

Showing 1 changed file with 40 additions and 40 deletions. Show diff stats Hide diff stats

  1. 80  README.md
80  README.md 100755 → 100644
Source Rendered
... ...
@@ -1,40 +1,40 @@
1  
-[Hello Spiffy PHP](http://www.spiffyui.org) - GWT made simple
2  
-==================================================
3  
-
4  
-Hello Spiffy PHP is a sample application using the [Spiffy UI Framework](http://www.spiffyui.org). It builds a simple REST application with Apache Ant and runs on PHP.
5  
-
6  
-
7  
-Building and Running Spiffy UI
8  
---------------------------------------
9  
-
10  
-Hello Spiffy PHP is built with [Apache Ant](http://ant.apache.org/) using [Apache Ivy](http://ant.apache.org/ivy/) and deployed to [PHP](http://php.net/).  Once you've installed Ant, PHP, and a web server like [Apache HTTP](http://httpd.apache.org/),  go to your Hello-Spiffy-PHP working copy and run this command:
11  
-
12  
-        <ANT_HOME>/ant
13  
-        
14  
-The ant command will download the required libraries and build the Hello Spiffy PHP project. 
15  
-
16  
-To deploy the Hello Spiffy PHP application, copy the contents of the target/www directory from your Hello-Spiffy-PHP working copy of to your web server server.  Run the application by accessing the index.html file. 
17  
-
18  
-Hello Spiffy PHP as a REST application
19  
---------------------------------------
20  
-
21  
-PHP files normally serve at a specific URL.  That works well for searching web pages, but not for REST.  
22  
-
23  
-To make our application support the name as part of the URL we're using the <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html">Apache mod_rewrite</a> module.  This requires your Apache server to have mod_rewrite installed and enabled.  If you do then you can just define a rewrite rule in your .htaccess file like this:
24  
-
25  
-       RewriteEngine on
26  
-       RewriteRule ^hellospiffyphp/(.*)$ hellospiffyphp.php?name=$1&%{QUERY_STRING} 
27  
-       
28  
-This rule will take requests to hellospiffyphp/John and send them to hellospiffyphp.php?name=John.  If your server doesn't support mod_rewrite you can just change the client to pass the name as an URL parameter.  
29  
-
30  
-Debugging through Eclipse
31  
---------------------------------------
32  
-
33  
-Depending on your web server's configuration, you will probably need to modify your devmode launch configuration file to use the port of your web server.  See [Spiffy UI's GWT Dev Mode page](http://www.spiffyui.org/#!b=hostedMode) for more information.
34  
-
35  
-License
36  
---------------------------------------
37  
-
38  
-Hello Spiffy PHP is available under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
39  
-
40  
-
  1
+[Hello Spiffy PHP](http://www.spiffyui.org) - GWT made simple
  2
+==================================================
  3
+
  4
+Hello Spiffy PHP is a sample application using the [Spiffy UI Framework](http://www.spiffyui.org). It builds a simple REST application with Apache Ant and runs on PHP.
  5
+
  6
+
  7
+Building and Running Spiffy UI
  8
+--------------------------------------
  9
+
  10
+Hello Spiffy PHP is built with [Apache Ant](http://ant.apache.org/) using [Apache Ivy](http://ant.apache.org/ivy/) and deployed to [PHP](http://php.net/).  Once you've installed Ant, PHP, and a web server like [Apache HTTP](http://httpd.apache.org/),  go to your Hello-Spiffy-PHP working copy and run this command:
  11
+
  12
+        <ANT_HOME>/ant
  13
+        
  14
+The ant command will download the required libraries and build the Hello Spiffy PHP project. 
  15
+
  16
+To deploy the Hello Spiffy PHP application, copy the contents of the target/www directory from your Hello-Spiffy-PHP working copy of to your web server server.  Run the application by accessing the index.html file. 
  17
+
  18
+Hello Spiffy PHP as a REST application
  19
+--------------------------------------
  20
+
  21
+PHP files normally serve at a specific URL.  That works well for searching web pages, but not for REST.  
  22
+
  23
+To make our application support the name as part of the URL we're using the <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html">Apache mod_rewrite</a> module.  This requires your Apache server to have mod_rewrite installed and enabled.  If you do then you can just define a rewrite rule in your .htaccess file like this:
  24
+
  25
+       RewriteEngine on
  26
+       RewriteRule ^hellospiffyphp/(.*)$ hellospiffyphp.php?name=$1&%{QUERY_STRING} 
  27
+       
  28
+This rule will take requests to hellospiffyphp/John and send them to hellospiffyphp.php?name=John.  If your server doesn't support mod_rewrite you can just change the client to pass the name as an URL parameter.  
  29
+
  30
+Debugging through Eclipse
  31
+--------------------------------------
  32
+
  33
+Depending on your web server's configuration, you will probably need to modify your devmode launch configuration file to use the port of your web server.  See [Spiffy UI's GWT Dev Mode page](http://www.spiffyui.org/#!hostedMode) for more information.
  34
+
  35
+License
  36
+--------------------------------------
  37
+
  38
+Hello Spiffy PHP is available under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
  39
+
  40
+

0 notes on commit 96a7ea1

Please sign in to comment.
Something went wrong with that request. Please try again.