Re: Re: Idea
| From: | Stig Bakken | Date: | Thu, 12 Jul 2001 19:54:46 +0000 |
| Subject: | Re: Re: Idea | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-677@lists.php.net to get a copy of this message | ||
there are separate issues here, one is packages, one is importing the
symbol space from a package, and one is implicitly including files based
on an import statement lik you do below. Use and import in Zend are
broken in this respect, I'm not sure if A&Z really understood the
semantics I was after. But I'll give it one more shot. We probably won't
need a raising of hands (one way or the other).
- Stig
On Thu, 12 Jul 2001, Alex Black wrote:
> > I almost had Zeev and Andi going for this last year. Let me try again.
>
> I'm using it now in bc, and I would _soooooooooooooooooooo_ love to see this
> in the language.
> It is convenient, clean, familiar, and well, just nice to have :)
> The way we do it is run everything though a make system that strucutres the
> code as packages:
>
> import('binarycloud.core.Lang');
>
> is the same as
> binarycloud/core/Lang.php
> after our make system is done.
>
> I believe that is the way java does it, dots to /
>
> It is certainly doable with a function, but it seems like it should be in
> the language.
>
> If you need more raised hands for a petition, I can try to rouse the
> binarycloud-dev list, maybe get another 20-50-100-150 hands :)
>
>
> > On Thu, 12 Jul 2001, Alexander Merz wrote:
> >
> >>> you would do:
> >>> import('PEAR.Cache'); or the like.
> >> This makes only sense with an namespace or package-concept, which was already
> >> canceled by Zeev on the ScriptEngine2-mailinglist. It seems to be no chance
> >> for
> >> this until a lot of PEAR programmers ask for it.
>
> I'm askin! :)
>
> _a
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>