~/talk

Rewrite legacy datatype to eZ Platform field type

Talkat Web Summer Camp 2016 · 2016-08-31..09-03· [legacy-modernisation]
links:none on file
links:none on file
slides:none on file

A working eZ Platform field type replaces the legacy eZ Tags datatype by reimplementing the Tag value object, the Field Type, a Legacy storage converter + Gateway, and a Tag service so tags are readable, writable and indexable. Templates and service YAML register the type, and reverse-engineer eZ Tags uncovers the DB schema and settings. The implementation uses fromHash/toHash serialisation, stores data in legacy tables, renders tag lists in Twig, and updates content programmatically.

AI-written summary · about

  1. 0:00Introduction
  2. 6:36Legacy data type overview
  3. 13:50Step 1: Value class
  4. 20:54Step 2: Type class
  5. 34:19Step 3: Tag class
  6. 47:47Writing field values
  7. 59:54Database storage setup
  8. 1:18:21Break
  9. 1:23:26Legacy Storage converter
  10. 1:38:10Search indexing
  11. 1:45:51Service registration
  12. 1:57:11Templating setup
  13. 2:07:02Dependency injection
  14. 2:19:16Testing the field type
  15. 2:37:11Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.