~/talk

(Slightly) Advanced Topics In Block Development

Talkat WordCamp Montréal 2018 · 2018-08-11..08-12· [wordpress, javascript]
slides:none on file

Shows how legacy shortcodes and meta boxes become Gutenberg blocks by reusing existing PHP render callbacks (example: Caldera Forms) and storing only attributes in block comments, so front-end output remains the same. Demonstrates modern tooling: webpack + Babel and NPM packages to bundle and share components, using WP data (Redux-like) to subscribe to post state, and the register_block_type API for PHP-rendered dynamic blocks that work in admin and on the front end.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:17Shortcodes to blocks transition
  3. 5:52Modern JavaScript tooling in WordPress
  4. 10:31Reusing WordPress components
  5. 14:45Modular block development
  6. 16:09Building block edit interfaces
  7. 18:18Dynamic data in blocks
  8. 20:27Reusable Gutenberg components
  9. 25:08Saving blocks as HTML
  10. 27:13Dynamic vs static blocks
  11. 28:37PHP integration for blocks
  12. 31:49Extending and customizing blocks
  13. 35:18REST API and block data
  14. 37:28Q&A and conclusion
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.