curious about boonex

I browsed the source code of Dolphin trying to add some function, and found that in several module, the front page html is mixed up with php codes, not in separate files, which makes it difficult to modify by PHP coders or UI designers.

I wonder how boonex orgnise the developers. Is a person responsible for a whole module including both html and php codes and css and javascript ? Or does the UI designer wrote html and then pass it to PHP coder to tailor it and insert into PHP codes ?

Just curious. Would anyone please give some hint? I'd like to follow your advice on developing process to customize some function.

Quote · 24 Dec 2009

Files with a .php extension normally do have both html and php code. This is normal on websites with dynamically generated content.

Files in dolphin that end with .html contain html code, and quite often tags that mark insertion points.


The templates have this quite often. But it's not php code.


The templates are loaded by one of the dolphin php scripts, and the marked insertion points are replaced with content aproprate for the tag and then sent out to the browser.

Dolphin is a very big and complex script. It will take some time to learn.

https://www.deanbassett.com
Quote · 24 Dec 2009

Thanks Deano! 

 

But what suggestion to UI designers ? Shoud he/she to pick up the html pieces from or insert into PHP scripts?  Should there be a complete .html and .css file in advance for the dynamically generated script?

 

I wonder how the artist work on the resulted .html codes to beautify the page, and adjust to suit different browsers.

Quote · 24 Dec 2009

I usally design my html in a standard html editor.

Then i code around it with php.

Other times, such as when the script is mostly PHP i write the script, and where it needs to output html, i develop the html in a html editor like frontpage or dreamweaver and bring that into my php script.


In dolphin. the php scripts are mostly php with a few html sections.

So the html sections can be developed in a standard html editor to create the html and css. Then pull the html into the script.

Every developer has there own way of doing things. But thats how i do it.

I use Editplus or Notepad++ for php
Dreamweaver or Frontpage for the html sections
and Dreamweaver for my CSS files.




https://www.deanbassett.com
Quote · 24 Dec 2009

Thanks a lot for your detailed response !  I think your way should be an effective way, and suitable to team work.

 

Thanks

Quote · 24 Dec 2009

You use Frontpage?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 25 Dec 2009

You use Frontpage?

From time to time yes, and yes, i am aware it makes messy code that is not up to current specs.

But i have used it for years. I am switching to dreamweaver, but i find it's interface clumsy compared to frontpage. So it's taking me time to get used to it.



https://www.deanbassett.com
Quote · 25 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.