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 moreMovico: 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 moreMovico: 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:
Read moreBuild a Drupal style hook system using PHP reflection
Should we stop the further development of Drupal and start a fork in OOP?
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...
}
}
?>
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