On Wed, 2007-09-19 at 12:37 +0200, Alexandru Stanoi wrote:
> Kore Nordmann wrote:
> > Hi,
> > 
> > In Base we have a bunch of those nice reusable file exceptions. Should
> > we also use them for directories? Otherwise we would need to dublicate
> > them... (SUMZERO)
> > 
> >> +1
> 
> I would also suggest to reuse them. So +1.
> 
> > If we want to use them also for directories, perhaps we should rephrase
> > them, because all of them contain the term "file" in the exception
> > message, while imho the term "resource" would be better. I hope nobody
> > relies on the exception texts, though ;) (SUMZERO for rephrasing).
> > 
> >> ±0
> > 
> 
> I thought directories are also files. Resources are something else. Some 
> tests rely on exception messages, so these tests must be changed if 
> exception messages are changed. So -1.

"Everything is a file" ... but is_file( 'directory/' ) results in
bool:false. So the average PHP user probably has a different terminology
here...

> 
> -- 
> Alexandru Stanoi
> eZ Components System Developer
> eZ Systems | http://ez.no
-- 
Mit freundlichen Grüßen / Med vennlig hilsen
 
Kore Nordmann (GPG: 0xDDC70BBB)
eZ Components Developer
eZ systems Headquaters

tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751
[EMAIL PROTECTED] | eZ systems | ez.no

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to