PHP in general

All the topics other than the two goes here.
  • Ads

PHP in general

Postby JacquesPrevert » Sun Dec 06, 2009 9:42 am

Hi Praveen. Thank you for adding this section to the board. I have a very general but related question. I would like to have a better understanding of how dolphin is structured and how the various pieces fit together. For example, when I have a problem like the one I just posted - how do I remove the join function in Events - how do I find the piece of PHP code that does the job. To do this, I will have to learn PHP (I learned other computer languages in the past - so learning a new language shouldn't be too hard.) How do I go about learning PHP in the context of dolphin?

Again, thank you for your help.
JacquesPrevert
Global Moderator
Global Moderator
 
Posts: 53
Joined: Sun Apr 26, 2009 3:42 pm

Re: PHP in general

Postby Administrator » Sun Dec 06, 2009 10:49 am

To understand dolphin, you should have a good knowledge in the OOPs. From version 6, major parts are converted to OOPs.

Structure of Dolphin:

Working of Components:
1) There are classes for separate components.
2) When a page is called, it loads these components. and executes the needed method in it.
3) These outputs are stored in a variable.

Working of General Pages:
1) Pages, get contents from language files when it is static and generates contents from database or cache if it is dynamic.
2) Formatted output will be in a variable.

Templating System:
1) Above stored output is passed to a function that generates the code for boxes and put the contents inside.
2) All templates extends the base template.

Hope you understand this...
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: PHP in general

Postby JacquesPrevert » Sun Dec 06, 2009 10:56 am

Hi Praveen. Thanks for your reply. I don't fully understand it, but at least you've given me a starting point. Time for me to do some homework. Your answer was very helpful.

Blue skies!
JacquesPrevert
Global Moderator
Global Moderator
 
Posts: 53
Joined: Sun Apr 26, 2009 3:42 pm

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron