SlideShare une entreprise Scribd logo
1  sur  16
Drupal

PHP Day Con. 14th Dec 2008
     Phan Thái Trung
Best CMS
So sánh với Joomla!
Drupal                                           Joomla!
 Real multi-site-feature (only one              If you are not techy its good to start
   installation for several sites)               Easy install & setup with your mouse
 Any Kind of user groups & user                 Easy learning curve
   permissions, OpenId compliant                 Cannot integrate other scripts etc. to
 Can run membership and community                your site
   sites, not only CMS etc                       Generally you cannot create high-end
 Powerful templating system. Any                 sites, without investing huge amount
   XHTML or CSS template can be easily           No SEO out of the box, URLs are not
   converted to Drupal.                           search engine friendly.
 Drupal needs a little time investment
   to realize all the huge possibilities of      Server resources utilization is more
   Drupal                                         compared to drupal
 Clear, high quality code and API (easy
                                                 Only one site per installation
   to integrate with other solutions etc)        No Single Log-in to several sites
 Flexibility and no known limitations           No User groups & permissions
 Many high profile sites use Drupal             More intuitive administration user
   (e.g.: MTV UK, BBC, the Onion, Nasa,           interface
   Greenpeace UK, New york observer,             Some polished modules for things like
   Tamtay.vn, VietLUG… )                          calendars, polls, etc.
                                                 Modules cost you money
http://mydrupal.com/joomla-versus-drupal
http://forum.joomla.org/viewtopic.php?t=4364
Trình diễn cài đặt
 Tạo CSDL
 Chạy cài đặt
 Tạo user admin
 Chỉnh cấu hình
 Chọn Theme
Multiple - site
Các module hay sử dụng
 Content Type, CCK
 Taxonomy (Category)
 Panels
 Views
 PathAuto (SEO)
CCK
 Tạo các trường cho “node”
 Có rất nhiều module trường con (200+)
     Date
     Image
     Video
     etc
Taxonomy
   Dùng để phân loại các “Kiểu Nội dung”
    (Content Type)
Panels
                                  Panels 2: Adding a node to a
 http://drupal.org/project/   
                                   panel page
                                   Panels 2: Basic text layouts
  panels                          Panels 2: Create a node
                                   override

 Để tạo bố cục (Layout)
                                  Panels 2: Creating a mini
                                   panel and passing
                                   arguments through context

 Có thể phân chia bố cục         Panels 2: Creating a new
                                   front page with Views and

  tuỳ biến và kết hợp với      
                                   Panels 2
                                   Panels 2: Creating contexts

  các Module khác
                                   and relationships that are
                                   node type aware
                                  Panels 2: Overriding the
 Một Kiểu Nội dung cũng       
                                   node edit form
                                   Panels 2: Panels everywhere
  có thể có bố cục riêng
Views
 http://drupal.org/project/views
 Dùng để tạo danh sách nội dung theo các
  tiêu chí tuỳ ý
 Có API để cho các Module khác bon chen
 Tài liệu: http://views-help.doc.logrus.com/
Nhược điểm

 Hơi khó sử dụng (các khái niệm…)
 Không sử dụng MVC mà sử dụng Hook
  cho các hàm
 Truy vấn CSDL nhiều có thể gây tốc độ
  chậm
 Nên tối ưu (eAccelerator…)
Developer
 Module
 Theme
Code demonstration
   1’ cho quảng káo
Một số ứng dụng
 CMS
 Web chức năng
     Demo  site
     XML service
     Other
Ví dụ thực tế
 Tamtay: http://tamtay.vn
 Spirit: http://letstalkspirit.com/
Phù !!!
   Kết luận
     Tạisao ngày càng nhiều web sử dụng /
      chuyển sang Drupal
     Hãy thử 1 lần nếu bạn chưa sử dụng nó

   Hỏi đáp

Contenu connexe

Similaire à 02 phan-thai-trung-drupal

Drupal framework xanh
Drupal framework xanhDrupal framework xanh
Drupal framework xanh
Xanh Nguyen
 
Html và thiết kế web[bookbooming.com]
Html và thiết kế web[bookbooming.com]Html và thiết kế web[bookbooming.com]
Html và thiết kế web[bookbooming.com]
bookbooming1
 
1.+tai+lieu+thiet+ke
1.+tai+lieu+thiet+ke1.+tai+lieu+thiet+ke
1.+tai+lieu+thiet+ke
Linh Hoang
 
Lập trình C# 2008 cơ bản_Nhất Nghệ
Lập trình C# 2008 cơ bản_Nhất NghệLập trình C# 2008 cơ bản_Nhất Nghệ
Lập trình C# 2008 cơ bản_Nhất Nghệ
Trần Thiên Đại
 

Similaire à 02 phan-thai-trung-drupal (20)

Drupal framework xanh
Drupal framework xanhDrupal framework xanh
Drupal framework xanh
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake php
 
Mau slide
Mau slideMau slide
Mau slide
 
Chuong 1
Chuong 1Chuong 1
Chuong 1
 
cấu hình cloudstack
cấu hình cloudstackcấu hình cloudstack
cấu hình cloudstack
 
Mo hinh-3-lop
Mo hinh-3-lopMo hinh-3-lop
Mo hinh-3-lop
 
Docker 101
Docker 101Docker 101
Docker 101
 
Giới thiệu NukeViet 5 và Autoweb
Giới thiệu NukeViet 5 và AutowebGiới thiệu NukeViet 5 và Autoweb
Giới thiệu NukeViet 5 và Autoweb
 
Các công cụ cần thiết cho quá trình Reverse Engineering .NET (bản đầy đủ)
Các công cụ cần thiết cho quá trình Reverse Engineering .NET (bản đầy đủ)Các công cụ cần thiết cho quá trình Reverse Engineering .NET (bản đầy đủ)
Các công cụ cần thiết cho quá trình Reverse Engineering .NET (bản đầy đủ)
 
Tim+hieu+jquery
Tim+hieu+jqueryTim+hieu+jquery
Tim+hieu+jquery
 
Cac bai tap .net
Cac bai tap .netCac bai tap .net
Cac bai tap .net
 
Giới thiệu Nuxt.js
Giới thiệu Nuxt.jsGiới thiệu Nuxt.js
Giới thiệu Nuxt.js
 
Clear case
Clear caseClear case
Clear case
 
04 de cuong
04 de cuong04 de cuong
04 de cuong
 
Html và thiết kế web[bookbooming.com]
Html và thiết kế web[bookbooming.com]Html và thiết kế web[bookbooming.com]
Html và thiết kế web[bookbooming.com]
 
J2 me 07_1
J2 me 07_1J2 me 07_1
J2 me 07_1
 
1.+tai+lieu+thiet+ke
1.+tai+lieu+thiet+ke1.+tai+lieu+thiet+ke
1.+tai+lieu+thiet+ke
 
Baocaodoanhocphan vanquocthinh_11253321_ncth5b
Baocaodoanhocphan vanquocthinh_11253321_ncth5bBaocaodoanhocphan vanquocthinh_11253321_ncth5b
Baocaodoanhocphan vanquocthinh_11253321_ncth5b
 
ITLC - Hanoi - NodeJS - ArrowJS - 27-11 - 2015
ITLC - Hanoi - NodeJS - ArrowJS - 27-11 - 2015ITLC - Hanoi - NodeJS - ArrowJS - 27-11 - 2015
ITLC - Hanoi - NodeJS - ArrowJS - 27-11 - 2015
 
Lập trình C# 2008 cơ bản_Nhất Nghệ
Lập trình C# 2008 cơ bản_Nhất NghệLập trình C# 2008 cơ bản_Nhất Nghệ
Lập trình C# 2008 cơ bản_Nhất Nghệ
 

Plus de hazzaz

Coffee1
Coffee1Coffee1
Coffee1
hazzaz
 
Tu dong dat hang tu he thong ban le lon nhat trung quoc
Tu dong dat hang tu he thong ban le lon nhat trung quocTu dong dat hang tu he thong ban le lon nhat trung quoc
Tu dong dat hang tu he thong ban le lon nhat trung quoc
hazzaz
 
how startups can benefit from launch community
how startups can benefit from launch communityhow startups can benefit from launch community
how startups can benefit from launch community
hazzaz
 
social network game
social network gamesocial network game
social network game
hazzaz
 
trung oss magento overview
trung oss magento overviewtrung oss magento overview
trung oss magento overview
hazzaz
 
su dung drupal xay dung mang xa hoi
su dung drupal xay dung mang xa hoisu dung drupal xay dung mang xa hoi
su dung drupal xay dung mang xa hoi
hazzaz
 
java script unit testing framework
java script unit testing frameworkjava script unit testing framework
java script unit testing framework
hazzaz
 
build your own php extension
build your own php extensionbuild your own php extension
build your own php extension
hazzaz
 
kiem tien online
kiem tien onlinekiem tien online
kiem tien online
hazzaz
 
web optimization
web optimizationweb optimization
web optimization
hazzaz
 
speed up ntvv2 by php ext module
speed up ntvv2 by php ext modulespeed up ntvv2 by php ext module
speed up ntvv2 by php ext module
hazzaz
 
zingmepracticeforbuildingscalablewebsitewithphp
zingmepracticeforbuildingscalablewebsitewithphpzingmepracticeforbuildingscalablewebsitewithphp
zingmepracticeforbuildingscalablewebsitewithphp
hazzaz
 
mysql optimization
mysql optimizationmysql optimization
mysql optimization
hazzaz
 
EAV in Magento
EAV in MagentoEAV in Magento
EAV in Magento
hazzaz
 
css_trends
css_trendscss_trends
css_trends
hazzaz
 
Phan mem tu do nguon mo
Phan mem tu do nguon moPhan mem tu do nguon mo
Phan mem tu do nguon mo
hazzaz
 
Howtobuildyourownframework
HowtobuildyourownframeworkHowtobuildyourownframework
Howtobuildyourownframework
hazzaz
 

Plus de hazzaz (20)

Coffee1
Coffee1Coffee1
Coffee1
 
Tu dong dat hang tu he thong ban le lon nhat trung quoc
Tu dong dat hang tu he thong ban le lon nhat trung quocTu dong dat hang tu he thong ban le lon nhat trung quoc
Tu dong dat hang tu he thong ban le lon nhat trung quoc
 
how startups can benefit from launch community
how startups can benefit from launch communityhow startups can benefit from launch community
how startups can benefit from launch community
 
social network game
social network gamesocial network game
social network game
 
trung oss magento overview
trung oss magento overviewtrung oss magento overview
trung oss magento overview
 
su dung drupal xay dung mang xa hoi
su dung drupal xay dung mang xa hoisu dung drupal xay dung mang xa hoi
su dung drupal xay dung mang xa hoi
 
java script unit testing framework
java script unit testing frameworkjava script unit testing framework
java script unit testing framework
 
build your own php extension
build your own php extensionbuild your own php extension
build your own php extension
 
kiem tien online
kiem tien onlinekiem tien online
kiem tien online
 
web optimization
web optimizationweb optimization
web optimization
 
speed up ntvv2 by php ext module
speed up ntvv2 by php ext modulespeed up ntvv2 by php ext module
speed up ntvv2 by php ext module
 
zingmepracticeforbuildingscalablewebsitewithphp
zingmepracticeforbuildingscalablewebsitewithphpzingmepracticeforbuildingscalablewebsitewithphp
zingmepracticeforbuildingscalablewebsitewithphp
 
mysql optimization
mysql optimizationmysql optimization
mysql optimization
 
EAV in Magento
EAV in MagentoEAV in Magento
EAV in Magento
 
css_trends
css_trendscss_trends
css_trends
 
Cloud
CloudCloud
Cloud
 
Phan mem tu do nguon mo
Phan mem tu do nguon moPhan mem tu do nguon mo
Phan mem tu do nguon mo
 
Zing
ZingZing
Zing
 
redis
redisredis
redis
 
Howtobuildyourownframework
HowtobuildyourownframeworkHowtobuildyourownframework
Howtobuildyourownframework
 

02 phan-thai-trung-drupal

  • 1. Drupal PHP Day Con. 14th Dec 2008 Phan Thái Trung
  • 3. So sánh với Joomla! Drupal  Joomla!  Real multi-site-feature (only one  If you are not techy its good to start installation for several sites)  Easy install & setup with your mouse  Any Kind of user groups & user  Easy learning curve permissions, OpenId compliant  Cannot integrate other scripts etc. to  Can run membership and community your site sites, not only CMS etc  Generally you cannot create high-end  Powerful templating system. Any sites, without investing huge amount XHTML or CSS template can be easily  No SEO out of the box, URLs are not converted to Drupal. search engine friendly.  Drupal needs a little time investment to realize all the huge possibilities of  Server resources utilization is more Drupal compared to drupal  Clear, high quality code and API (easy  Only one site per installation to integrate with other solutions etc)  No Single Log-in to several sites  Flexibility and no known limitations  No User groups & permissions  Many high profile sites use Drupal  More intuitive administration user (e.g.: MTV UK, BBC, the Onion, Nasa, interface Greenpeace UK, New york observer,  Some polished modules for things like Tamtay.vn, VietLUG… ) calendars, polls, etc.  Modules cost you money http://mydrupal.com/joomla-versus-drupal http://forum.joomla.org/viewtopic.php?t=4364
  • 4. Trình diễn cài đặt  Tạo CSDL  Chạy cài đặt  Tạo user admin  Chỉnh cấu hình  Chọn Theme
  • 6. Các module hay sử dụng  Content Type, CCK  Taxonomy (Category)  Panels  Views  PathAuto (SEO)
  • 7. CCK  Tạo các trường cho “node”  Có rất nhiều module trường con (200+)  Date  Image  Video  etc
  • 8. Taxonomy  Dùng để phân loại các “Kiểu Nội dung” (Content Type)
  • 9. Panels  Panels 2: Adding a node to a  http://drupal.org/project/  panel page Panels 2: Basic text layouts panels  Panels 2: Create a node override  Để tạo bố cục (Layout)  Panels 2: Creating a mini panel and passing arguments through context  Có thể phân chia bố cục  Panels 2: Creating a new front page with Views and tuỳ biến và kết hợp với  Panels 2 Panels 2: Creating contexts các Module khác and relationships that are node type aware  Panels 2: Overriding the  Một Kiểu Nội dung cũng  node edit form Panels 2: Panels everywhere có thể có bố cục riêng
  • 10. Views  http://drupal.org/project/views  Dùng để tạo danh sách nội dung theo các tiêu chí tuỳ ý  Có API để cho các Module khác bon chen  Tài liệu: http://views-help.doc.logrus.com/
  • 11. Nhược điểm  Hơi khó sử dụng (các khái niệm…)  Không sử dụng MVC mà sử dụng Hook cho các hàm  Truy vấn CSDL nhiều có thể gây tốc độ chậm  Nên tối ưu (eAccelerator…)
  • 13. Code demonstration  1’ cho quảng káo
  • 14. Một số ứng dụng  CMS  Web chức năng  Demo site  XML service  Other
  • 15. Ví dụ thực tế  Tamtay: http://tamtay.vn  Spirit: http://letstalkspirit.com/
  • 16. Phù !!!  Kết luận  Tạisao ngày càng nhiều web sử dụng / chuyển sang Drupal  Hãy thử 1 lần nếu bạn chưa sử dụng nó  Hỏi đáp