OOP

Events happening in the community are now at Drupal community events on www.drupal.org.
carlescliment's picture

TDD Sesión 2: SQL Generator

Buenas!

He subido el código que estuvimos haciendo el martes a github: https://github.com/carlescliment/Katas/tree/master/sql_generator

Abro este hilo para agradeceros vuestra asistencia esta semana, convocaros para la próxima sesión el martes 20 a las 20 horas, y tener un espacio donde ir posteando las dudas que hayan surgido sobre la kata de este mes.

Estaría bien que la próxima sesión fuera más interactiva y que todos los asistentes intentásemos resolver la kata por nuestra cuenta. ¡Lo interesante es compartir y contrastar soluciones!

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
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
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
Chris Charlton's picture

DrOOPal

I'd recommend folks look at a project called DrOOPal, by our LA Drupal member Brendon Crawford.

Project page: http://drupal.org/project/droopal
Documentation: http://drupal.org/node/304775

Example of writing custom modules using OOP structures:

<?php
 
class ModMyModule {
   
// hook_menu
   
function menu() {
     
//etc...
   
}
   
// hook_nodeapi
   
function nodeapi() {
     
//etc...
   
}
  }
?>
Read more
julma's picture

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

Read more
Subscribe with RSS Syndicate content