Description
This course will provide you with the knowledge needed to develop and distribute custom applications. After discovering its architecture, you will use its APIs to create your personal themes and learn to create and administer your own modules to extend its basic functionalities.
Who is this training for ?
For whom ?
Developers, Project Managers.
Prerequisites
Know HTML and CSS.
Some knowledge of PHP and Responsive Design is recommended.
Training objectives
Training program
- The Drupal 7 development environment
- The technologies used in Drupal (PHP, MySQL, HTML, CSS, JavaScript,).
- The web server.
- The Drupal API.
- The developer's toolbox: Git, CVS, the Developer module, Drush.
- Coding standards.
- Drupal architecture
- The Core libraries and modules.
- Themes and positions.
- The database.
- The main sub-sections systems (themes, menus, nodes, files, users, comments,).
- Theme and module
- Templates files.
- Rendering properties.
- The theme registry.
- Implement a default theme.
- Naming rules.
- Organizing directories.
- Source code standards.
- Using the Block API.
- Create automated tests.
- Practical work Creation of a custom rendering.
- Create a simple module.
- Manipulate files and images
- Use the Twitpic and Watermark modules.
- Manage files from the Drupal Files API.
- Manage images from the Drupal Images API.
- Create image styles from a module.
- Practical work Complete the module created in the previous step by integrating the content of a file illustrated by a picture.
- Access nodes
- The Node Acccess API.
- Use the node_access() and hook_node_access() functions.
- Create a node_access module.
- Modify the behavior of other modules.
- Test and debug the module.
- Practical work From the module created in the previous step, access content via the Node API Access.
- Administer and configure a custom module
- Create an administration interface for a new module.
- Use the Form API.
- Send emails with drupal_mail() and hook_mail().
- The token system.
- Practical work Create an administration interface for the new module.
- Distribute facilities
- Create a Distribution and installation profiles.
- Install a distribution from the command line.
- Practical work Create a distribution integrating the modules and themes created during the session.