Drupal Community
description
Transcript of Drupal Community
![Page 1: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/1.jpg)
![Page 2: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/2.jpg)
Drupal Community
The Architect and the Organism:
What Plato & Aristotle have to say about Drupal
Presented by Matt Butcher
![Page 3: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/3.jpg)
About Matt• Web Developer
since 1995
• Author of seven technical books
• Actual real-life philosopher
http://technosophos.com
Twitter: @technosophos
Drupal: mbutcher
![Page 4: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/4.jpg)
April, 2012
![Page 5: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/5.jpg)
![Page 6: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/6.jpg)
![Page 7: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/7.jpg)
Who was Plato’s Teacher?Question One:
![Page 8: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/8.jpg)
Who was Aristotle’s Mostfamous Student?
Question Two:
![Page 9: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/9.jpg)
“All philosophy is a footnote to Plato.”A. N. Whitehead
![Page 10: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/10.jpg)
So is all of computer science.
![Page 11: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/11.jpg)
Philosoraptor• Quite possibly the
true teacher of Socrates.
• Author of “Tractatus Logico-Raptus”
• Short and pithy questions
• Extinct.
![Page 12: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/12.jpg)
Socrates• 5th Century B.C.E
• Controversial teacher
• “The Socratic Method”
• A character in the dialogs of his most famous student.
• Sentences to death for the “corruption of youth”
• The father of western philosophy
http://commons.wikimedia.org/wiki/File:Anderson,_Domenico_(1854-1938)_-_n._23185_-_Socrate_(Collezione_Farnese)_-_Museo_Nazionale_di_Napoli.jpg
![Page 13: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/13.jpg)
![Page 14: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/14.jpg)
Plato• Student of
Socrates (he was probably in his mid-20’s when Socrates died)
• Like Socrates, an Athenian
• Traveled widely
• Wrote numerous books, mostly in the form of dialogs
http://commons.wikimedia.org/wiki/File:Plato_Silanio_Louvre_Ma3654.jpg
![Page 15: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/15.jpg)
Aristotle• Student of Plato, and
teacher of Alexander the Great
• Instrumental in the development of…
• Philosophy
• Natural sciences
• Literary theory
• Political science
• Biology
http://commons.wikimedia.org/wiki/File:Aristoteles_Louvre.jpg
![Page 16: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/16.jpg)
But what does any of this have to dowith us?
![Page 17: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/17.jpg)
The Most Important Slide
http://en.wikipedia.org/wiki/File:Sanzio_01.jpg
![Page 18: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/18.jpg)
This says it all…
http://commons.wikimedia.org/wiki/File:Sanzio_01_Plato_Aristotle.jpg
![Page 19: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/19.jpg)
Plato
Forms, Perfection, and Reality
![Page 20: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/20.jpg)
Ideal: Having to do primarily with an idea, ora mental object. This does not entail perfection.
So what’s the ideal girlfriend/boyfriend?
![Page 21: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/21.jpg)
The Cave
http://xkcd.com/876/
![Page 22: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/22.jpg)
http://commons.wikimedia.org/wiki/File:Gua_Tempurung.jpg
He returns to the caveto tell his fellow prisoners
what he has seen.
![Page 23: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/23.jpg)
What is the most real?
![Page 24: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/24.jpg)
Being and Becoming
![Page 25: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/25.jpg)
Eidos: The Forms
![Page 26: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/26.jpg)
TheLSDChair
Esinem Design
![Page 27: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/27.jpg)
![Page 28: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/28.jpg)
Intellect & Art
Plato would not have liked the Raphael
![Page 29: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/29.jpg)
Object-Oriented
![Page 30: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/30.jpg)
![Page 31: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/31.jpg)
Plato is an architect.
Aristotle is a biologist.
![Page 32: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/32.jpg)
Aristotle
Metaphysics, Change, & Hylomorphism
![Page 33: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/33.jpg)
Aristotle is all about becomingchangedynamism
![Page 34: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/34.jpg)
Metaphysics: The thing that comesbefore physics.
(Philosophers get paid for sayingstuff like that)
![Page 35: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/35.jpg)
![Page 36: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/36.jpg)
Aristotle in 3 Words
1. Stuff (hyle)2. Potentiality3. Actuality
![Page 37: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/37.jpg)
Impress your friends and loved ones…
Hylomorphism
It means turning stuff into things.I am not kidding, philosophers get PAID for this.
![Page 38: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/38.jpg)
Aristotle’s Famous Model
![Page 39: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/39.jpg)
If Aristotle had written code…
![Page 40: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/40.jpg)
Functional vs. ImperativeFunctional
• Focus on BECOMING
• What transformation is occurring?
• Functions are first class
• Dynamicity of runtime
• Process
Imperative (OO or Procedural)• Focus on BEING
• What is the current state?
• Objects (structs, etc.) are first class
• Encapsulation
• Structures
![Page 41: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/41.jpg)
Functional Programming
Pay attention to the process of running the code, what it is becoming,
not what’s its state is.
![Page 42: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/42.jpg)
Aristotle would worry about placing so muchemphasis on data structures, objects, classes, and state.
Focus on the movement – they physis
![Page 43: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/43.jpg)
And Drupal?
![Page 44: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/44.jpg)
Drupal is lost in the middle(like medieval philosophy)
![Page 45: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/45.jpg)
Drupal was Aristotelian1. Stuff: simple types2. Potentiality: hooks
3. Actuality: runtime hook invocation
But it was never really functional
![Page 46: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/46.jpg)
But it might just be the mostAristotelian system ever made
![Page 47: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/47.jpg)
Toss this little phrase out at dinner…
Drupal isn’t a CMS.It’s a hylomorphic engine!
You can singlehandedly settle the CMS/Frameworkdebate and sound suave while doing so.
![Page 48: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/48.jpg)
Plato hates this
![Page 49: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/49.jpg)
He thinks hylomorphism is dumb
![Page 50: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/50.jpg)
And scary
![Page 51: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/51.jpg)
It’s unpredictable. It needs structure.
![Page 52: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/52.jpg)
Plato wants you to rewrite Drupal…Using classes and objects.
![Page 53: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/53.jpg)
WWPD?ClassesStatic wrappers
State, state, state!
Design patterns
Persistence layers
![Page 54: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/54.jpg)
Plato would rebuild Drupalin Symfony
![Page 55: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/55.jpg)
Quo Vadis?
That’s Latin for “Oh crap, what are we gonna do now?”
![Page 56: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/56.jpg)
Medieval LessonThou canst not haveth
Thy cake, and partaketh of it too.
More specifically, Aristotle and Plato arefundamentally different.
![Page 57: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/57.jpg)
Complexity is the arch-nemesisof software.
![Page 58: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/58.jpg)
Ockham's RazorLogical Positivism
The Categorical Imperative
Taxonomy
Model & Simulation TheoryPhysical reductionism
ALL OF PHILOSPHY
![Page 59: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/59.jpg)
Complexity
• Ambiguity: Which tools?• Anti-reductionist: Cannot simplify withoutloss
• Cognitive limitations: Ideal reason is the greatest philosophical myth
![Page 60: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/60.jpg)
The moral of the story is…
We must pick one.
![Page 61: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/61.jpg)
![Page 62: Drupal Community](https://reader036.fdocuments.net/reader036/viewer/2022081604/56815594550346895dc36e7c/html5/thumbnails/62.jpg)
What did you think?Locate this session on theDrupalCon Denver website
http://denver2012.drupal.org/program
Click the “Take the Survey” link.
Thank You!