SlideShare a Scribd company logo
Drupal in 3 hours
(php, MySQL, CSS)


Tomislav Hengl
ISRIC โ€” World Soil Information, Wageningen University




                                                        Internal training, 16 May 2011, Wageningen
Programme

  BLOCK 1 (45 mins): Introduction to Drupal (design, main
  principles, basic and extended functionality, theming and
  customization);
  BLOCK 2 (30 mins): Technical issues behind Drupal โ€”
  php, MySQL, CSS;
  BLOCK 3 (20 mins): Installing Drupal and ๏ฌrst steps;
  BLOCK 4 (45 mins): Using Drupal to manage
  international research groups and events
  (geomorphometry.org);
  BLOCK 5 (45 mins): Using drupal to collect and serve soil
  data (soilpro๏ฌles.org);



                                       Internal training, 16 May 2011, Wageningen
Disclaimer



       This course focuses on using Drupal; you will NOT learn
       how to script in php.




  1
      Download and install programs, follow exercises.
                                                         Internal training, 16 May 2011, Wageningen
Disclaimer



       This course focuses on using Drupal; you will NOT learn
       how to script in php.
       The idea is to help you ๏ฌnd your way (documentation,
       tutorials) and make ๏ฌrst steps.




  1
      Download and install programs, follow exercises.
                                                         Internal training, 16 May 2011, Wageningen
Disclaimer



       This course focuses on using Drupal; you will NOT learn
       how to script in php.
       The idea is to help you ๏ฌnd your way (documentation,
       tutorials) and make ๏ฌrst steps.
       You can follow this training actively1 or passively.




  1
      Download and install programs, follow exercises.
                                                         Internal training, 16 May 2011, Wageningen
Disclaimer



       This course focuses on using Drupal; you will NOT learn
       how to script in php.
       The idea is to help you ๏ฌnd your way (documentation,
       tutorials) and make ๏ฌrst steps.
       You can follow this training actively1 or passively.
       This is NOT an R training course.




  1
      Download and install programs, follow exercises.
                                                         Internal training, 16 May 2011, Wageningen
The open source movement


Open Source solutions2 :
       Operating systems: Linux
       Databases: SQL
       Scienti๏ฌc writing: LTEX
                          A

       Spatial analysis: GRASS GIS, SAGA GIS
       Statistical computing: R
       Content management: Drupal




  2
      http://www.gnu.org/philosophy/fsfs/rms-essays.pdf
                                              Internal training, 16 May 2011, Wageningen
Drupal โ€” basic facts

       Drupal is a OS CMS written in PHP (created by Dries
       Buytaert).
       It is used as a back-end system for at least 1.5% of all
       websites worldwide3 .
       There is an active community of users and developers
       (DrupalCon Events).
       Probably more suited for Academic work than e.g.:
       WordPress, WikiMedia and/or Plone;
       Three major parts: (1) Content (MySQL database), (2)
       Functionality (Modules), (3) Style (Themes).


  3
      http://en.wikipedia.org/wiki/Drupal
                                                Internal training, 16 May 2011, Wageningen
Dries Buytaert




                 Internal training, 16 May 2011, Wageningen
Google trends




                Internal training, 16 May 2011, Wageningen
US Government uses it!




                         Internal training, 16 May 2011, Wageningen
Drupal structure

   Content:
        User-inserted textual content
        Multimedia (๏ฌles)
        Website tra๏ฌƒc (metadata)
   Functionality:
        Basic modules
        User-contributed modules
        Embedded (PHP) scripts
   Style / layout:
        Themes
        Cascading Style Sheets (CSS)
        Blocks




                                        Internal training, 16 May 2011, Wageningen
Audiences


   Passive end-users (they do not even know that they use
   Drupal!);
   Active end-users (they need to know how to create content);
   Website administrators (they need to know how to install,
   customize, extend and ๏ฌx functionality);
   Developers (they need to know PHP and other programming
   languages);
   Support sta๏ฌ€ (they need to know how to ๏ฌx problems);




                                         Internal training, 16 May 2011, Wageningen
PHP



      PHP4 is a general-purpose language for web development
      (scripts).
      PHP script =โ‡’ Web server =โ‡’ HTML content
      Installed on more than 20 million websites and 1 million web
      servers.
      PHP has hundreds of base functions and thousands more via
      extensions.




 4
     โ€˜Personal Home Page Toolsโ€™.
                                              Internal training, 16 May 2011, Wageningen
PHP example

<html>
<head>
< t i t l e>L a s t u p d a t e d PHP S c r i p t</ t i t l e>
</head>

<?
$ l a s t m o d i f i e d = f i l e m t i m e ( โ€e x a m p l e 7 . php3 โ€ ) ;
p r i n t ( โ€L a s t M o d i f i e d โ€ ) ;
p r i n t ( date ( โ€m/ j / y h : i โ€ , $ l a s t m o d i f i e d ) ) ;
?>

</body>
</ html>



                                                       Internal training, 16 May 2011, Wageningen
CSS examples

<html>
<head>
<s t y l e type=โ€ t e x t / c s s โ€>
body { background โˆ’image : u r l ( ' p a p e r . g i f ' ) ; }
</ s t y l e>
</head>

<body>
<h1>H e l l o World !</h1>
</body>

</ html>



                                                Internal training, 16 May 2011, Wageningen
Where to get help?



The big idea of FOSS is that you try to learn things yourself!
    There are many open access Tutorials.
    I often teach myself things by watching videos and slides.
    You might buy some of the extensive Drupal books.
    You might hire some web-programming guru that specializes
    in Drupal (the creator?).




                                             Internal training, 16 May 2011, Wageningen
Teach-yourself




                 Internal training, 16 May 2011, Wageningen
Drupal marketplace




                     Internal training, 16 May 2011, Wageningen
Software




   Google Chrome or Firefox web browser;
   FileZilla ๏ฌle transfer to server;
   WinEdt code editing;
   R download content from a website;




                                        Internal training, 16 May 2011, Wageningen
Requirements




   Disk space / RAM (FTP access);
   Web server (Apache, MySQL);
   PHP support;
   Read/write access;




                                    Internal training, 16 May 2011, Wageningen
Video tutorial




                 Internal training, 16 May 2011, Wageningen
Migration of content




There are several possibilities:
        Migrate from a passive website to a CMS;
        Migrate from a CMS to CMS5 ;
        Migrate from a server to a server (backup_migrate);




   5
       E.gโ€ http://drupal.org/node/43178
           .:
                                              Internal training, 16 May 2011, Wageningen
Drupal modules




                 Internal training, 16 May 2011, Wageningen
Set-up an ODBC driver




                        Internal training, 16 May 2011, Wageningen
Specify connection




                     Internal training, 16 May 2011, Wageningen
Connecting to Drupal MySQL DB
> library(RODBC)
> geomorph.conn <- odbcConnect(dsn="geomorphometry.org")
> odbcGetInfo(geomorph.conn)
                       DBMS_Name
                         "MySQL"
                        DBMS_Ver
                    "5.1.56-log"
                 Driver_ODBC_Ver
                         "03.51"
                Data_Source_Name
            "geomorphometry.org"
                     Driver_Name
                   "myodbc5.dll"
                      Driver_Ver
                    "05.01.0008"
                        ODBC_Ver
                    "03.80.0000"
                     Server_Name
  "lin18.mojsite.com via TCP/IP"



                                                 Internal training, 16 May 2011, Wageningen
Open Soil Pro๏ฌles




                    Internal training, 16 May 2011, Wageningen
Web forms




            Internal training, 16 May 2011, Wageningen
Final notes



   Drupal is one of the fastest growing OS CMS.
   It has an extensive society that have contributed over 8k
   modules.
   It is stable, reliable and secure (although there are some
   smaller threats).
   You can teach yourself Drupal (PHP). . . the issue is only how
   much and what.




                                            Internal training, 16 May 2011, Wageningen
Literature (advanced)




   Using Drupal by Angela Byron
   Learning Drupal 6 Module Development by Matt Butcher.
   Pro Drupal Development by John K. VanDyk and Matt
   Westgate.




                                     Internal training, 16 May 2011, Wageningen

More Related Content

Similar to Drupal course hengl

Lis651n12a.a4
Lis651n12a.a4Lis651n12a.a4
Lis651n12a.a4
StephanieLeBadezet
ย 
Lis651n12a.a4
Lis651n12a.a4Lis651n12a.a4
Lis651n12a.a4
StephanieLeBadezet
ย 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
Wong Hoi Sing Edison
ย 
XOOPS 2.5.x Debugging with FirePHP/FireBug
XOOPS 2.5.x Debugging with FirePHP/FireBugXOOPS 2.5.x Debugging with FirePHP/FireBug
XOOPS 2.5.x Debugging with FirePHP/FireBug
xoopsproject
ย 
Drupal introduction
Drupal introductionDrupal introduction
Drupal introduction
Geshan Manandhar
ย 
PHPExcel and OPENXML4J
PHPExcel and OPENXML4JPHPExcel and OPENXML4J
PHPExcel and OPENXML4J
Maarten Balliauw
ย 
Introduction to PHP (SDPHP)
Introduction to PHP   (SDPHP)Introduction to PHP   (SDPHP)
Introduction to PHP (SDPHP)
Eric Johnson
ย 
lamp.pptx
lamp.pptxlamp.pptx
lamp.pptx
SainikRamagiri
ย 
JOOMLA
JOOMLAJOOMLA
JOOMLA
Sudip Saha
ย 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
Kathryn Carruthers
ย 
Karma Code Less Teach More
Karma Code Less Teach MoreKarma Code Less Teach More
Karma Code Less Teach More
Bryan Berry
ย 
Drupal 8 preview_slideshow
Drupal 8 preview_slideshowDrupal 8 preview_slideshow
Drupal 8 preview_slideshow
Tee Malapela
ย 
Building A Platform From Open Source At Yahoo
Building A Platform From Open Source At YahooBuilding A Platform From Open Source At Yahoo
Building A Platform From Open Source At Yahoo
Dustin Whittle
ย 
Drupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime CollegeDrupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime College
guest08bc36
ย 
Drupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime CollegeDrupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime College
Geshan Manandhar
ย 
Joomla Manual in Compatible with XAMPP
Joomla Manual in Compatible with XAMPPJoomla Manual in Compatible with XAMPP
Joomla Manual in Compatible with XAMPP
Indian Institute of Management Ahmedabad
ย 
Open Source in Higher Education 2007
Open Source in Higher Education 2007Open Source in Higher Education 2007
Open Source in Higher Education 2007
ssorden
ย 
LVPHP.org
LVPHP.orgLVPHP.org
LVPHP.org
Joshua Copeland
ย 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEM
ANAND PRAKASH
ย 
Top 10 open source technologies for enterprise/Business web application devel...
Top 10 open source technologies for enterprise/Business web application devel...Top 10 open source technologies for enterprise/Business web application devel...
Top 10 open source technologies for enterprise/Business web application devel...
Techcronus Business Solutions Pvt. Ltd.
ย 

Similar to Drupal course hengl (20)

Lis651n12a.a4
Lis651n12a.a4Lis651n12a.a4
Lis651n12a.a4
ย 
Lis651n12a.a4
Lis651n12a.a4Lis651n12a.a4
Lis651n12a.a4
ย 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
ย 
XOOPS 2.5.x Debugging with FirePHP/FireBug
XOOPS 2.5.x Debugging with FirePHP/FireBugXOOPS 2.5.x Debugging with FirePHP/FireBug
XOOPS 2.5.x Debugging with FirePHP/FireBug
ย 
Drupal introduction
Drupal introductionDrupal introduction
Drupal introduction
ย 
PHPExcel and OPENXML4J
PHPExcel and OPENXML4JPHPExcel and OPENXML4J
PHPExcel and OPENXML4J
ย 
Introduction to PHP (SDPHP)
Introduction to PHP   (SDPHP)Introduction to PHP   (SDPHP)
Introduction to PHP (SDPHP)
ย 
lamp.pptx
lamp.pptxlamp.pptx
lamp.pptx
ย 
JOOMLA
JOOMLAJOOMLA
JOOMLA
ย 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
ย 
Karma Code Less Teach More
Karma Code Less Teach MoreKarma Code Less Teach More
Karma Code Less Teach More
ย 
Drupal 8 preview_slideshow
Drupal 8 preview_slideshowDrupal 8 preview_slideshow
Drupal 8 preview_slideshow
ย 
Building A Platform From Open Source At Yahoo
Building A Platform From Open Source At YahooBuilding A Platform From Open Source At Yahoo
Building A Platform From Open Source At Yahoo
ย 
Drupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime CollegeDrupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime College
ย 
Drupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime CollegeDrupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime College
ย 
Joomla Manual in Compatible with XAMPP
Joomla Manual in Compatible with XAMPPJoomla Manual in Compatible with XAMPP
Joomla Manual in Compatible with XAMPP
ย 
Open Source in Higher Education 2007
Open Source in Higher Education 2007Open Source in Higher Education 2007
Open Source in Higher Education 2007
ย 
LVPHP.org
LVPHP.orgLVPHP.org
LVPHP.org
ย 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEM
ย 
Top 10 open source technologies for enterprise/Business web application devel...
Top 10 open source technologies for enterprise/Business web application devel...Top 10 open source technologies for enterprise/Business web application devel...
Top 10 open source technologies for enterprise/Business web application devel...
ย 

More from Tomislav Hengl

Introducing GSIF (seminar at Lamont campus)
Introducing GSIF (seminar at Lamont campus)Introducing GSIF (seminar at Lamont campus)
Introducing GSIF (seminar at Lamont campus)
Tomislav Hengl
ย 
SAGA GIS 2.0.7
SAGA GIS 2.0.7SAGA GIS 2.0.7
SAGA GIS 2.0.7
Tomislav Hengl
ย 
Open Soil Profiles - testbed data portal for storing soil profile data
Open Soil Profiles - testbed data portal for storing soil profile dataOpen Soil Profiles - testbed data portal for storing soil profile data
Open Soil Profiles - testbed data portal for storing soil profile data
Tomislav Hengl
ย 
Space-time data workshop at IfGI
Space-time data workshop at IfGISpace-time data workshop at IfGI
Space-time data workshop at IfGI
Tomislav Hengl
ย 
Global soilmap at_afsis_hengl
Global soilmap at_afsis_henglGlobal soilmap at_afsis_hengl
Global soilmap at_afsis_hengl
Tomislav Hengl
ย 
Spatial interpolation comparison
Spatial interpolation comparisonSpatial interpolation comparison
Spatial interpolation comparison
Tomislav Hengl
ย 
DSM training - preparing auxiliary data
DSM training - preparing auxiliary dataDSM training - preparing auxiliary data
DSM training - preparing auxiliary data
Tomislav Hengl
ย 
R crash course
R crash courseR crash course
R crash course
Tomislav Hengl
ย 
Latex crash course
Latex crash courseLatex crash course
Latex crash course
Tomislav Hengl
ย 

More from Tomislav Hengl (9)

Introducing GSIF (seminar at Lamont campus)
Introducing GSIF (seminar at Lamont campus)Introducing GSIF (seminar at Lamont campus)
Introducing GSIF (seminar at Lamont campus)
ย 
SAGA GIS 2.0.7
SAGA GIS 2.0.7SAGA GIS 2.0.7
SAGA GIS 2.0.7
ย 
Open Soil Profiles - testbed data portal for storing soil profile data
Open Soil Profiles - testbed data portal for storing soil profile dataOpen Soil Profiles - testbed data portal for storing soil profile data
Open Soil Profiles - testbed data portal for storing soil profile data
ย 
Space-time data workshop at IfGI
Space-time data workshop at IfGISpace-time data workshop at IfGI
Space-time data workshop at IfGI
ย 
Global soilmap at_afsis_hengl
Global soilmap at_afsis_henglGlobal soilmap at_afsis_hengl
Global soilmap at_afsis_hengl
ย 
Spatial interpolation comparison
Spatial interpolation comparisonSpatial interpolation comparison
Spatial interpolation comparison
ย 
DSM training - preparing auxiliary data
DSM training - preparing auxiliary dataDSM training - preparing auxiliary data
DSM training - preparing auxiliary data
ย 
R crash course
R crash courseR crash course
R crash course
ย 
Latex crash course
Latex crash courseLatex crash course
Latex crash course
ย 

Recently uploaded

The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
ย 
Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.
IsmaelVazquez38
ย 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
ย 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
ย 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
ย 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
ย 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
Celine George
ย 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
ย 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
ย 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
ย 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
ย 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
ย 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
ย 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Nguyen Thanh Tu Collection
ย 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
sonukumargpnirsadhan
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 

Recently uploaded (20)

The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
ย 
Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.
ย 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
ย 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ย 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
ย 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
ย 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
ย 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
ย 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
ย 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
ย 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
ย 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
ย 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
ย 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 8 - Cแบข Nฤ‚M - FRIENDS PLUS - Nฤ‚M HแปŒC 2023-2024 (B...
ย 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 

Drupal course hengl

  • 1. Drupal in 3 hours (php, MySQL, CSS) Tomislav Hengl ISRIC โ€” World Soil Information, Wageningen University Internal training, 16 May 2011, Wageningen
  • 2. Programme BLOCK 1 (45 mins): Introduction to Drupal (design, main principles, basic and extended functionality, theming and customization); BLOCK 2 (30 mins): Technical issues behind Drupal โ€” php, MySQL, CSS; BLOCK 3 (20 mins): Installing Drupal and ๏ฌrst steps; BLOCK 4 (45 mins): Using Drupal to manage international research groups and events (geomorphometry.org); BLOCK 5 (45 mins): Using drupal to collect and serve soil data (soilpro๏ฌles.org); Internal training, 16 May 2011, Wageningen
  • 3. Disclaimer This course focuses on using Drupal; you will NOT learn how to script in php. 1 Download and install programs, follow exercises. Internal training, 16 May 2011, Wageningen
  • 4. Disclaimer This course focuses on using Drupal; you will NOT learn how to script in php. The idea is to help you ๏ฌnd your way (documentation, tutorials) and make ๏ฌrst steps. 1 Download and install programs, follow exercises. Internal training, 16 May 2011, Wageningen
  • 5. Disclaimer This course focuses on using Drupal; you will NOT learn how to script in php. The idea is to help you ๏ฌnd your way (documentation, tutorials) and make ๏ฌrst steps. You can follow this training actively1 or passively. 1 Download and install programs, follow exercises. Internal training, 16 May 2011, Wageningen
  • 6. Disclaimer This course focuses on using Drupal; you will NOT learn how to script in php. The idea is to help you ๏ฌnd your way (documentation, tutorials) and make ๏ฌrst steps. You can follow this training actively1 or passively. This is NOT an R training course. 1 Download and install programs, follow exercises. Internal training, 16 May 2011, Wageningen
  • 7. The open source movement Open Source solutions2 : Operating systems: Linux Databases: SQL Scienti๏ฌc writing: LTEX A Spatial analysis: GRASS GIS, SAGA GIS Statistical computing: R Content management: Drupal 2 http://www.gnu.org/philosophy/fsfs/rms-essays.pdf Internal training, 16 May 2011, Wageningen
  • 8. Drupal โ€” basic facts Drupal is a OS CMS written in PHP (created by Dries Buytaert). It is used as a back-end system for at least 1.5% of all websites worldwide3 . There is an active community of users and developers (DrupalCon Events). Probably more suited for Academic work than e.g.: WordPress, WikiMedia and/or Plone; Three major parts: (1) Content (MySQL database), (2) Functionality (Modules), (3) Style (Themes). 3 http://en.wikipedia.org/wiki/Drupal Internal training, 16 May 2011, Wageningen
  • 9. Dries Buytaert Internal training, 16 May 2011, Wageningen
  • 10. Google trends Internal training, 16 May 2011, Wageningen
  • 11. US Government uses it! Internal training, 16 May 2011, Wageningen
  • 12. Drupal structure Content: User-inserted textual content Multimedia (๏ฌles) Website tra๏ฌƒc (metadata) Functionality: Basic modules User-contributed modules Embedded (PHP) scripts Style / layout: Themes Cascading Style Sheets (CSS) Blocks Internal training, 16 May 2011, Wageningen
  • 13. Audiences Passive end-users (they do not even know that they use Drupal!); Active end-users (they need to know how to create content); Website administrators (they need to know how to install, customize, extend and ๏ฌx functionality); Developers (they need to know PHP and other programming languages); Support sta๏ฌ€ (they need to know how to ๏ฌx problems); Internal training, 16 May 2011, Wageningen
  • 14. PHP PHP4 is a general-purpose language for web development (scripts). PHP script =โ‡’ Web server =โ‡’ HTML content Installed on more than 20 million websites and 1 million web servers. PHP has hundreds of base functions and thousands more via extensions. 4 โ€˜Personal Home Page Toolsโ€™. Internal training, 16 May 2011, Wageningen
  • 15. PHP example <html> <head> < t i t l e>L a s t u p d a t e d PHP S c r i p t</ t i t l e> </head> <? $ l a s t m o d i f i e d = f i l e m t i m e ( โ€e x a m p l e 7 . php3 โ€ ) ; p r i n t ( โ€L a s t M o d i f i e d โ€ ) ; p r i n t ( date ( โ€m/ j / y h : i โ€ , $ l a s t m o d i f i e d ) ) ; ?> </body> </ html> Internal training, 16 May 2011, Wageningen
  • 16. CSS examples <html> <head> <s t y l e type=โ€ t e x t / c s s โ€> body { background โˆ’image : u r l ( ' p a p e r . g i f ' ) ; } </ s t y l e> </head> <body> <h1>H e l l o World !</h1> </body> </ html> Internal training, 16 May 2011, Wageningen
  • 17. Where to get help? The big idea of FOSS is that you try to learn things yourself! There are many open access Tutorials. I often teach myself things by watching videos and slides. You might buy some of the extensive Drupal books. You might hire some web-programming guru that specializes in Drupal (the creator?). Internal training, 16 May 2011, Wageningen
  • 18. Teach-yourself Internal training, 16 May 2011, Wageningen
  • 19. Drupal marketplace Internal training, 16 May 2011, Wageningen
  • 20. Software Google Chrome or Firefox web browser; FileZilla ๏ฌle transfer to server; WinEdt code editing; R download content from a website; Internal training, 16 May 2011, Wageningen
  • 21. Requirements Disk space / RAM (FTP access); Web server (Apache, MySQL); PHP support; Read/write access; Internal training, 16 May 2011, Wageningen
  • 22. Video tutorial Internal training, 16 May 2011, Wageningen
  • 23. Migration of content There are several possibilities: Migrate from a passive website to a CMS; Migrate from a CMS to CMS5 ; Migrate from a server to a server (backup_migrate); 5 E.gโ€ http://drupal.org/node/43178 .: Internal training, 16 May 2011, Wageningen
  • 24. Drupal modules Internal training, 16 May 2011, Wageningen
  • 25. Set-up an ODBC driver Internal training, 16 May 2011, Wageningen
  • 26. Specify connection Internal training, 16 May 2011, Wageningen
  • 27. Connecting to Drupal MySQL DB > library(RODBC) > geomorph.conn <- odbcConnect(dsn="geomorphometry.org") > odbcGetInfo(geomorph.conn) DBMS_Name "MySQL" DBMS_Ver "5.1.56-log" Driver_ODBC_Ver "03.51" Data_Source_Name "geomorphometry.org" Driver_Name "myodbc5.dll" Driver_Ver "05.01.0008" ODBC_Ver "03.80.0000" Server_Name "lin18.mojsite.com via TCP/IP" Internal training, 16 May 2011, Wageningen
  • 28. Open Soil Pro๏ฌles Internal training, 16 May 2011, Wageningen
  • 29. Web forms Internal training, 16 May 2011, Wageningen
  • 30. Final notes Drupal is one of the fastest growing OS CMS. It has an extensive society that have contributed over 8k modules. It is stable, reliable and secure (although there are some smaller threats). You can teach yourself Drupal (PHP). . . the issue is only how much and what. Internal training, 16 May 2011, Wageningen
  • 31. Literature (advanced) Using Drupal by Angela Byron Learning Drupal 6 Module Development by Matt Butcher. Pro Drupal Development by John K. VanDyk and Matt Westgate. Internal training, 16 May 2011, Wageningen