O'Reilly logo

PHP for Absolute Beginners by Jason Lengstorf, Thomas Blom Hansen

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

CHAPTER 8

image

Showing Blog Entries

The entry editor is well on its way. You can use it to create new blog entries, which will be saved in the database. You are probably slowly developing some understanding of the model-view-controller (MVC) paradigm, but surely, you need some more practice to become comfortable using it.

In this chapter, you will learn how to display all blog entries on your index.php page. In the process, you will revisit much of what you have seen or learned so far. I will also introduce the following new topics:

  • Making a new front controller
  • Updating your table data gateway: adding a method to your Blog_Entry_Table class
  • Iterating ...

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