Drupal 7 Field API for Module Developers Barry Jaspan ­ Acquia, Inc. Yves Chedemois
Contrib Core D6: CCK with hook_nodeapi hook_nodeapi Nodes CCK
Contrib Core D6: Many field types hook_nodeapi Nodes CCK Text, Number, Date, Image, ...
Contrib Core D6: DB design via UI hook_nodeapi Nodes CCK CCK CCK UI Text, Number, Date, Image, ...
Contrib Core D6: CCK is tied to nodes ??? ??? hook_nodeapi hook_user hook_comment Nodes CCK Users Comments CCK UI Text, Nu...
D7: Field Attach API Contrib Core Node API Nodes Field module Core and contrib modules can use Node API just like before
Contrib Core D7: Field Type API Nodes Field module Text, Number, ... Date, ...
Contrib Core D7: Field CRUD API Nodes hook_install, ... Field module Field UI Text, Number, ... Date, ...
Contrib Core D7: Any entity can use Field Attach Nodes Field module Users Comments Field UI hook_install, ... Text, Number...
 
What goes where? <ul><li>Core </li><ul><li>Field API
Field Types </li><ul><li>Text, Number
List
Options </li></ul><li>Field Storage
Upcoming SlideShare
Loading in...5
×

Field Api Drupalcon Paris

549
-1

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
549
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Field Api Drupalcon Paris

  1. 1. Drupal 7 Field API for Module Developers Barry Jaspan ­ Acquia, Inc. Yves Chedemois
  2. 2. Contrib Core D6: CCK with hook_nodeapi hook_nodeapi Nodes CCK
  3. 3. Contrib Core D6: Many field types hook_nodeapi Nodes CCK Text, Number, Date, Image, ...
  4. 4. Contrib Core D6: DB design via UI hook_nodeapi Nodes CCK CCK CCK UI Text, Number, Date, Image, ...
  5. 5. Contrib Core D6: CCK is tied to nodes ??? ??? hook_nodeapi hook_user hook_comment Nodes CCK Users Comments CCK UI Text, Number, Date, Image, …
  6. 6. D7: Field Attach API Contrib Core Node API Nodes Field module Core and contrib modules can use Node API just like before
  7. 7. Contrib Core D7: Field Type API Nodes Field module Text, Number, ... Date, ...
  8. 8. Contrib Core D7: Field CRUD API Nodes hook_install, ... Field module Field UI Text, Number, ... Date, ...
  9. 9. Contrib Core D7: Any entity can use Field Attach Nodes Field module Users Comments Field UI hook_install, ... Text, Number, ... Date, ...
  10. 11. What goes where? <ul><li>Core </li><ul><li>Field API
  11. 12. Field Types </li><ul><li>Text, Number
  12. 13. List
  13. 14. Options </li></ul><li>Field Storage
  14. 15. Field UI </li></ul></ul><ul><li>Contrib </li><ul><li>More Field types
  15. 16. Field permissions
  16. 17. Field storage options
  17. 18. Integration </li><ul><li>Views
  18. 19. Token
  19. 20. etc... </li></ul></ul></ul>
  20. 21. It's documented!
  21. 22. Sample code walk-through: Color Picker field
  22. 23. Questions? Barry Jaspan barry.jaspan@acquia.com Yves Chedemois [email_address]
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×