Theory & Deliverables
🎯 Deliverable
Dynamic block rendering real plugin data on frontend — committed
Plugin Implementation Task
✨ Building since Day 1
Convert to dynamic block — render real log data from DB
Update save.js to return null. Add "render": "file:./render.php" to block.json. Create render.php — use $attributes['limit'] to call Database::get_logs(). Output escaped HTML: esc_html() on every value. Add 'limit' attribute: type integer, default 5.
📄 Files:
Update save.js + add render.php + update block.json + edit.js
⸻
feature/day-23-dynamic-block
Mark done after GitHub commit & push
Daily Non-Negotiables
Git Commit
Push before day ends
Exercise
30+ min movement
Book Reading
Before sleep
AI Tool 30min
v0.dev (UI reference)
Communication
Explain something aloud
Reflection
Written note below
45-Day Progress Map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
P1: WP Core (1-10)
P2: Git/CI (11-20)
P3: Gutenberg (21-30)
P4: VIP (31-38)
P5: Interview (39-45)
Daily Self-Rating
Book Reading Log
AI Tool — 30 Min Session
End-of-Day Reflection
What confused me today?
What would I explain differently?
One win I'm underestimating: