Posted by joly on October 12, 2008 at 9:19am
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.
This group is about OO. Is there anything done about this?
Greetz, Joly
Comments
I have been working on that for a week
see my post :
http://groups.drupal.org/node/5015#comment-53617
Wow!!! That sounds nice! Is
Wow!!!
That sounds nice!
Is there a way we can contribute?
I am really eager to see what DrupOO looks like. Do you have any code online yet? CVS?
Is POO something special or just OO?
Greetz, Joly
Programming is my hobby
My hobby is my work
Greetz, Joly
Programming is my hobby
My hobby is my work
I will open a project for that
It will be possible to download files. At the moment it is only experimental.
It works on an already installed drupal 6.4 version. Take care of the structure of seetings file which differs from original one.
Take a look and make propositions of work.
It could be possible to find a location for SVN management but I'am not veruy familiar to find an SVN repository.
I would appreciate ideas for a roadmap. My first plan is to integrate some core elements (includes files) then the modules. I'am waiting for ideas on how to split includes files in classes and refactor all core components.
Nice!! I have not much
Nice!!
I have not much experience either. But i have a project on sourceforge. Cause svn is already running there, the client side is not so difficult anymore.
For OO my wishes would at least be:
- autoloader
Let us find a compromis between the best OO-structure and an easier structure.
Maybe it would be nice to have a base-class per module. And classes per screen. But that can be a choice of the drupal team to have few scripts.
I hope this drupal team is not angry about us ;)
Other wishes:
- no hardcoded data anymore
- better error-handler
- www-files separated from root-files (but that is an other discussion ;-)
I am really curious what other people think about all this?? Please anyone join in!
Greetz, Joly
Programming is my hobby
My hobby is my work
Greetz, Joly
Programming is my hobby
My hobby is my work
End of the dream
I have a negative response of DRUPAL CVS maintener to open CVS on drupal.org
Their explain that the objectives of Drupoo are already in drupal 7 HEAD.
We are encouring to look at drupal 7 development to see in which way POO is taking into account. Personly I seen nothing in drupal 7.x-dev version but it could be for next release.
Could we continue on another SVN support ?
As drupal.org refuse this contribution maybe we could get an SVN site to work on this project in parallel with drupal7-x where only database is POO (with connection to PDO toolkit).
I would like to continue to extends classes to the rest of the code not only for database.
Sourceforge?
PDO is only about databases. I saw something about that for drupal 7 indeed.
I would like to see the whole of drupal in OO. But that seems to be against the rulz of drupal.
So I am not suprized to hear that it is rejected.
Sourceforge is a nice alternative. It will also take some time to get permission. (one or 2 days)
Greetz, Joly
Programming is my hobby
My hobby is my work
Greetz, Joly
Programming is my hobby
My hobby is my work
follow up
1/ I have submitted an account to SAVANNAH for an GPL projet and i'm still waiting for an answer.
2/ I keep sourceforge in mind as an alternative
3/ I encourage the reading of XOOPS Cube site and OGRE site. Their presents very interesting ideas on POO concepts behind a CMS projet.
Drupoo on SOURCEFORGE
Sourcefourge recently agreed to host my project. I now have an account. Next step, I intend to organize this account and put some example at a very beginning of developpment. To use for experimentation only.
In my previous post, I encouraged reading concepts and ideas developped into 2 PHP core Framework. I would very appreciate some reactions and some ideas on those concepts.
A planning, when i will have an clearer view on roadmap.
See you soon.
Nice!
Hi Alain,
Congratulations!
I am sorry, i am not so much into POO (yet).
What specific ideas on the sites you named do you like?
Can you post some deep-links?
Before I liked a 'high'-OO structure. But after worked with scripts like Joomla, i figured that it is too complicated. Also i always got complaints about my coding was too deeply layered. So I am more into a simple OO-structure. I try to let it be a way to do things and not the goal itself anymore.
Greetz, Joly
Programming is my hobby
My hobby is my work
Greetz, Joly
Programming is my hobby
My hobby is my work
First Drupoo experimental version prel-01
I proud to annonce first step on the way to refactor Drupal with POO PHP 5.2
This experimental version is avalaible there prel-01
FOR TEST ONLY. DO NOT USE FOR REAL APPLICATION.