Jump to content


This topic is now archived and is closed to further replies.


OOP Schemes

Recommended Posts

Hello, this is my first post here.  I have been a visitor for some time now and have finally decided to post.  Please forgive me if this has aleady been addressed multiple times...

What I was wondering what is the best way to simulate a dynamic OO environment with PHP.  I am very familar with OO in PHP but I often find myself wishing so badly that I could enable a user to call a function of an object as they would in a Java app.  What I have done in the past is create a PHP file that serves almost like a terminal, where say if an object were to be updated by the user when they click a button, it would link to the [i]terminal[/i], then call the function on the object and return back to the referring page.

What I would like to know is if there is a more practical or better way of doing this.  I feel that my PHP coding skills are very strong, but I would like to improve my software design practices.  I have never been formally introduced to design schemas for PHP web applications.

I am sorry if my post was too vague, I will clarify further if needed.

Share this post

Link to post
Share on other sites
I don't know much about Java, but what you're describing sounds similar to a registry. If by 'schemes' you mean patterns, you'll find some usefull links in the resources sticky.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.