Tuesday, January 22, 2013

First CakePHP 2.2.5 install ==> 2 questions : Q1 about dispatcher and Q2 about tracing mechanism

Hi all,

I am just starting with PHP and CakePHP... I have installed CakePHP with a Softaculous script from my web host provider.

I also made the "Blog Post" tutorial work. (http://book.cakephp.org/2.0/en/index.html#build-a-blog )

Q1) 
When I type MyDomain.com/cake all verification stuff works (PHP version , /tmp, MySQL link test , etc.). But what exactly is happening? How is the Dispatcher invoked? Are there hooks into PHP and/or Apache?  How is this magic working?

And when I try MyDomain.com/cake/index.php I get error messages...

Q2) I have the "Blog Post" tutorial working (MyDomain.com/cake/posts/index) but how do I mask the tracing information on my working rendered web page? (class information + SQL stuff that I want to hide)

Many thanks!
Frank

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: