Object Oriented Programming and design
A good start point about Object Oriented Programmation (OOP) and drupal is this document from the drupal API
http://api.drupal.org/api/HEAD/file/developer/topics/oop.html
This group aims to put together some useful references about Object Oriented programmation and modelization with drupal. Sometimes drupalers have great discussion about OOP , for example on their blog or during conferences, and we try to report them in this group.
So whereas you are a simple observator like the manager of this group, an OOP guru or a drupal guru or just a curious person you are encourage to join this group.
Should we stop the further development of Drupal and start a fork in OOP?
REAL drupal expert | holdmegraphics.com
we have a site www.oogalager.com/alpha which is built in drupal.
we are looking for a serious coder to work with us for the long term and develop this site and other drupal sites we have. the work can be project based or hourly. Currently this site needs some urgent additions (search, payment, e-com, and some other functionality) that require good knowledge and experience in drupal.
How to set confirm page before form submission?
hi,
How to set confirm page befor form submission? If anyone know about this question please help me.
Thanks & Regards,
Gnanasekar Boju
What level sessions would you attend at DrupalCamp LA 2009?
How to change my 5.x module to 6.x
Hi,
Currenty i upgrade my version 5.9 to 6.2. What r the changes in my own module for drupal 6.7. What is the difference between 6.2 to 6.5. If u know any document recommend to me.
thanks & regards,
Gnanasekar Boju
Porting to OO
Hi,
Recently I switched from joomla to Drupal. As an OO-lover, I do miss the OO-concept in Drupal. I loved it in Joomla, but there it was really complicated and it was a hell of job to find something.
Since the scripting of Drupal is not so complicated, why not port it to OO? Let's find a compromise between the java-way of OO and a less complicated way of OO. More flat.
I have seen what is said about Drupal NOT even thinking of translating to OO. But there are also people who would really like to see an OO version of Drupal.
Problems with Ical
Hello,
Our web firm is having some trouble with some ical integration.
Most events show up in ical as one hour off, while others show up with the correct time.
Any ideas or direct support would be much appreciated.
Please email me directly at james.welsh@ursaminor.com
Thank You!!
PDO now in core of drupal 7
The presentation of Larry Garfield
http://szeged2008.drupalcon.org/program/sessions/drupal-databases-next-g...
Last announcement to help on this : http://groups.drupal.org/node/14222
Another OOP Module For Drupal
The Droopal module allows for full OOP access to and from all custom and core modules. It is lite-weight and offers very little performance overhead.
OOP Module
I just released a module that lets developers use classes for extending modules, themes, and node types. I thought the folks in this group might be interested in taking a look at it. I'd love to get feedback on it. There's no real documentation for it, and the readme file is pretty thin. Please let me know if there's interest in using this discussion for flushing out the use cases, design approach, potential problems, ideas for improvement, etc.
Anti patterns in Drupal
Hi
In the Drupal we can see there are sevaral anti patterns , when we plug a themes we can see there are unwanted code we are working in theme.tpl file so the "Old Baggage" can be found (I don't know whether I'm walking on wrong or right way). Let us discuss about the anti patterns found in Drupal.
Thanks
Hesh
Are you interested in learning or using Flex?
What if FAPI were OO?
Earl wrote a great article about the form API and OOP in march 2007.
http://www.angrydonuts.com/what_if_fapi_were_oo
Using classes to implement modules and themes, any interest?
Hi folks,
I'm new to this group (and to groups.drupal.org in general), so let me give a quick introduction. I'm one of the owners and programmers at CraftySpace, a web development company creating Drupal-based solutions for our clients. We're a little over a year into our business, so we've been dealing with the hecticness that comes with a start-up business, and therefore, not getting as involved with the Drupal community as we'd like to be. But I'd like to start getting more involved, since that, of course, is the whole point of open-source software, so I appreciate the opportunity to be a part of this group.
Anyway, one of the things we're doing is trying to use more OOP syntax in the code that we write. To facilitate this, we created a module (that we're currently calling "ClassLibrary") that allows a module or a theme to be created as a class. The ClassLibrary module uses PHP 5's reflection API to create procedural wrapper functions around the public methods of the class in order to get the module or theme to integrate into Drupal the way modules and themes normally do. This approach allows us to write most of our code using OOP syntax, which we find more comfortable and intuitive than procedural syntax, it lets us have enforced encapsulation (i.e., private variables and methods), and it lets us take advantage of implementation inheritance in creating custom modules and themes in a way that I think is much more limited without using classes.
Should everything be node in drupal ?
Do you think everything should be a node in drupal ?
I have read in the "Pro drupal development book" on the page 86 that there have been great debates about this question but can not find them.
By the way, what are the objects in drupal ?
-node
-block
-user
-comment
-view
-panel
-file
others?
If "everything is node", should a link between two nodes be a node itself ?
I used to think that node should be a kind of class constructer that build every objects in drupal and then can be plugged with any functionnality available. No I think it is a bad idea. And you ?
Use cases
Do you think that what we have at ?q=admin/user/access is enough to reflect uses cases of a system ?
I found it very powerful and you ?
Object composition
How do you deal with object composition within drupal ?
Do you use Taxonomy + Panel + View ?
Do you use node reference with CCK node ?
Other solutions ?
What are your ways to define a container of other objects ?
Which drupal modules are involved in "object composition" nowadays ?
Object composition is about building "large" objects from "smaller" ones.
Here is a definition of object composition on wikipedia : http://en.wikipedia.org/wiki/Record_(computer_science)
Inheritance : super class, subclass and overriding
How do you translate your inheritance relations between classes with drupal ?
Suppose we have a super class "employee" with the three properties : name ; phone ; email and subclasses that are specific types of employees.
Then how will you implement this with drupal ?
The best way I see is to use CCK module and to share the fields of the super class between the node types of the subclasses.
The good points are that :
CCK can be seen as a class constructor in drupal. All the plugins we can find with CCK let us build our classes with more and more possibilities.
A good start point about Object Oriented Programmation (OOP) and drupal is this document from the drupal API
http://api.drupal.org/api/HEAD/file/developer/topics/oop.html
This group aims to put together some useful references about Object Oriented programmation and modelization with drupal. Sometimes drupalers have great discussion about OOP , for example on their blog or during conferences, and we try to report them in this group.
So whereas you are a simple observator like the manager of this group, an OOP guru or a drupal guru or just a curious person you are encourage to join this group.







