Object Oriented Programming and design

Events happening in the community are now at Drupal community events on www.drupal.org.

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.

Anonymous's picture

Why is this so difficult? How to display a menu in a template file?

Is someone willing to make a definitive writeup of this? If you want to sit down and work together on this just let me know, and I'll help where I can.

I see so many parts of code snippets, and comments that it worked as well as comments that it didn't work, that I can't make heads or tails out of how it is supposed to be done.

Please if you post something try to be as clear and complete as possible so that people can understand, or maybe it is just me?

From what I gather:

Read more
carlmcdade's picture

Movico: Timetracker module

I am working on a module for an NGO that does basic time tracking for projects. Initially I am doing this for D7 and then back porting it to D6 because it needs to be Open Atrium compatible.

The module is based on the Movico (MVC and OOP) style of creating modules for Drupal. I am finding that this makes Drupal more RAD friendly. Also since this is working code it shows the practically of the Movico methods and is allowing me to straighten out any kinks in the scaffolding.

Read more
carlmcdade's picture

Movico: Doing OOP and MVC for modules updated

I have updated Movico to work in Drupal 7 and will be making more updates for the demo. The demo is actually the workable code that will be downloadable via github: https://github.com/carlmcdade/Movico-D7

You can see the working demo and read the dev blog at:

http://www.drupal.se/movico_7

Read more
MichaelCole's picture

Quickstart 0.8 released

Hello,

For your coding pleasure, we present: Quickstart 0.8 (bittorrent link).

Quickstart is a downloadable virtual machine, containing a pre-configured Ubuntu Linux PHP development environment. Develop and debug LAMP natively, on any computer, without hassle.

QS 0.8 includes updates and bug fixes to QS 0.7. If you're already using QS 0.7, below is a script that will make the bug fixes.

QS 0.8 was also used to make the HOWTO videos on the Quickstart YouTube channel: step debugging, performance profiling, simple email debugging, etc.

What's next for the project? Not quite sure, but I'd love some feedback on how it's being used, and what features or HOWTO videos would be useful.

I hope you find it useful, and thanks for whatever you do for open source,

Mike

Read more
hypertext200's picture

What's new in video module 6.x-4.1-rc6

Today we released the latest video module release video 6.x-4.1-rc6 and we added number of new features to the video module.

First we added several new features to the FFMPEG conversion, now video module is allow your to convert video for progressive download and we changed the module to use latest FFMPEG with fallback to older versions.

Read more
carlmcdade's picture

Build a Drupal style hook system using PHP reflection

The Movico module is a scaffold for building Drupal modules in OOP and MVC. One requirement of the project is a hooking system, similar to Drupals, that uses OOP. The following is how I plan to build such a system using the PHP 5 reflection API.

read more

Read more
carlmcdade's picture

Building modules for Drupal using MVC and OOP

I just spent the last day or so working on a scaffolding module that lets developers build a Model-View-Controller application as a module in Drupal 6. The code and ideas are still in beta stages but working beautifully. This is the fleshing out of ideas that came about under development of Drupal websites.

read more
Github repository

Read more
stephen.moz's picture

Updating the classic article "Drupal from and OOP perspective"

I've undertaken to update the classic Drupal article on OOP.

http://drupal.org/node/547518

Comments, criticism, questions and feedback are welcome.

Read more
surfer's picture

Should we stop the further development of Drupal and start a fork in OOP?

Yes
17% (4 votes)
No - the basic concepts are good, but we should change to OOP in the later future
61% (14 votes)
No - the basic concepts are good, but we should change to OOP immediately
22% (5 votes)
Total votes: 23
gnanasekar's picture

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

Read more
Chris Charlton's picture

What level sessions would you attend at DrupalCamp LA 2009?

Beginner (get familiar with Drupal basics)
9% (4 votes)
Above Beginner (I use Drupal already and want to grow my site)
7% (3 votes)
Intermediate Themes/Design (I use Drupal, but I still have trouble going from design to theme)
33% (15 votes)
Intermediate Module Development (I use Drupal, and I need to code for it more)
28% (13 votes)
Advanced (I know Drupal already, but I'd like more magic for my wand)
24% (11 votes)
Total votes: 46
gnanasekar's picture

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

Read more
joly's picture

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.

Read more
webalchemist's picture

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!!

Read more
julma's picture

PDO now in core of drupal 7

brendoncrawford's picture

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.

http://drupal.org/project/droopal

Read more
effulgentsia's picture

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.

Read more
hypertext200's picture

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

Read more
Subscribe with RSS Syndicate content

Object Oriented Programming and design

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: