Drupal OO Discussion: Difference between revisions

m
Reverted edits by Osejisycym (Talk) to last revision by Davidm
No edit summary
 
m (Reverted edits by Osejisycym (Talk) to last revision by Davidm)
 
Line 1: Line 1:
=[http://axuzexy.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
cannot model anything
cannot model anything
nothing like agile
nothing like agile
Line 9: Line 8:
considerable angst about OO, arguments against it seem defensive.
considerable angst about OO, arguments against it seem defensive.


"Drupal has gotten a long way without using objects"
"Drupal has gotten a long way without using objects"


"Can't fix OO framework" - can hack procedural
"Can't fix OO framework" - can hack procedural


resolve with tricks like interception / aspect - end up with drupal
resolve with tricks like interception / aspect - end up with drupal


"for the first time" design specification for drupal 7, implement in drupal 8
"for the first time" design specification for drupal 7, implement in drupal 8


29:00 - building scaffolding on arrays
29:00 - building scaffolding on arrays


34:00 "drop from OO to drupal is small" ... uh.. is Drupal chx? very discouraging comments exclusively, overly defensive. it's just another developed approach.
34:00 "drop from OO to drupal is small" ... uh.. is Drupal chx? very discouraging comments exclusively, overly defensive. it's just another developed approach.


36:00 take parts and make them OO
36:00 take parts and make them OO
Line 27: Line 26:
provides a lot of support for objects, with regard for areas oo doesn't provide answers (eg menus)
provides a lot of support for objects, with regard for areas oo doesn't provide answers (eg menus)


seems more a matter of "when."
seems more a matter of "when."


a) OOP is only so natural for those who goes through CS courses.
a) OOP is only so natural for those who goes through CS courses.
Line 43: Line 42:
OO - develop concrete idea of model and services. drupal - not.
OO - develop concrete idea of model and services. drupal - not.


attitude "assume caller is intelligent" - changing code, late nights. no way to design something. why wouldnt you make it totally robust?
attitude "assume caller is intelligent" - changing code, late nights. no way to design something. why wouldnt you make it totally robust?


Views/Panels already use OO classes.
Views/Panels already use OO classes.