When using a PHP framework, standard practice is to use an Object-Relational Model (ORM) for database access. However, with high-volume logging and statistics-gathering, it pays to go "old school" with PHP prepared statements. Meanwhile, when MySQL tables quickly grow by millions of rows, table storage space becomes an issue. Our table design must focus on keeping these tables more compact and efficient. Here too, prepared statements simplify both coding and table design. This session will use CakePHP 3's excellent support for PHP prepared statements, but all concepts are native to PHP and apply to any project striking this use case.

Comments

Comments are closed.

Kirt Jeppson at 11:29 on 24 Oct 2017

Thanks for this. I can see my self using this a lot in my permission as a some what custodian of the code.

Solid introductory talk on normalization and prepared statements.

Tim Ledlie at 09:55 on 27 Oct 2017

Clear introduction

Elli at 10:49 on 27 Oct 2017

Learned a lot and will be implementing this at work!

Although a lot of this information was basic and things I already knew, the presentation was done in an engaging manner. I learned a few things, not as new concepts, but as correct terms for practices I already imply. There was one slide I wanted to screen cap and show my coworker. "See, this is why we normalize our tables!" Thanks for the great talk.