NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Re: CakePHP tutorial


Joined: 20 Sep 2006
Posts: 59
Reply with quote
I just got the email about the cakePHP tutorial. very cool!

But I use Zend Framework, some of the ideas transfer nicely, but I still have some questions about MVC in general.

Say I have a MVC application, and I want to debug the customer page ( app/model/customer.php )

how would I do that?

I can't just open customer.php and click run because it will open http://mywebserver/app/model/customer.php and I want to open http://mywebserver/customer/

I'd like to see some sort of setting where you tell PhpEd that you are in MVC mode and that customer.php maps to http://mywebserver/customer/ and index.php maps to http://mywebserver/ etc...

I guess these mappings would be different for each MVC framework -- so Cake would differ from Zend? etc. Or are they the same?

Comments anyone?

monk.e.boy
View user's profileFind all posts by monkiesSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
and I want to open http://mywebserver/customer/

if it is http://mywebserver/customer/index.php you want to open, just set index.php (with full path) as a DEFAULT FILE TO RUN in the project settings.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] Re: CakePHP tutorial
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic