Return to profile for Alain Schlesser

Using A Doctrine ORM Model To Query WordPress Data

40 minute advanced seminar

Description/Proposal

The modern PHP world is all about interoperability. While you can already use all sorts of packages within your WordPress project, it is still difficult to consume WordPress data within another context.

In this talk, we will explore the possibility to build a Doctrine ORM model around the WordPress data structures, letting us build code that brings WordPress a tiny bit closer to a hexagonal architecture. Build your logic once, and reuse it in plugins, a CLI tool, or a Silex REST API server.