WordPress for Modern Developers
summary
Runs Lumen as a WordPress theme to get routing, Blade-style templates and Eloquent-style controllers inside WP, capturing WordPress’s template-hierarchy attempts and mapping them to Lumen routes so author-sam → route works. Uses corcel to model WP posts, hands WordPress’s mysqli connection into Eloquent via a custom mysqli driver to avoid a second DB connection, and replaces the fragile WP Loop by collecting post IDs and loading stable models. Prototype works but is experimental and not production-ready.
AI-written summary · about
chapters (10)
- 0:00Intro
- 1:05Freelancer/Consultant PHP Developer Code Monger
- 5:29Making WordPress More Developer Friendly
- 7:10Getting WordPress to acknowledge Lumen as a theme
- 9:13Template Routing
- 16:55Database Access
- 24:14Challenge #4 The Loop
- 27:131. Grab the list of Post IDs from the loop
- 28:31What have we learned?
- 33:56Questions, Feedback, and Code
related talks
07mGetting Wordpress OOP by using Corcel
48mWordPress for the Modern PHP Developer
01h 02mHacking Wordpress, a Crash Course in Writing Plugins and Widgets
21mUsing WordPress as a Framework
30mcomposer require Wordpress
28mWordPress is JavaScript
46mUnder the Hood of WordPress — Exploring the Engine and Tools
34mPrepare(): Introducing Novel Exploitation Techniques in Wordpress
