Re: Re: [PHP] Re: PHP, OOP and AJAX
| From: | Tony Marston | Date: | Thu, 28 May 2009 13:49:57 +0000 |
| Subject: | Re: Re: [PHP] Re: PHP, OOP and AJAX | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293292@lists.php.net to get a copy of this message | ||
<oorza2k5@gmail.com> wrote in message
news:000e0cd6ad1a9f7d3d046af892f6@google.com...
> Two things:
>
> 1. Try using the fully qualified path (ie /var/www/foo/bar.php instead of
> foo/bar.php)
> 2. Look at setting up autoloading so you don't need to manually include
> anyway. If you're going OOP, autoloading is a must!
I totally disagree. I have been doing OOP with PHP for years, and I have
never used autoloading. It is just a feature that can be used, misused or
abused just like any other. I choose not to use it, and my code does not
suffer in the least!
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org