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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.