-Web Applications Made Easy by Sren Houen Show of hands Who - - PowerPoint PPT Presentation

web applications made easy by s ren houen show of hands
SMART_READER_LITE
LIVE PREVIEW

-Web Applications Made Easy by Sren Houen Show of hands Who - - PowerPoint PPT Presentation

-Web Applications Made Easy by Sren Houen Show of hands Who has used Drupal? Background / Show off Working with Drupal for almost a year Completed


slide-1
SLIDE 1
  • Web Applications Made Easy

by Søren Houen

slide-2
SLIDE 2

Show ¡of ¡hands ¡

  • Who ¡has ¡used ¡Drupal? ¡
slide-3
SLIDE 3

Background ¡/ ¡Show ¡off ¡ ¡

  • Working ¡with ¡Drupal ¡for ¡almost ¡a ¡year ¡

– Completed ¡seven ¡enterprise-­‑strength ¡CMS ¡projects ¡ – New ¡one ¡in ¡the ¡tubes ¡

  • Come ¡from ¡a ¡PHP ¡background ¡with ¡and ¡without ¡

Frameworks ¡(Symfony, ¡Zend, ¡CakePHP) ¡

– Apart, ¡of ¡course, ¡from ¡having ¡a ¡CS ¡bachelor ¡

  • ArLcle ¡in ¡IEEE ¡ICSC ¡2009 ¡last ¡year ¡

– hRp://www.computer.org/portal/web/csdl/doi/ 10.1109/ICSC.2009.79 ¡

slide-4
SLIDE 4

Show ¡off ¡

  • 999 ¡Credits: ¡Flash ¡Gamesite ¡(999credits.com) ¡
slide-5
SLIDE 5

My ¡Drupal ¡sites ¡

  • These ¡Games ¡Rock: ¡Flash ¡Gamesite ¡
slide-6
SLIDE 6

My ¡Drupal ¡sites ¡

  • StarcraZ ¡2 ¡Observer: ¡Community ¡hub ¡
slide-7
SLIDE 7

My ¡Drupal ¡sites ¡

  • Houen.net: ¡My ¡Company ¡website ¡
slide-8
SLIDE 8

My ¡Drupal ¡sites ¡

  • Basico.dk: ¡Company ¡website ¡
slide-9
SLIDE 9

My ¡Drupal ¡sites ¡

  • Spoing.dk: ¡Company ¡website ¡
slide-10
SLIDE 10

My ¡Drupal ¡sites ¡

  • Advis.dk: ¡Company ¡website ¡
slide-11
SLIDE 11

Quick ¡look ¡

  • Open ¡source ¡framework ¡(GPL) ¡
  • Started ¡by ¡Dries ¡Buytaert ¡in ¡2000 ¡
  • Began ¡as ¡forum ¡board ¡for ¡8 ¡students ¡
  • More ¡than ¡275.000 ¡current ¡installaLons ¡

– (hRp://drupal.org/project/usage: ¡02/09/10) ¡

  • Is ¡used ¡for ¡high-­‑volume ¡business-­‑criLcal ¡sites ¡

– For ¡example ¡large ¡newspapers ¡(pol.dk, ¡ berlingske.dk) ¡

slide-12
SLIDE 12

Purpose ¡

  • More ¡than ¡a ¡framework: ¡

Complete ¡full-­‑featured ¡point-­‑and-­‑click ¡ WYSIWYG ¡CMS ¡

  • Fast ¡to ¡build ¡
  • Easy ¡to ¡extend ¡
  • Robust ¡
  • Fast ¡
slide-13
SLIDE 13

Features ¡

  • MulL-­‑plaborm ¡(Apache/IIS) ¡

– Linux, ¡BSD, ¡Solaris, ¡Windows, ¡Mac ¡

  • Database-­‑independent ¡

– MySQL ¡& ¡PostgreSQL ¡standard ¡ – Can ¡be ¡extended ¡to ¡any ¡relaLonal ¡database ¡

  • MulL-­‑language ¡
slide-14
SLIDE 14

Services ¡

  • “No ¡code ¡needed” ¡basic ¡funcLonality ¡

– Point-­‑and-­‑click ¡WYSIWYG ¡administraLon ¡ – Full ¡user ¡administraLon ¡

  • Signup ¡with ¡email ¡validaLon ¡
  • Customizable ¡role-­‑based ¡permission ¡system ¡

– Content ¡creaLon ¡& ¡ediLng ¡ – Deep ¡content ¡searching ¡ – Customizable ¡caching ¡ – Input ¡saniLzaLon ¡

slide-15
SLIDE 15

Services ¡

– SEO ¡& ¡user ¡friendly ¡URL’s ¡

  • www.example.com/this-­‑url-­‑rocks ¡

– Permalinks ¡ ¡

  • www.example.com/node/143 ¡

– Version ¡control ¡

  • Enable, ¡edit, ¡mess ¡up, ¡roll ¡back ¡(blame ¡somebody) ¡

– StaLsLcs ¡

  • What ¡(content), ¡who ¡(IP/users),from ¡where ¡(referrers), ¡

to ¡where ¡(navigaLon ¡on ¡site) ¡

– Content ¡syndicaLon ¡(RDF/RSS) ¡

slide-16
SLIDE 16

Services ¡

  • Standard ¡end-­‑product ¡funcLonality ¡

– Content ¡types ¡

  • Pages ¡(Page) ¡
  • Blog ¡(Story) ¡
  • Wiki ¡(Book) ¡
slide-17
SLIDE 17

Main ¡Concepts ¡

  • Model-­‑View-­‑Controller ¡architecture ¡

– Database ¡ – Controller ¡logic ¡ – Theme ¡system ¡

  • Cron ¡script ¡

– Cache, ¡search, ¡Ldy ¡up, ¡etc. ¡

  • Modules, ¡modules, ¡modules ¡

– Extension ¡by ¡huge ¡number ¡of ¡enterprise-­‑strength ¡ modules ¡= ¡All-­‑purpose ¡web ¡framework ¡

slide-18
SLIDE 18

Call ¡stack ¡

  • BoRom-­‑up ¡levels ¡of ¡

conceptual ¡layers ¡

  • NoLce ¡low ¡placement ¡
  • f ¡modules ¡= ¡

POWERFUL ¡

slide-19
SLIDE 19

Node ¡

  • Mother ¡of ¡all ¡content ¡
  • Very ¡basic ¡informaLon ¡

– Author ¡ – CreaLon ¡date ¡ – Title ¡ – Body ¡

  • Anything ¡else ¡is ¡up ¡to ¡you ¡(or ¡a ¡module) ¡
slide-20
SLIDE 20

Modules ¡

  • We’ll ¡save ¡those ¡for ¡later ¡
slide-21
SLIDE 21

Blocks ¡

slide-22
SLIDE 22

Flashback ¡

slide-23
SLIDE 23

User ¡permissions ¡

  • Users ¡
  • Roles ¡
  • Permission ¡
  • Equals ¡

– Who ¡can ¡do ¡what ¡ – Access ¡what ¡ – See ¡what ¡

slide-24
SLIDE 24

Templates ¡

  • How ¡content ¡appears ¡

– Same ¡site, ¡different ¡theme ¡

slide-25
SLIDE 25

Examples ¡

  • 5-­‑minute ¡CMS ¡

– WITH ¡ONE ¡HAND! ¡

  • Views ¡
slide-26
SLIDE 26

5-­‑minute ¡CMS ¡-­‑ ¡ONE ¡HANDED ¡

slide-27
SLIDE 27

Views ¡

slide-28
SLIDE 28

The ¡downside ¡

  • High ¡maintenance ¡

– Must ¡be ¡updated ¡regularly ¡to ¡be ¡secure ¡

  • hRp://drupal.org/node/661600 ¡ ¡

– Updates ¡are ¡Lme-­‑consuming ¡(unlike ¡Wordpress ¡1-­‑click ¡ updates) ¡

  • My ¡fervent ¡prayer: ¡Improved ¡in ¡Drupal ¡7 ¡
  • No ¡reselling ¡without ¡GPL’ing ¡

– Anyone ¡got ¡a ¡business ¡model ¡for ¡selling ¡a ¡good ¡gamesite ¡ under ¡the ¡GPL? ¡

  • +1 ¡million ¡nodes ¡requires ¡special ¡handling ¡

– Not ¡really ¡downside ¡as ¡so ¡does ¡most ¡other ¡frameworks, ¡ and ¡can ¡be ¡handled ¡

slide-29
SLIDE 29

The ¡upside ¡

  • EVERYTHING ¡ELSE ¡PRESENTED! ¡
  • SkepLcal? ¡Take ¡two ¡CMS ¡frameworks ¡and ¡call ¡

me ¡in ¡the ¡morning. ¡

slide-30
SLIDE 30

The ¡literature ¡

  • Don’t ¡call ¡me ¡– ¡read! ¡
  • Good ¡resources ¡to ¡learn ¡drupal ¡(and ¡the ¡sources ¡for ¡these ¡slides) ¡

– Drupal.org ¡documentaLon ¡

  • HUGE ¡user ¡base ¡
  • Living, ¡breathing, ¡frothing ¡community ¡

– Books ¡

Using ¡Drupal ¡ (O’Reilly ¡ Drupal ¡6 ¡Themes ¡ Learning ¡Drupal ¡6 ¡ Module ¡Development ¡

slide-31
SLIDE 31

QuesLons? ¡