Browse files

Final commit before tagging Public Preview???

  • Loading branch information...
1 parent bf6fbae commit 3894a5bf7b7885c02c79a1afdae353a0545f5fff @KrisJordan KrisJordan committed Dec 25, 2008
@@ -1,6 +1,5 @@
Options FollowSymLinks
RewriteEngine On
-RewriteRule ^$ index.php [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ bootstrap.php [QSA,L]
@@ -0,0 +1,75 @@
+h1. "Recess! PHP Framework":
+Welcome to the Recess Framework Preview! Let's get going...
+h2. Requirements
+# Apache
+## mod_rewrite suggested
+# PHP 5.1 or greater (tested on 5.2.6)
+h2. Installation Process
+# Unzip contents into your web documents path (i.e. public_html)
+# On a development machine make these directories writeable by PHP:
+## apps/
+## recess/temp/
+## recess/sqlite/
+# Open recess-conf.php and set RecessConf::$defaultDatabase
+## If using MySQL: Uncomment the 'mysql:...' line and fill in DBNAME/USER/PASS
+## If using Sqlite: Uncomment the 'sqlite:...' line and name the database
+# Do you have mod_rewrite?
+## Yes: Open your browser to the location you unzipped
+## No: Open your browser to the location you unzipped followed by index.php
+# If you see "Welcome to Recess!" we're ready to rock.
+# This URL will be referenced {$installUrl}
+h2. Recess Tools Mini-tutorial
+# Browse to http://{$installUrl}/recess/ (i.e. http://localhost/recess)
+# Do you see Recess Tools? Good.
+# Click 'Database'
+## Make sure your default database shows up.
+# Click 'Apps' and let's start a new app
+## Click 'Start a New Application'
+## Human name: My First Recess App
+## Programmatic name: FirstApp [NEXT]
+## Url prefix: firstApp/ [NEXT]
+## Follow instructions to activate your first app.
+## In a new tab browse to http://{$installUrl}/firstApp/
+## Do you see a Hello page? Great.
+# Back in Recess Tools click 'Apps'
+# Click on 'My First Recess App' - this is your app dashboard.
+# Click on 'new' beside of Models
+## Name the model Post
+## Select 'Table does not exist.'
+## Add 2 properties:
+### title => String
+### body => Text
+## Click 'Generate Model'
+## Click 'Generate Scaffolding'
+## In your other tab browse to http://{$installUrl}/firstApp/post
+## Try creating a new post.
+# In your editor open the apps dir in your Recess install location.
+## Poke around in here to get a sense of what Tools just generated.
+# From here have fun, keep tinkering, and stay tuned to
+h2. On the Horizon
+Following the preview the priorities of Recess are:
+* Tutorials and Documentation (!!!)
+* Forms and Validation (Fairly naive in this preview release.)
+* Friendlier Production-mode Error Pages
+* More REST: Content-negotiation, HEAD, OPTIONS, etc.
+* More powerful Models
+Stay tuned, as questions and get involved at
+...and enjoy yourselves!
+Kris Jordan
@@ -8,9 +8,11 @@
<p>If you're seeing this message that means you've successfully installed Recess. <strong>Now for the fun part: building apps</strong>!</p>
<p>I appreciate your interest in the <strong><a href="">Recess Framework</a></strong>! I hope you'll find this preview release (mostly) functional and (a lot) fun. As you are checking out the framework and building apps stay plugged in at <a href=""></a>.</p>
<p>Recess ships with an application called '<strong><a href="recess/">Recess Tools</a></strong>'. This app is designed to help you kick off your new application and maintain a 'global' sense of your projects.</p>
-<p>This is the first <strong>Public Preview Release</strong> so expect some rough edges and <a href="">let us know when you get cut</a>.</p>
-<p><strong>Thanks! I hope you enjoy,</strong></p>
-<p><strong><a href="">Kris Jordan</a></strong> (<a href="">twitter</a>)</p>
+<p>This is the first <strong>Public Preview Release</strong> so expect some rough edges and <a href="">report the bugs that bite</a>.</p>
+<p><strong>Thanks! Let me know how it goes for you,</strong></p>
+<p><strong><a href="">Kris Jordan</a></strong>
+<br />(<a href="">twitter</a>)</p>
+<br />(<a href="">e-mail</a>)</p>
@@ -23,12 +23,12 @@
= array( //'sqlite:' . $_ENV['dir.bootstrap'] . 'recess/sqlite/default.db'
- 'mysql:host=localhost;dbname=recess', 'recess', 'recess'
+ //'mysql:host=localhost;dbname=DBNAME', 'USER', 'PASS'
- = array( // 'name' => array('sqlite:' . $_ENV['dir.bootstrap'] . 'recess/sqlite/default.db')
- // 'name' => array('mysql:host=localhost;dbname=recess', 'username', 'password')
+ = array( // 'nameFoo' => array('sqlite:' . $_ENV['dir.bootstrap'] . 'recess/sqlite/default.db')
+ // 'nameBar' => array('mysql:host=localhost;dbname=recess', 'username', 'password')
// Paths to the recess and apps directories
@@ -1,6 +1,6 @@
<div class="span-24 footer">
- <p class="quiet bottom"><a href="http://<?php echo $_ENV['url.base'] . 'blog/'; ?>">Blog</a> is &copy; <?php echo date('Y'); ?>
+ <p class="quiet bottom"><a href="http://<?php echo $_ENV['url.base'] . '{{routesPrefix}}'; ?>">{{appName}}</a> is &copy; <?php echo date('Y'); ?>
{Insert Kick-ass App Developer Name Here}. All rights reserved.
@@ -11,4 +11,6 @@
<hr />
+<a href="<?php echo $controller->urlTo('index'); ?>">Back to list of {{modelName}}s</a>
+<hr />
<?php include_once($viewsDir . 'common/footer.php'); ?>

0 comments on commit 3894a5b

Please sign in to comment.