Click to See Complete Forum and Search --> : OOP and PHP


AlionSolutions
December 19th, 2004, 04:57 PM
Hi, I am at a point of decision now, and I hope you can help me. As I wrote in earlier postings, I am porting my website from static HTML to php-generated pages. As a c++-programmer, I am used to do programming in an oop-manner. And so I tried to code nice classes for my homepage. But as it is if you code oop, the number of classes involved in a project increases heavily. My site is hosted at an ISP on a virtual server. Because of that I think, I should be very carefull with using ressources. But when I think about my oop-classtree now, I do not feel very well.

My question is: What is your advise for me ? Coding further in oop-style or do somthing non-oop ?

Thanx in advance

alionsonny

blueday54555
December 21st, 2004, 09:46 AM
what kind of a website you have ?
most time oop is overkill for small sites.
But if you think you can use this classes again and again
in different projects or your current project is big enought
why not !

Which version you are using ?
If you are interested in oop than you should take a look to php 5!