290 likes | 443 Views
The Language of Drupal. Walking the walk and talking the talk…. Zone of Proximal Development. Context of Drupal. What is Drupal. Open Community Content Management System Content Design Technical Design. Drupal Core. The basic features common to Content Management Systems.
E N D
The Language of Drupal Walking the walk and talking the talk…
What is Drupal • Open • Community • Content Management System • Content • Design • Technical Design
Drupal Core • The basic features common to Content Management Systems. • Includes modules, themes, maintenance, admin • Anything outside of the sites folder in a Drupal installation
Distributions • Drupal 5.0 • Drupal 6.0 • Windows XP • Drupal 7.0 • Improve performance/scalability • Beef up core modules • Increase adoption • Drupal 8.0 • Better HTML5 • More mobile • More modern framework
Drupal Core • Content • File uploads/downloads • Menus • User Accounts • Roles and Permissions • Taxonomy • Blogs • Forums • Polls • Search engine • Language capabilities • Logging and error reporting
Modules • An add-on in Drupal that provides enhanced features and functionality
Community • DrupalCon • Semi-annual event alternating between North America and Europe • Over 3,300 attended latest event in Portland • Drupal Camp • Smaller events • Us!
Node • Piece of content • Based on same type of data structure • Have a title and body content • Comprised of fields • Node types • Extend the base node by adding data attributes • Not everything is a node • Users, blocks, comments
Content • Content Types • Predefined collection of data types (fields) which relate to each other in an informational context. • Examples • Page • Article
Content Types • Basic Page • Title field • Body field • Article • Title field • Body field • Image field • Defined tags • Custom
Framework Page Region Block Block Region
Blocks • Snippets of text or functionality that live outside main content areas • Left/right sidebars • Header/footers • Have a title/description • Not full-fledged content • Not a node • Can be amazingly complex
Fields • Reusable pieces of data • Name of field • Type of data
Taxonomy • Actors • A mechanism for organizing content of your site (categories) • Vocabulary - Group of related terms • Term - Word or phrase that describes distinct aspect of a vocabulary Terms Vocabulary
Views • An easy to use module that allows you to select and display lists of content on your website. • Arrangement of data on a page to create desired display
Panels • Module that allows you to divide up your content area beyond regions and blocks • Two-column stacked • Three-column • Flexible
Theme • System • Collection of files that make up the look and feel of your site • Come with core • Download from the web • Pay from the web • Design your own • Responsive • Omega
Theme • Core • Free sites • Paid sites • Design Your Own
Form API • Application Programming Interface • Generate, validate, process HTML forms • Instead of HTML, you create an array and let the engine generate the HTML • Very easy to modify • Map form elements to theme functions • Secure
Events And Triggers • Event • A message sent from one component of the system to others • Hook • Modules hook into flow of execution • Operation • Specific process within the hook • Trigger • Combination of the hook and operation that causes an action • Action • Something Drupal does
Hooks • Internal Drupal events • “Callbacks” • Allow modules to “hook into” what is happening in the rest of Drupal. • Most common way to tap into Drupal’s core functionality. • Example: Log in and the user hook. Helps shape the user experience at login
File Layout • The directory structure of a default Drupal installation
Bootstrap Process • How Drupal serves requests • Initializes configuration • Early page cache • Initialize database • Hostname/IP-based access control • Initialize session handling • Late page cache • Language determination • Path • Full • Processes request • Themes data
Other Terms • Actions • Something Drupal does • Function • Clearly defined task • Users • Permissions
Other Terms I missed • Drush • Cache