Building modules for Drupal using MVC and OOP

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

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

Comments

Great concept, I look forward

reaneyk's picture

Great concept, I look forward to following the progress of this module.

Nice work. Should be continued.

VinceW's picture

Hello Carl,

Nice concept. Especialy since OOP and MVC, related to Drupal are returning topics (http://www.google.nl/#hl=nl&biw=1280&bih=767&q=drupal+mvc&aq=f&aqi=g1&aq...).

I noticed your gitcode was from feb-2010. Concept is proven to work :-)

Any change you might have time to devellop this to a next level?

-=[ Your Information Matters ]=-

Status

emorling's picture

Nice work, how's it going? Is there a release soon?

Drupal Prometheus MVC

alexpavlovic's picture

Hi,

We just wanted to let everyone know that new Drupal MVC layer has been released.
Drupal Prometheus MVC ( OOP based ) allows you to develop using MVC paradigm
in PAC oriented Drupal CMS.

More information at http://www.drupalprometheus.org

We are looking for people to help out with documentation, code examples and so on.

Please come to #drupal-prometheus on irc.freenode.net

Thanks.

Drupal Prometheus MVC

OsterD's picture

Thank you for sharing this with the community.
Any ideas when Prometheus will be available for D7?

I just started in on Movico again

carlmcdade's picture

I am updating Movico 6 as was less than Alpha before on Github. I also took the Superbowl weekend to push it to D7. Demos and documentation are forthcoming on drupal.se/movico-6 and 7 respectively.

I have not added in any features but am concentrating on what can be accomplished using MVC rather than the chaos of the php include flood that is now everywhere in Drupal.

I took sometime to test running hooks ( movico hooks not Drupals ) from class files and bubbling out the results into Drupals hook system. You can see this in the D7 version under hook_access. I am still testing and fleshing out things like configuration files and autoloaders for external frameworks like Zend.

https://github.com/carlmcdade/Movico-D7
https://github.com/carlmcdade/Movico-D6

Re: Drupal Prometheus MVC

alexpavlovic's picture

@OsterD, Drupal Prometheus has been made available to D7 already, few months ago. You can download from http://drupal.org/project/prometheus. We are currently working on refactoring some of the code, quite a bit of new and cool stuff is coming.

@carlmcdade, movico is certainly interesting, feel free to contact us if you are interested in joining the efforts. Prometheus has been around for a while now and is used on quite a few D6/D7 websites in production.

Thanks.

Hi, beyondcreed I am trying

carlmcdade's picture

Hi, beyondcreed

I am trying to watch your vids on prometheus. But this new Sony is giving me problems. The sound drivers for flash vids seem to be missing in the 64bit version of Win7 :(

There the 'controller' module also

hinikato's picture

How about the 'controller' (http://drupal.org/project/controller) module? Have you tried it?

Object Oriented Programming and design

Group organizers

Group notifications

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