Re: Why change require_once? A brief explanation of motives
| From: | Lukas Kahwe Smith | Date: | Wed, 18 Jul 2007 09:27:40 +0000 |
| Subject: | Re: Why change require_once? A brief explanation of motives | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47598@lists.php.net to get a copy of this message | ||
till wrote:
On 7/17/07, Lukas Kahwe Smith <mls@pooteeweet.org> wrote:I have gotten the following reply from Zeev: "With Zend Studio there's no attention paid to require() or autoload() or anything else. Any class in your project will be included in the code completion. " I am still waiting on Shane from ActiveState. regards, LukasPhilippe Jausions wrote:1) Would relying on autoload have any impact on developers/users using an IDE? By that I mean, autocompletion integrated API doc and so forth. (Anybody with experience on the topic?)AFAIK IDE's just index the code on a per directory basis. I do not think that they follow require_once etc. I will shoot out an email to ActiveState and Zend guys on this.Yes, they do. Specifically Zend Studio allows you to edit a "php.ini" located in the programs directory to allow "resolving". Then you can also add all class trees (e.g. PEAR, Solar and Zend Framework) to your project by linking the directory and Zend Studio will resolve all require_once calls and enable auto complete/suggest. I have no idea about eclipse - but I'd say it's very similar.