Author: hugo.hamon
Date: 2010-03-01 00:11:57 +0100 (Mon, 01 Mar 2010)
New Revision: 28325
Modified:
doc/branches/1.4/jobeet/en/12.markdown
doc/branches/1.4/jobeet/es/12.markdown
doc/branches/1.4/jobeet/fr/12.markdown
doc/branches/1.4/jobeet/it/12.markdown
doc/branches/1.4/jobeet/ja/12.markdown
doc/branches/1.4/jobeet/ru/12.markdown
Log:
[doc] fixed chapter 12 of Jobeet tutorial
Modified: doc/branches/1.4/jobeet/en/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/en/12.markdown 2010-02-28 21:42:40 UTC (rev
28324)
+++ doc/branches/1.4/jobeet/en/12.markdown 2010-02-28 23:11:57 UTC (rev
28325)
@@ -5,8 +5,7 @@
fully useable by job seekers and job posters. It's time to talk a bit about
the backend application.
-Today, thanks to the ~admin generator|Admin Generator~ functionality of
-symfony, we will develop a complete backend interface for Jobeet in just one
+In this chapter, thanks to the ~admin generator|Admin Generator~ functionality
of symfony, we will develop a complete backend interface for Jobeet in just one
hour.
Backend Creation
@@ -159,20 +158,10 @@
<div id="menu">
<ul>
<li>
-<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Jobs', '@jobeet_job_job') ?>
-</doctrine>
</li>
<li>
-<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Categories', '@jobeet_category_category')
?>
-</doctrine>
</li>
</ul>
</div>
@@ -191,7 +180,7 @@
</html>
This layout uses an `admin.css` stylesheet. This file must already be present
-in `web/css/` as it was installed with the other stylesheets during day 4.
+in `web/css/` as it was installed with the other stylesheets during chapter 4.

@@ -260,10 +249,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -294,8 +283,8 @@
the forms
* `fields`: Default configuration for the fields
* `list`: Configuration for the list
- * `filter`: Configuration for the filters
- * `form`: Configuration for the new/edit form
+ * `filter`: Configuration for filters
+ * `form`: Configuration for new and edit forms
* `edit`: Specific configuration for the edit page
* `new`: Specific configuration for the new page
@@ -553,12 +542,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
}
@@ -643,12 +627,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -703,24 +682,17 @@
$this->getUser()->setFlash('notice', 'No job to delete.');
}
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
}
<propel>
-We have reused the `JobeetJobPeer::cleanup()` method defined yesterday. That's
-another great example of the reusability provided by the MVC pattern.
+We have reused the `JobeetJobPeer::cleanup()` method defined in the previous
chapter. That's another great example of the reusability provided by the MVC
pattern.
</propel>
<doctrine>
-We have reused the `JobeetJobTable::cleanup()` method defined yesterday. That's
-another great example of the reusability provided by the MVC pattern.
+We have reused the `JobeetJobTable::cleanup()` method defined in the previous
chapter. That's another great example of the reusability provided by the MVC
pattern.
</doctrine>
>**NOTE**
@@ -926,11 +898,6 @@
</doctrine>
class BackendJobeetJobForm extends JobeetJobForm
{
- public function configure()
- {
- parent::configure();
- }
-
protected function removeFields()
{
unset(
@@ -1136,10 +1103,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -1200,10 +1167,10 @@
plural: ~
route_prefix: jobeet_category
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -1238,15 +1205,13 @@
>in
>`cache/backend/dev/modules/autoJob/lib/BaseJobGeneratorConfiguration.class.php`.
-See you Tomorrow
-----------------
+Final Thoughts
+--------------
In just one hour, we have built a fully featured backend interface for the
Jobeet project. And all in all, we have written less than 50 lines of PHP
code. Not too bad for so many features!
-Tomorrow, we will see how to secure the backend application with a username
-and a password. This will also be the occasion to talk about the symfony user
-class.
+In the following chapter, we will see how to secure the backend application
with a username and a password. This will also be the occasion to talk about
the symfony user class.
__ORM__
\ No newline at end of file
Modified: doc/branches/1.4/jobeet/es/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/es/12.markdown 2010-02-28 21:42:40 UTC (rev
28324)
+++ doc/branches/1.4/jobeet/es/12.markdown 2010-02-28 23:11:57 UTC (rev
28325)
@@ -128,20 +128,10 @@
<div id="menu">
<ul>
<li>
-<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Jobs', '@jobeet_job_job') ?>
-</doctrine>
</li>
<li>
-<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Categories', '@jobeet_category_category')
?>
-</doctrine>
</li>
</ul>
</div>
@@ -220,10 +210,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -480,12 +470,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
}
@@ -561,12 +546,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -613,12 +593,7 @@
$this->getUser()->setFlash('notice', 'No job to delete.');
}
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -1001,10 +976,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -1065,10 +1040,10 @@
plural: ~
route_prefix: jobeet_category
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
Modified: doc/branches/1.4/jobeet/fr/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/fr/12.markdown 2010-02-28 21:42:40 UTC (rev
28324)
+++ doc/branches/1.4/jobeet/fr/12.markdown 2010-02-28 23:11:57 UTC (rev
28325)
@@ -159,20 +159,10 @@
<div id="menu">
<ul>
<li>
-<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Jobs', '@jobeet_job_job') ?>
-</doctrine>
</li>
<li>
-<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Categories', '@jobeet_category_category')
?>
-</doctrine>
</li>
</ul>
</div>
@@ -260,10 +250,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -553,12 +543,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
}
@@ -643,12 +628,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -703,12 +683,7 @@
$this->getUser()->setFlash('notice', 'No job to delete.');
}
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -1136,10 +1111,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -1200,10 +1175,10 @@
plural: ~
route_prefix: jobeet_category
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
Modified: doc/branches/1.4/jobeet/it/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/it/12.markdown 2010-02-28 21:42:40 UTC (rev
28324)
+++ doc/branches/1.4/jobeet/it/12.markdown 2010-02-28 23:11:57 UTC (rev
28325)
@@ -162,20 +162,10 @@
<div id="menu">
<ul>
<li>
-<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Jobs', '@jobeet_job_job') ?>
-</doctrine>
</li>
<li>
-<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Categories', '@jobeet_category_category')
?>
-</doctrine>
</li>
</ul>
</div>
@@ -263,10 +253,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -541,12 +531,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
}
@@ -1147,10 +1132,10 @@
plural: ~
route_prefix: jobeet_category
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
Modified: doc/branches/1.4/jobeet/ja/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/ja/12.markdown 2010-02-28 21:42:40 UTC (rev
28324)
+++ doc/branches/1.4/jobeet/ja/12.markdown 2010-02-28 23:11:57 UTC (rev
28325)
@@ -117,20 +117,10 @@
<div id="menu">
<ul>
<li>
-<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Jobs', '@jobeet_job_job') ?>
-</doctrine>
</li>
<li>
-<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Categories', '@jobeet_category_category')
?>
-</doctrine>
</li>
</ul>
</div>
@@ -206,10 +196,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -532,12 +522,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -584,12 +569,7 @@
$this->getUser()->setFlash('notice', 'No job to delete.');
}
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -960,10 +940,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -1024,10 +1004,10 @@
plural: ~
route_prefix: jobeet_category
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
Modified: doc/branches/1.4/jobeet/ru/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/ru/12.markdown 2010-02-28 21:42:40 UTC (rev
28324)
+++ doc/branches/1.4/jobeet/ru/12.markdown 2010-02-28 23:11:57 UTC (rev
28325)
@@ -186,20 +186,10 @@
<div id="menu">
<ul>
<li>
-<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Jobs', '@jobeet_job_job') ?>
-</doctrine>
</li>
<li>
-<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
-</propel>
-<doctrine>
- <?php echo link_to('Categories', '@jobeet_category_category')
?>
-</doctrine>
</li>
</ul>
</div>
@@ -298,10 +288,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -584,12 +574,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
}
@@ -674,12 +659,7 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -733,12 +713,7 @@
$this->getUser()->setFlash('notice', 'No job to delete.');
}
-<propel>
$this->redirect('@jobeet_job');
-</propel>
-<doctrine>
- $this->redirect('@jobeet_job_job');
-</doctrine>
}
// ...
@@ -1171,10 +1146,10 @@
plural: ~
route_prefix: jobeet_job
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
@@ -1240,10 +1215,10 @@
plural: ~
route_prefix: jobeet_category
<propel>
- with_propel_route: 1
+ with_propel_route: true
</propel>
<doctrine>
- with_doctrine_route: 1
+ with_doctrine_route: true
</doctrine>
config:
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.