Practical APIs with eZ Publish / eZ Platform
summary
Workshop builds a high‑level domain API on top of eZ Publish / eZ Platform: it implements a PHP IPA entity and brewery value objects, a service that loads eZ content and returns those entities, and an extended eZ Platform REST visitor with MIME‑type handling, caching headers (Varnish friendly) and image‑variation URLs. It also solves rich text embeds for alternate outputs (AMP) by adding a Rich Text reducer renderer and a custom matcher for representation‑specific templates. The result works but adds visitor complexity and a small learning curve.
AI-written summary · about
chapters (20)
- 0:00Welcome and introduction
- 1:39What an API is
- 8:17API examples and definitions
- 13:41Demo content overview
- 16:21Exercise one setup
- 20:12Why you need an API
- 27:04High vs low-level APIs
- 32:11Building a domain API
- 35:26Exercise two: PHP API
- 40:19Image delivery in APIs
- 42:45Extending eZ REST API
- 53:36Exercise three: eZ REST API
- 54:01Advantages of eZ REST API
- 58:49eZ Rich Text field impact
- 1:06:44Different representations
- 1:10:06Exercise four: template matchers
- 1:23:39Handling unsupported content
- 1:26:01Rich Text renderers
- 1:31:08Exercise five: Rich Text reducer
- 1:35:03Q&A and summary
related talks
39mAPI Platform — A Daily Tool for (Un)usual Tasks
19mAPIs in the media industry: models and trends for 2019
42mThe future of API (Platform) architecture
44mCrafting Great APIs with Domain-Driven Design
43mThe Hypermedia API
51mAPI Design in Real Life: What You Don't See in Books
40mThe API Framework That Leverages 30 Years of PHP Language Maturity
20mRevolutionizing API Management: Insights from an Architect
