Upload_transparent

CakePHP tutorial no. 2 from IBM

 
 
 
 
 
Download PDF FREE
Value This
Doc
Scribd
Average
     
Pages: 37 43
Words: 7549 13640
Characters: 50266 81678
Lines: 574 623
     
     
Letters per word: 6.66 5.99
Words per line: 13.15 21.89
Words per page: 204.03 317.21

Add to your reading list

Flag_red Flag this document

Document Information

75,215 Reads | 0 Comments

Description

The 2. tutorial about CakePHP from IBM

Pdf_16x16 37 Pages


Date Added

03/07/2007

Category

Uncategorized.

Tags
Groups
Awards

Flame Rising

Copyright

Attribution Non-commercial

More info »

 

alcooltan

alcooltan

i dont like scribd. it's so clunky. sorry ...

11/18/2008
leleu

leleu

I notice in the ACL section, WRT the "redirect" methods (when you try to access the page w/o being logged in) there is a bug. When you set redirect with an action (look at the line $this->redirect( array('action'=>'index'), null, true)) that you do not leave the Products controller (i.e. you get taken to the products index, rather than the login page). I believe the line should be: $this->redirect( '/users/index'); This will take you to the login page. You could set a variable to return you to the requested product page (from the original click, pre-login). Then you would have to modify the login controller, so that if $redir is set, you go there; otherwise goto the default page after login. As much as I love this series, anyone else think it could use another review? I noticed several of these little bugs in it. Maybe I'll write the author...

03/11/2008