diff --git a/app/views/pages/home.thtml b/app/views/pages/home.thtml
index 2bf22191a..0fc08c4bb 100644
--- a/app/views/pages/home.thtml
+++ b/app/views/pages/home.thtml
@@ -4,19 +4,19 @@
Introducing Cake
-Cake is a structure of libraries, classes and run-time infrastructure for PHP programmers. It's also what I use at work. It's based on certain conventions, so you may find it rigid at first. The directory structure is already layed out, and it's different from what most people use. From what I've experienced, great many PHP programmers start as web- or graphic-designers, i.e. they are not university-educated programmers as many in the C++ and Java-land. They invent their own, peculiar ways of solving problems and stick to them. Perhaps that's why so few people use Pear and Pecl libraries – they don't usually re-use their code. And I was one of them. (=$this->linkOut('continued...','http://sputnik.pl/docs/intro')?>)
+Cake is a structure of libraries, classes and run-time infrastructure for PHP programmers. It's also what I use at work. It's based on certain conventions, so you may find it rigid at first. The directory structure is already laid out, and it's different from what most people use. From what I've experienced, a great many PHP programmers start as web- or graphic-designers, i.e. they are not university-educated programmers as many in C++ and Java-land. They invent their own, peculiar ways of solving problems and stick to them. Perhaps that's why so few people use PEAR and PECL libraries – they don't usually re-use their code. And I was one of them. (=$this->linkOut('continued...','http://sputnik.pl/docs/intro')?>)
Features
- compatibile with PHP4 and PHP5
- supplies integrated CRUD for database and simplified querying so you shouldn't need to write SQL for basic operations (although some familiarity with SQL is strongly recommended)
-- request dispatcher with good looking, custom URLs
+- request dispatcher with good-looking, custom URLs
- fast, flexible templating (PHP syntax with helper methods)
- works from a website subdirectory, with very little Apache configuration involved (requires
.htaccess
files and mod_rewrite
to work; these are available on most web servers)
-Cake is in it's early infancy, but it works and I'm using it on a few projects. Currently the Dispatcher is working, the Model has CRUD functionality but with no joins between tables yet. The Controller is working and has the most basic functions (including render()
for templating).
+Cake is in its early infancy, but it works and I'm using it on a few projects. Currently the Dispatcher is working, the Model has CRUD functionality but with no joins between tables yet. The Controller is working and has most basic functions (including render()
for templating).
Getting involved
diff --git a/config/paths.php b/config/paths.php
index f78c95578..bb968a28b 100644
--- a/config/paths.php
+++ b/config/paths.php
@@ -30,49 +30,49 @@
*/
/**
- * If index.php file is used instead of an .htaccess file
- * or if user can not set the web root to use the public
- * directory we will define ROOT there otherwise we set it
- * here
+ * If the index.php file is used instead of an .htaccess file
+ * or if the user can not set the web root to use the public
+ * directory we will define ROOT there, otherwise we set it
+ * here.
*/
if( !defined('ROOT') ){
define ('ROOT', '../');
}
/**
- * Path to the application directory.
+ * Path to the application's directory.
*/
define ('APP', ROOT.'app'.DS);
/**
- * Path to the application models directory.
+ * Path to the application's models directory.
*/
define ('MODELS', APP.'models'.DS);
/**
- * Path to the application controllers directory.
+ * Path to the application's controllers directory.
*/
define ('CONTROLLERS', APP.'controllers'.DS);
/**
- * Path to the application helpers directory.
+ * Path to the application's helpers directory.
*/
define ('HELPERS', APP.'helpers'.DS);
/**
- * Path to the application views directory.
+ * Path to the application's views directory.
*/
define ('VIEWS', APP.'views'.DS);
/**
- * Path to the application view layouts directory.
+ * Path to the application's view's layouts directory.
*/
define ('LAYOUTS', APP.'views'.DS.'layouts'.DS);
/**
- * Path to the application view elements directory.
+ * Path to the application's view's elements directory.
* It's supposed to hold pieces of PHP/HTML that are used on multiple pages
- * and are not linked to a particular layout (like polls, footers and so on)
+ * and are not linked to a particular layout (like polls, footers and so on).
*/
define ('ELEMENTS', APP.'views'.DS.'elements'.DS);
@@ -122,7 +122,7 @@ define ('CONTROLLER_TESTS',TESTS.'app'.DS.'controllers'.DS);
define ('HELPER_TESTS', TESTS.'app'.DS.'helpers'.DS);
/**
- * Path to the models test directory.
+ * Path to the models' test directory.
*/
define ('MODEL_TESTS', TESTS.'app'.DS.'models'.DS);
diff --git a/config/routes.php.default b/config/routes.php.default
index 3712d7621..9316e8c0e 100644
--- a/config/routes.php.default
+++ b/config/routes.php.default
@@ -33,20 +33,20 @@
*/
/**
- * Here, we are connecting '/' (base path) to controller called 'Pages',
- * its action called 'display', and we pass a param to select the view file
- * to use (in this case, /app/views/pages/home.thtml)...
+ * Here we are connecting '/' (base path) to a controller called 'Pages',
+ * and its action called 'display'. We pass a parameter to select the view file
+ * to use (in this case, /app/views/pages/home.thtml).
*/
$Route->connect ('/', array('controller'=>'Pages', 'action'=>'display', 'home'));
/**
- * ...and connect the rest of 'Pages' controller's urls.
+ * ...and connect the rest of 'Pages' controller's URLs.
*/
$Route->connect ('/pages/*', array('controller'=>'Pages', 'action'=>'display'));
/**
- * Then we connect url '/test' to our test controller. This is helpfull in
- * developement.
+ * Then we connect url '/test' to our test controller. This is helpful in
+ * development.
*/
$Route->connect ('/test', array('controller'=>'Tests', 'action'=>'test_all'));
diff --git a/config/tags.php b/config/tags.php
index 88fc93dc8..610f7179d 100644
--- a/config/tags.php
+++ b/config/tags.php
@@ -36,17 +36,17 @@
define('TAG_LINK', '%s');
/**
- * Tag template for openning form tag.
+ * Tag template for opening form tag.
*/
define('TAG_FORM', '