Commits

Greg Slepak committed 1f54433

more doc updates

  • Participants
  • Parent commits e48b8fe

Comments (0)

Files changed (3)

File example-site/includes/css/screen.css

 		font-family: Arial, "MS Trebuchet", sans-serif;
 	}
 
-	#content p a { color: #00aeef; text-decoration: none; border-bottom: 1px dotted #00aeef; }
+	#content p a, #content li a {
+		color: #00aeef;
+		text-decoration: none;
+		border-bottom: 1px dotted #00aeef;
+	}
 		
 	#content .author {
 		color:#00aeef;
 		line-height:17px;
 	}
 
-	#content li a { color: #00aeef; text-decoration: none; }
+/*	#content li a { color: #00aeef; text-decoration: none; }
 	#content li a:hover {  text-decoration: underline; }
-
+*/
 	/* Code Styling */
 
 	span.code {

File example-site/views/dragonfly_routes.html

 			the convention of prepending "Route." to their name to avoid namespace conflicts.
 		</p>
 		<p>
+			They are stored in the <span class="code">DF:dragonfly-routes</span> list
+			where they are asked, one-by-one, whether they wish to handle the current request. The first route to say "yes" gets run.
+		</p>
+		<p>
 			This document describes Dragonfly's two default routes: <span class="code">Route.Static</span> and <span class="code">Route.Resource</span>.
 		</p>
 		<h2>Static Routes</h2>
 			Dragonfly supports the creation of powerful web applications through
 			the use of clean RESTful routes.
 		</p>
-		<p><span class="code">Route.Resource</span> handles URLs that refer to RESTful resources, also represented as FOOP objects derived from the Resource context. The configuration parameter <span class="code">RESOURCES_PATH</span> specifies the folder containing the resources as .lsp files, one per resource.</p>
+		<p><span class="code">Route.Resource</span> handles URLs that refer to RESTful resources, which are represented as FOOP objects deriving from the <span class="code">Resource</span> context. The configuration parameter <span class="code">RESOURCES_PATH</span> specifies the folder containing the resources as .lsp files, one per resource.</p>
 		<p>The URL scheme works in a similar manner to twitter's RESTful API:</p>
 		<pre class="code">http://mysite.com/<b>resource</b>[/<b>action</b>][/<b>id</b>][.<b>format</b>][?get params..]</pre>
 		
 				return false;
 			});
 		</script>
-		<p class="continue"><% (link_to "CONTINUE &raquo;" "dragonfly_views") %></p>
+		<p class="continue"><% (link_to "CONTINUE &raquo;" "dragonfly_create_routes") %></p>
 		<div class="clear"></div>
 		<div class="line-dotted"></div>
 

File example-site/views/partials/navigation.html

 		<div class="menu clearfix" style="display:none;">
 			<dl class="L">
 				<dt>Getting started</dt>
-				<dd><% (link_to  "Welcome" "dragonfly_welcome") %></dd>
+				<dd><% (link_to  "Setting up Dragonfly" "dragonfly_welcome") %></dd>
 
 				<dt>Routes</dt>
 				<dd><% (link_to  "Default routes" "dragonfly_routes") %></dd>
-				<dd><% (link_to  "Creating your own" "dragonfly_routes") %></dd>
+				<dd><% (link_to  "Creating your own routes" "dragonfly_create_routes") %></dd>
 				
 				<dt>Templates</dt>
 				<dd><% (link_to  "Creating templates" "dragonfly_views") %></dd>