[Gambas-user] Sharing libraries across projects : new proposal!
Christof Thalhofer
chrisml at ...3340...
Sun Jan 31 01:42:49 CET 2016
Am 30.01.2016 um 20:48 schrieb Benoît Minisini:
> 1) Add a new project option that allows to indicate the library search
> directory at runtime. If specified, the libraries are searched in that
> directory first. (Question: are multiple directories needed?)
If there shall be the opportunity to embed foreign libraries, then yes,
but as subdirs.
So does it PHP with namespaces, where you can include classes with
identical classnames but from different vendors:
For example:
lib/vendor1/mail.php
lib/vendor2/mail.php
And in your own PHP class you can say "use 'vendor1'" to point the
classname "Mail" to lib/vendor1/mail.php.
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160131/e50d1999/attachment.sig>
More information about the User
mailing list