View Single Post
Old 07-01-2009, 06:11 PM   #1 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default Function overloading for modular system?

Hi!

I'm about to create an open source gallery but I have some isues with the design of the system.

I have two classes which take care of image and folder handling. One to read a folder with items, and a class to represent an item.

http://minna-media.com/files/FiguraC...ram%20v1-1.png

But now I would like modular system for both the PathReader and Item. I was thinking about using __call, __get and __set. Of course this would making it modular pretty easy, but is this the best way to go?

I made allot of CMS etc, but in the end it never was 100% how I wanted it to be, so this time I want to plan it into its tinyest detail. :) (been thinking of the layout for the system for months already)
__________________
Nunchaku! Who doesn't like martial arts? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote