CHAPTER 6

image

Data Objects

“I’m an idealist. I don’t know where I’m going, but I’m on my way.” —Carl Sandburg, Incidentals (1904)

Chapter Objectives/Student Learning Outcomes

After completing this chapter, the student will be able to:

  • Create a data class that inserts, updates, and deletes XML or JSON data
  • Explain how to create a data class that updates MySQL data using a SQL script
  • Create a PHP program that creates a change backup log
  • Create a PHP program that can recover data from a previous backup
  • Apply changes to create up-to-date valid information
  • Use dependency injection to attach a data class to another class in the BR tier
  • Create a three-tier ...

Get Learn PHP 7: Object-Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.