Hi,

On 01/22/2009 05:45 PM Thomas Koch wrote:

> there's a class ezcAuthenticationUrl, which provides a static method
> normalize( $url ). It's a usefull method and I'm using this method now
> in a context, that has nothing to do with authentication.
> 
>>From my viewpoint as a user of ezc, it would be much more logic, to have
> this method in ezcUrl.  However this is not possible, since
> ezcAuthentication would then depend on ezcUrl.
> 
> MvcTools could also use functionality from ezcUrl to parse request Urls.
> 
> So my thesis is: 
> - There are basic components, like ezcUrl, ezcConfiguration. These
>   components provide very basic functionality, can easily be seperated
>   and do not depend on other components.
> 
> - There are higher level components, like authentication, MvcTools and
>   others that might be developed in the future. These components will
>   need functionality provided by the other components. TieIn components
>   are not an option, since the needed functions are essential and not
>   optional. So to comply to the policy, the components need to duplicate
>   functionality, that already exists in another component.
> 
> Proposal:
> 
> Distinguish between basic and higher level components. 
> Basic components may not depend on other components.
> Higher level components may depend on basic components.

We have clear policies about dependencies:

- No hard dependencies between any components, unless they cannot be
  avoided without duplicating lots of code.
- Soft dependencies via Tieins.

It is very unlikely that we change these, since they reflect a
fundamental architectural concept of the library.

However, you're still free to use any methods from components, even if
they were not meant for that purpose originally.

MvcTools will most propably get a Tiein to conveniently use Url with it.
There is no need for a hard dependency.

Regards,
Toby
-- 
Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards

Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer

t...@ez.no | eZ Systems AS | ez.no
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to