Drupal 7 Release Party - Yogyakarta

Embed Size (px)

Citation preview

Roy Gunawan, Yogyakarta, Drupal 7 Release Party
7 January 2011

WHAT IS DRUPAL?

Drupal is a free CMS written in PHP that allows anyone to easily publish, manage and organize a wide variety of content on a website. It not just a common CMS since it also a framework capable software developed by community.

An estimated 7.2 million sites used Drupal as of July 2010

7,441 Modules

911 Themes

Drupal ...is as much a Social Software Platform as it is a web content management system.-CMS Watch, The Web CMS Report 2009

527,548 people in 228 countries speaking 182 languages

HISTORY OF DRUPAL

Originally written by Dries Buytaert

dorp (Dutch for village)

Miss-typeddrop

In Dutch

druppel

English Pronunciation

Drupal

WHO IS MAKING IT HAPPEN

Your name here >

WHO IS USING DRUPAL

And THOUSANDS More!!!Including YOUR site!

Drupal Vocabularies

Node/ Content

Content Type

Taxonomy/ Vocabulary

Block

Module

Node: semua content di drupal disebut dengan node. Sebuah node adalah segala macam user post, seperti basic page, blog ataupun forum. Comment bukan merupakan node tapi selalu terikat.Content type : Untuk membedakan kegunaan node2, apakah itu sebuah basic page, blog post dan apapun yang anda perlukan Di Drupal 7 kita bisa menambahkan field langsung tanpa module tambahan CCKTaxonomy : di Drupal, taxonomy digunakan untuk mengkategorikan konten yang ada. Contoh paling mudah adalah tags. Taxonomy berupa Vocabularies dan terms. Contoh : V:Music, T:Jazz, Sub-T : swing, fusion. Di drupal 7 kita bisa menambahkan field pada taxonomyRegion dan block ; Contoh region : Footer, Header, Sidebar. Di Drupal 7 Content juga merupakan region. Block adalah kotak2 konten di dalam region.

The Ideas Behind Drupal 7

Fix things that always annoy you

Add features that take Drupal to the next level

Integrate useful contributed modules

World domination!

Diambil dari kata2 Angela Byron, Drupal 7 maintener.Manusia adalah mahluk yang tidak pernah puas. Pasti akan ada sesuatu yang membuat kita merasa kurang. Jadi tujuan yang pasti tentu saja mengurangi rasa ketidak puasan itu.Drupal sampai saat ini lebih dikenal di kalangan developer dibandingan kalangan orang awam. Karena kekurangan Drupal yang terbesar adalah learning-curve nya yang tajam. Dibutuhkan pengetahuan yang lebih dari mendasar pada PHP, CSS, MySQL, dkk. Karena nya Drupal 7 berusaha lebih membidik end-user dengan kemudahan2 yang diharapakan seseorang tidak perlu menyentuh kode2 ajaib untuk membuat sebuah site yang indahDimasukannya module2 penting seperti CCK, vertical tabs, image, admin menu, dkk

Drupal 7 features

Easier to use

More Flexible

More Scalable

Open Source

Usability

Contextual links

Admin & Shortcut bar

Dashboard

Overlay

Drag and drop

Administrator role

Vertical tabs

Admin menu and short cut

Tool bar/ Admin menu

User Short Cut bar

The quick link

Dashboard

Also notice the Action Link

Overlay

Vertical Tabs

Contextual Link

More Usability

Install modules and themes directly

Even modules update

Modules

Fields in content

Fields in taxonomy

Fields in user account

Fields Everywhere!

Multi Language Support

Local Start-up? Yes, please

Set you language detection

Multi Language Support

Easy and powerful interface to manage

Import from community

Half there, we need more! Join http://localize.drupal.org/translate/languages/id

Contributors

Images!

Images!

Public & Private Files

Geek Stuff Alert!

DATABASETHE NEXT GENERATION

The Next Generation

PHP Data Objects (PDO) database layer

Support for ANY database! Built in support :MySQL

SQLite

PostGreSQL

Transaction Support

Dynamic Query builder

Master/ Slave replication

Including NoSQL!

Static Select Queries

Direct SQL query:

Drupal 7:$result = db_query_range('SELECT n.nid, n.title, n.created FROM {node} n WHERE n.uid = :uid', 0, 10, array(':uid' => $uid));foreach ($result as $record) { // Perform operations on $node->title, etc. here.}

Dynamic Select Queries

Drupal 6:$result = pager_query(db_rewrite_sql('SELECT n.nid FROM {node} nWHERE n.promote = 1 AND n.status = 1 ORDER BY n.sticky DESC,n.created DESC'), variable_get('default_nodes_main', 10));Drupal 7:$select = db_select('node', 'n')->fields('n', array('nid'))->condition('promote', 1)->condition('status', 1)->orderBy('sticky', 'DESC')->orderBy('created', 'DESC')->extend('PagerDefault')->limit(variable_get('default_nodes_main', 10))->addTag('node_access');

Other Queries

Insert$nid = db_insert('node')->fields(array('title', 'uid'))->values(array('title' => 'Example','uid' => 1,))->execute();

Delete$num_deleted = db_delete('node')->condition('nid', 5)->execute();

Update$num_updated = db_update('node')->fields(array('uid' => 5,'status' => 1,))->condition('created', REQUEST_TIME - 3600, '>=')->execute();

Roles & Permissions

Need moderator? Just add it

Then set what their do's and don'ts

More Geek Stuff...

WYSIWYG support

Better performance

Pluggable cache system

RDF

Simple test

What's next

Dries: RT @chx1975: WordPress is now approximately where Drupal was around Drupal 5 w/ content types. See you in 2015.

Dries: Agreed, and fair enough. RT @newoceans_en: @Dries Drupal 7 will hopefully be where WordPress was around 5 years ago regarding UX.

Drupal 7

Easier and more powerful then ever

Question?

This slides is inspired by :Angela webchick Byron, Drupalcon DC March 4, 2009Gbor Hojtsy, DrupalCamp Prague November 1, 2009

Click to edit the title text format