O'Reilly logo

FuelPHP Application Development Blueprints by Sébastien Drouyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Refining the front-end

We now have to refine the front-end of our website, that is to say what visitors will see.

Refining the posts' listing

If you request the following URL:

http://myblog.app/blog/post

You will see the scaffold we generated earlier with scaffold/orm.

Deleting useless features

The first important thing to do is to prevent any edition on our posts. As we did several times for the administration panel, remove the create, edit and delete actions of the Post controller and their associated views. Note that, here, we are talking about the Post controller located at BLOGPATH/classes/controller/post.php, since we are working on the website's front-end. You can also delete the BLOGPATH/views/admin/post/_form.php view file, as it is only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required