First off, CakePHP _HAS_ code generation (see the bake script).
I believe that skills needed should be OO and general knowledge about
PHP.
Ajax / Javascript FX requires an external library to be downloaded and
extracted to the js folder on the web root dir. You already have
built-in functions that handle AJAX calls.
HTML helpers are included that generate links, image tags, and most
form elements (including date / time selectors)
The code is pretty straightforward. Here is a sample:
----------8<----------
<?php
class MembersController extends AppController {
var $name = 'Members';
var $helpers = array('html', 'belacena');
var $components = array('belacena');
var $uses = array('Member', 'Country');
function index() {
}
function login() {
$loginError = 0;
if(!empty($this->data)) {
$member =& new Member();
$memberInfo =
$member->findByNick($this->data['Member']['login']);
if(!$memberInfo ||
$memberInfo['Member']['password'] !=
$member->encodePassword($memberInfo['Member']['nick'],
$this->data['Member']['password'])) {
$loginError = 1;
}
else {
if(!$memberInfo['Member']['activo']) {
$loginError = 2;
}
}
if($loginError) {
$this->Session->write('login_error',
$loginError);
}
else {
$this->Session->write('Member',
$memberInfo['Member']);
}
}
$this->redirect('/');
}
function logout() {
$this->Session->delete('Member');
$this->redirect('/');
}
}
?>
----------8<----------
The installation is easy. Just extract the framework to a folder, and
configure the database. It's a smart enough cookie to configure all the
paths correctlly for you (and keeps them in handy constants too)
Community: check http://www.cakephp.org/ (IRC, this google group, the
bakery and the wiki). People on IRC are friendlly too. They bash you in
the head with style for not reading documentation ;)
On Oct 18, 11:17 am, "jchatard" <[EMAIL PROTECTED]> wrote:
> MJ Ray wrote:
> > Can you publish it in a web format (html, text, PDF, even CSV...)
> > please?Ok, here it is :http://www.jchatard.info/cakephp.html
>
> Jérémy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---