Talk in English - US at ZendCon 2017
View Slides: https://www.dropbox.com/s/kdu066k6etefkyi/Prepared-V06.pdf?dl=0
Checkout the code: https://github.com/ewbarnard/PreparedStatements
Short URL: https://joind.in/talk/9cd27 (QR-Code (opens in new window))
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.