the future of fields or, how snow and flu in chicago clarified what drupal is good for

17
The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For

Upload: angel-james

Post on 12-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For

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

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

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

Our Grand Conclusions

Page 5: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For

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

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

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

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

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

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

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

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

Clients module set

Page 14: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For

Specific client per external service

Page 15: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For
Page 16: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For

Field configuration

Page 17: The Future of Fields or, How Snow and Flu in Chicago Clarified What Drupal is Good For

How You Can Help