Basic Views




          for SANDCamp 2010
       karl.scheirer@gmail.com
         drupal.org/user/128191
Who is this presentation for?
●   Audience                  ●   Comfortable with
       –   New Drupal Users           –   Drupal terminology
       –   Site Admins                –   Content Types
       –   Developers who             –   CCK
            know SQL                  –   Blocks
At the end of the session you'll know:




     The kinds of problems Views can solve.
          How to create a simple View.
          That you can explore further.
What is Views?


  Views is a query builder.
It works with your database.


    Views is not scary.
When to use Views
●   Views is great for:
        –   Showing lists of things
                ●   Nodes
                ●   Users
                ●   More...

●   Views is not great for:
        –   Complex SQL queries
        –   High Performance
Why Use Views?



     ●  Complex Displays
      ● Rapid Development

  ● No Specialized Knowledge

● Integrates with other modules
Examples



http://sandcamp.org

Let's make a view!
Further Topics
●   Advanced Views – Brenda
        –   Sun 11am – Balboa Room
        –   Exposed Filters
        –   Arguments
        –   Relationships
        –   Attachments
●   Export to code
        –   hook_default_views()
        –   views_embed_view()
●   Addon modules @
    http://drupal.org/taxonomy/term/89

Basic Views

  • 1.
    Basic Views for SANDCamp 2010 karl.scheirer@gmail.com drupal.org/user/128191
  • 2.
    Who is thispresentation for? ● Audience ● Comfortable with – New Drupal Users – Drupal terminology – Site Admins – Content Types – Developers who – CCK know SQL – Blocks
  • 3.
    At the endof the session you'll know: The kinds of problems Views can solve. How to create a simple View. That you can explore further.
  • 4.
    What is Views? Views is a query builder. It works with your database. Views is not scary.
  • 5.
    When to useViews ● Views is great for: – Showing lists of things ● Nodes ● Users ● More... ● Views is not great for: – Complex SQL queries – High Performance
  • 6.
    Why Use Views? ● Complex Displays ● Rapid Development ● No Specialized Knowledge ● Integrates with other modules
  • 7.
  • 8.
    Further Topics ● Advanced Views – Brenda – Sun 11am – Balboa Room – Exposed Filters – Arguments – Relationships – Attachments ● Export to code – hook_default_views() – views_embed_view() ● Addon modules @ http://drupal.org/taxonomy/term/89