[dev] Namespacing an app

Jan Schneider jan at horde.org
Sun Feb 16 17:09:55 UTC 2020


Zitat von Ralf Lang <lang at b1-systems.de>:

> Hallo,
>
> I am converting an older standalone app to be compatible with horde-git.
> As I am also introducing namespaces for the library part, I wonder if
> the namespace should be $vendor/$app/whatever (like
> 'Horde/Kronolith/Calendar') or $app/whatever (like 'Kronolith/Calendar')
>
> Regards,
>
>
> Ralf

I think Horde\Kronolith\Calendar makes most sense, since we also use  
\Horde\Socket etc.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the dev mailing list