Building stories and building trust.Drupal 7 as a framework - An overview of available APIs
$whoami
$whoami  Valentin BoraCo-founder & CTO         Building stories and building trust.                                       ...
@gosimplysocialwww.gosimplysocial.com     @valentinbora
Drupal is     BIG                              @gosimplysocial     www.gosimplysocial.com     @valentinbora
BIG        Drupal sites- http://www.whitehouse.gov- http://www.ubuntu.com- http://dev.twitter.com- http://ing.us- http://j...
BIG           Drupal                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
BIG           Drupal5400 projects          that’s a lot!                             @gosimplysocial    www.gosimplysocial...
Now down the rabbit hole                                @gosimplysocial       www.gosimplysocial.com     @valentinbora
The Drupal folder structure                                  @gosimplysocial         www.gosimplysocial.com     @valentinb...
@gosimplysocialwww.gosimplysocial.com     @valentinbora
Don’t hack core!   or it gets physical                                      @gosimplysocial             www.gosimplysocial...
Your first module                            @gosimplysocial   www.gosimplysocial.com     @valentinbora
Your first module↳ yfm.info↳ yfm.module                                @gosimplysocial       www.gosimplysocial.com     @va...
Your first module↳ yfm.infoname = Your first moduledescription = Gets people excitedpackage = DrupalCampcore = 7.xversion =...
Your first module↳ yfm.module<?phpfunction yfm_menu() {  ...}                                     @gosimplysocial          ...
Hooks                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
Observer pattern                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
hook_something()<?php/**  * Implements hook_something()  */function yfm_something() {  ...}                               ...
hook_menu()                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
@gosimplysocialwww.gosimplysocial.com     @valentinbora
Mandatory params                             @gosimplysocial    www.gosimplysocial.com     @valentinbora
Access control    Drupal                           @gosimplysocial  www.gosimplysocial.com     @valentinbora
@gosimplysocialwww.gosimplysocial.com     @valentinbora
hook_permission                            @gosimplysocial   www.gosimplysocial.com     @valentinbora
hook_menu                          @gosimplysocial www.gosimplysocial.com     @valentinbora
Form API                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
@gosimplysocialwww.gosimplysocial.com     @valentinbora
Save site-wide setting                               @gosimplysocial      www.gosimplysocial.com     @valentinbora
hook_form_alter()                             @gosimplysocial    www.gosimplysocial.com     @valentinbora
Blocks                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
@gosimplysocialwww.gosimplysocial.com     @valentinbora
AlterationsLots of them!      Join the dance                           @gosimplysocial  www.gosimplysocial.com     @valent...
@gosimplysocialwww.gosimplysocial.com     @valentinbora
Drupal is so flexible!                              @gosimplysocial     www.gosimplysocial.com     @valentinbora
Database access                            @gosimplysocial   www.gosimplysocial.com     @valentinbora
Secure if used well                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
db_select()                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
db_update()                          @gosimplysocial www.gosimplysocial.com     @valentinbora
db_insert()                         @gosimplysocialwww.gosimplysocial.com     @valentinbora
db_merge()                          @gosimplysocial www.gosimplysocial.com     @valentinbora
hook_schema()                           @gosimplysocial  www.gosimplysocial.com     @valentinbora
Module upgrade path                                @gosimplysocial       www.gosimplysocial.com     @valentinbora
hook_update_N()                            @gosimplysocial   www.gosimplysocial.com     @valentinbora
Questions, ask now!                                 @gosimplysocial        www.gosimplysocial.com     @valentinbora
Thanks!www.gosimplysocial.com@gosimplysocial@valentinbora
Upcoming SlideShare
Loading in …5
×

DrupalCamp Arad - Drupal 7 as a framework - an overview of available APIs

786 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
786
On SlideShare
0
From Embeds
0
Number of Embeds
63
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • DrupalCamp Arad - Drupal 7 as a framework - an overview of available APIs

    1. 1. Building stories and building trust.Drupal 7 as a framework - An overview of available APIs
    2. 2. $whoami
    3. 3. $whoami Valentin BoraCo-founder & CTO Building stories and building trust. @gosimplysocial www.gosimplysocial.com @valentinbora
    4. 4. @gosimplysocialwww.gosimplysocial.com @valentinbora
    5. 5. Drupal is BIG @gosimplysocial www.gosimplysocial.com @valentinbora
    6. 6. BIG Drupal sites- http://www.whitehouse.gov- http://www.ubuntu.com- http://dev.twitter.com- http://ing.us- http://java.net- http://mtv.co.uk- http://www.economist.com/ @gosimplysocial www.gosimplysocial.com @valentinbora
    7. 7. BIG Drupal @gosimplysocialwww.gosimplysocial.com @valentinbora
    8. 8. BIG Drupal5400 projects that’s a lot! @gosimplysocial www.gosimplysocial.com @valentinbora
    9. 9. Now down the rabbit hole @gosimplysocial www.gosimplysocial.com @valentinbora
    10. 10. The Drupal folder structure @gosimplysocial www.gosimplysocial.com @valentinbora
    11. 11. @gosimplysocialwww.gosimplysocial.com @valentinbora
    12. 12. Don’t hack core! or it gets physical @gosimplysocial www.gosimplysocial.com @valentinbora
    13. 13. Your first module @gosimplysocial www.gosimplysocial.com @valentinbora
    14. 14. Your first module↳ yfm.info↳ yfm.module @gosimplysocial www.gosimplysocial.com @valentinbora
    15. 15. Your first module↳ yfm.infoname = Your first moduledescription = Gets people excitedpackage = DrupalCampcore = 7.xversion = 7.x-1.0 @gosimplysocial www.gosimplysocial.com @valentinbora
    16. 16. Your first module↳ yfm.module<?phpfunction yfm_menu() { ...} @gosimplysocial www.gosimplysocial.com @valentinbora
    17. 17. Hooks @gosimplysocialwww.gosimplysocial.com @valentinbora
    18. 18. Observer pattern @gosimplysocialwww.gosimplysocial.com @valentinbora
    19. 19. hook_something()<?php/** * Implements hook_something() */function yfm_something() { ...} @gosimplysocial www.gosimplysocial.com @valentinbora
    20. 20. hook_menu() @gosimplysocialwww.gosimplysocial.com @valentinbora
    21. 21. @gosimplysocialwww.gosimplysocial.com @valentinbora
    22. 22. Mandatory params @gosimplysocial www.gosimplysocial.com @valentinbora
    23. 23. Access control Drupal @gosimplysocial www.gosimplysocial.com @valentinbora
    24. 24. @gosimplysocialwww.gosimplysocial.com @valentinbora
    25. 25. hook_permission @gosimplysocial www.gosimplysocial.com @valentinbora
    26. 26. hook_menu @gosimplysocial www.gosimplysocial.com @valentinbora
    27. 27. Form API @gosimplysocialwww.gosimplysocial.com @valentinbora
    28. 28. @gosimplysocialwww.gosimplysocial.com @valentinbora
    29. 29. Save site-wide setting @gosimplysocial www.gosimplysocial.com @valentinbora
    30. 30. hook_form_alter() @gosimplysocial www.gosimplysocial.com @valentinbora
    31. 31. Blocks @gosimplysocialwww.gosimplysocial.com @valentinbora
    32. 32. @gosimplysocialwww.gosimplysocial.com @valentinbora
    33. 33. AlterationsLots of them! Join the dance @gosimplysocial www.gosimplysocial.com @valentinbora
    34. 34. @gosimplysocialwww.gosimplysocial.com @valentinbora
    35. 35. Drupal is so flexible! @gosimplysocial www.gosimplysocial.com @valentinbora
    36. 36. Database access @gosimplysocial www.gosimplysocial.com @valentinbora
    37. 37. Secure if used well @gosimplysocialwww.gosimplysocial.com @valentinbora
    38. 38. db_select() @gosimplysocialwww.gosimplysocial.com @valentinbora
    39. 39. db_update() @gosimplysocial www.gosimplysocial.com @valentinbora
    40. 40. db_insert() @gosimplysocialwww.gosimplysocial.com @valentinbora
    41. 41. db_merge() @gosimplysocial www.gosimplysocial.com @valentinbora
    42. 42. hook_schema() @gosimplysocial www.gosimplysocial.com @valentinbora
    43. 43. Module upgrade path @gosimplysocial www.gosimplysocial.com @valentinbora
    44. 44. hook_update_N() @gosimplysocial www.gosimplysocial.com @valentinbora
    45. 45. Questions, ask now! @gosimplysocial www.gosimplysocial.com @valentinbora
    46. 46. Thanks!www.gosimplysocial.com@gosimplysocial@valentinbora

    ×