the future of fields or, how snow and flu in chicago clarified what drupal is good for
TRANSCRIPT
![Page 1: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/1.jpg)
The Future of Fields
or,
How Snow and Flu in Chicago Clarified What Drupal is Good For
![Page 2: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/2.jpg)
Data Architecture Design Sprint
• I will embed our group photo on the porch in the snow here (I don’t have the memory card handy at the moment).
![Page 3: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/3.jpg)
Goals of the DADS(or so we thought)
• Re-design Drupal's core data architecture– Data API– Object modeling– Fields in core– Many related ideas
• Propose a design at Drupalcon– Voilà!
![Page 4: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/4.jpg)
Our Grand Conclusions
![Page 5: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/5.jpg)
Drupal’s raison d'être
Drupal’s architecture allows
contributed modules to easily
add value to content.
![Page 6: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/6.jpg)
The Future
• Web services– Consuming– Providing– Enhancing
• A monolithic web site is like an off-network computer – i.e. It’s useless.
![Page 7: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/7.jpg)
The Path Forward
• Apply Drupal’s value-add contrib modules to web services
• Consume– Treat local and remote data as equals– Allow contrib’s value to apply to either
• Provide– A topic for another day
![Page 8: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/8.jpg)
Data API needs
• Consistent set of methods for all entity types (user, node, etc.)
• Defined set of fields with known structure and predictable representation
![Page 9: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/9.jpg)
CCK Fields as model
• Already exemplifies much of what we are aiming for– schema aware– predictable representation—in db, in object
• Strong demand for fields in core—should be not an add-on option but a new model and step forward
• Ironically, admins have a richer set of tools than developers do
![Page 10: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/10.jpg)
Fields in Core•Preliminary work in D6–Separate directories–Split out API from UI–API in new Fields module, developed in contrib with aim of core–UI remains in contrib
![Page 11: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/11.jpg)
Fields in core: Minimal
•Code-level methods for what is now UI-based•UI remains in contrib•Still limited to nodes•A small number of sample fields converted
![Page 12: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/12.jpg)
Fields on Remote DataDrupal is a client of a remote serviceRemote service exposes entities and their fieldsExample implementation for D5/D6:generic module set plus supporter service
![Page 13: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/13.jpg)
Clients module set
![Page 14: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/14.jpg)
Specific client per external service
![Page 15: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/15.jpg)
![Page 16: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/16.jpg)
Field configuration
![Page 17: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For](https://reader036.vdocuments.net/reader036/viewer/2022082612/56649e9f5503460f94ba15da/html5/thumbnails/17.jpg)
How You Can Help