Skip to Main Content
PHP for Absolute Beginners
book

PHP for Absolute Beginners

by Thomas Blom Hansen, Jason Lengstorf
August 2014
Beginner content levelBeginner
256 pages
6h 48m
English
Apress
Content preview from PHP for Absolute Beginners

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP and MySQL® Web Development, Fourth Edition

PHP and MySQL® Web Development, Fourth Edition

Luke Welling, Laura Thomson

Publisher Resources

ISBN: 9781430268147Purchase book