It's Blog about coding Blog in PHP with sidequests.
This blog is going to be about coding in PHP. As an example I will chose to work on simple, brand new Blogging solution with focus on performance and code maintainability.
Short introduction how to install PHP and run sample php script.
Short overview of Object Oriented Programming in PHP with some common features that are going to be used during development of this blog.
Creating database connection class and introduction how to work with data in PHP, solution to some common issues when working with data such as batch inserts or out of memory exceptions.
Building layer to help with common operations such as create, read, update and delete (CRUD).
Simple PHP repository implementation, using repository for constructing and persisting application objects.
Short introduction to unit testing, difference between pure and impure functions.
Mock object, simple implementation, unit testing with mock object.
Collecting Test Results
Generic convention based one to one data mapper.
Grouping related repositories into units, simple usage within the controllers.
Lazy object initialization.
PHP class loader.
Simple session component implementation.