![]() |
HOWTO: Create a Lightweight Front Controller for PHP5
|
Thanks for sharing. I've been through the whole article, but the whole principle's not very clear. Like this;
pages/guestbook/GuestbookActions.php When I change $this->forward("guestbook", "tryLater"); to $this->forward("home", "tryLater"); it still gets to pages/guestbook/doTryLater.php. Am I doing something wrong? |
Never mind, I fixed it already. I had to create a
HomeActions.php in pages/home/. :) |
Looks pretty good, just skimmed through it. Nothing to spike my intrests but my mate is working on a OOP class for images. Drawing grids and stuff.
|
When I create a form in
pages/guestbook/createPostView.php, where should I point it to? And where should I handle the form? |
| All times are GMT. The time now is 07:32 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0