View Single Post
Old 02-18-2009, 03:01 PM   #1 (permalink)
Ultimatum
The Wanderer
 
Join Date: Jan 2008
Posts: 13
Thanks: 0
Ultimatum is on a distinguished road
Default php class structure

Ey, I'm working on a large project but I don't have any idea of how to make my classes properly. I have to make Microsoft Office Word file from php and it works but the classes aren't any good designed so I'm working on V2 now.

Here a screen of a piece of the UML to give you an idea.
http://img145.imageshack.us/my.php?image=umldy6.jpg

Explanation of the UML. It is possible to add text, paragraphs and/or images to the word document itself. But it must also be possible to add a header and/or footer and add text, paragraphs and/or images to the header/footer.

I thougth of makeing a get/set class for text, paragraphs etc.. and then read it all in the WordDocument class en generate the right xml.

But don't know how I can work this out in php, anyone who can help me out the basics?
Ultimatum is offline  
Reply With Quote