dotProject Forums
Google
 

Go Back   dotProject Forums > USAGE, TIPS AND HINTS > General Questions
Register FAQTop Posters Members List Calendar Search Today's Posts Resend Activation Email Mark Forums Read
dotProject Documentation dotProject FAQ Bugs & Feature Requests Language Packs & Themes Download dotProject

General Questions Use this forum to ask questions or provide suggestions about general usage and how to's within the core dotProject modules. These modules include: Calendar, Tasks and Projects, Files, Contacts, Permissions, Forums, User Administration, System Administration etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 19-07-10, 11:49 PM
luna1510 luna1510 is offline
Junior Member
Return Visitor
dotProject Version: 2.1.3
php Version: 5.2
MySQL Version: 5.0
Operating System Version: Linux
Browser: Firefox
 
Join Date: 19-07-10
Posts: 3
Default dotproject architecture

Hello!

I am not sure if I am in the right forum section or if I should go to another one to announce my concern. But however I will explain my request:
I am doing my PhD at the Vienna University of Technology in the area of project management and semantic technology. For developing a prototype I decided to use dotproject. And now I am looking for a "more or less" detailed description of the architecture of dotproject. Is there any description of the architecture and I just didn't find it? Or could anyone help me?

Thank's in advance for any hints!
Wit best regards,
Birgit

Reply With Quote
  #2  
Old 20-07-10, 03:45 AM
darkmatter darkmatter is offline
Valued Users
Frequent Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 16-11-07
Posts: 20
Default Re: dotproject architecture

Do you mean the database structure?

Reply With Quote
  #3  
Old 21-07-10, 05:11 PM
luna1510 luna1510 is offline
Junior Member
Return Visitor
dotProject Version: 2.1.3
php Version: 5.2
MySQL Version: 5.0
Operating System Version: Linux
Browser: Firefox
 
Join Date: 19-07-10
Posts: 3
Default Re: dotproject architecture

no; I mean the structure of dotproject; how are parts of dotproject linked to others, ...

Reply With Quote
  #4  
Old 22-07-10, 12:57 AM
krad krad is offline
Valued Users
Return Visitor
dotProject Version: 2.1.3
php Version: 5.2
MySQL Version: 5.1
Operating System Version: Unix
Browser: Firefox
 
Join Date: 15-07-10
Posts: 12
Default Re: dotproject architecture

The way I understand is there is a folder with the functions which you use to execute commands. THese function follow the basic rules of O B programming. So for example if you want to call data into a table you would normal go sql = "SELECT field FROM Table WHERE some thing = somthing" but in dot project you just call the DBQuery and the Objects like addTable().. this make the whloe process easy once you read the fuction which contant the basic API.

As for the structor of the HTML they are based on modual by modual. Companines for example has index.php which then call the vies (ve_page).

As far as I can tell each modual is writen by different people so has different flows but most use the function.

I have learn all this in about a week of studying the files. I would recommend you try to print some fucntion class and read the comments. I have also got a pencil and writen some more comments of how I use each one.

Hope this is helps and if I'm wrong can some one correct me please.

Reply With Quote
  #5  
Old 29-07-10, 06:55 PM
ajdonnison's Avatar
ajdonnison ajdonnison is offline
Administrator
Utter Fanatic
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 13-04-04
Posts: 2,112
Default Re: dotproject architecture

krad is sort of right.

Dotproject is modular. It has a core that tries to abstract the worst of the database/object relations and provides helper classes for things like tabs, the overall view etc.

You select the module using the m parameter, e.g. index.php?m=projects selects the default view in the projects module. You can then select an action using the a parameter, e.g. ?m=projects&a=view brings up the view handler.
This assumes there is a view.php in the modules/projects directory. Typically an 'id' parameter is required to identify the object you want to view.

For inter-module communication there is the tabs system, that allows a "foreign" module to inject a tab into another module. Again this is based on filenames and works reasonably well.

Each module has a object definition that defines the object it refers to. E.g. CProject is the object class for projects. These classes provide many of the base requirements for a particular object and can be called by other modules. So the projects module uses tasks, companies, etc.

The best way to get a handle on how it hangs together is to look at the code, and pick one of the simpler modules (like companies) to see how they interact.
__________________

http://www.saki.com.au/ - The driving force behind dotProject
Latest dotProject Release: 2.1.2 Download now
Nightly Stable 2 Snapshot
Reply With Quote
  #6  
Old 02-08-10, 06:42 PM
luna1510 luna1510 is offline
Junior Member
Return Visitor
dotProject Version: 2.1.3
php Version: 5.2
MySQL Version: 5.0
Operating System Version: Linux
Browser: Firefox
 
Join Date: 19-07-10
Posts: 3
Default Re: dotproject architecture

Thank you!
That's the way I am alreday doing!

Reply With Quote
  #7  
Old 12-08-10, 02:16 AM
cyberhorse's Avatar
cyberhorse cyberhorse is offline
Development Team Member
Utter Fanatic
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 19-04-04
Posts: 1,442
Default Re: dotproject architecture

You may find some useful information here: http://docs.dotproject.net/index.php...le_Development
__________________
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +10. The time now is 10:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.