[Gambas-user] Sharing Code Between Projects

PICCORO McKAY Lenz mckaygerhard at ...626...
Wed Jun 7 17:44:00 CEST 2017


maybe its a good idead paste more clarelly that in gambas wiki..  the
documentation lack of that explanations, so right documentation its
important!

2017-06-07 10:25 GMT-04:00 adamnt42 at ...626... <adamnt42 at ...626...>:

> useful for one developer trying to re-use code between projects on a
> single machine. If you
>
library its limited to hardcoded path's.. so that was the problem in the
past


> are talking about deploying shared code in a way that it can be used by
> different people developing different projects on different machines then
> you need to look at the component
>
the problem with componente its the deploy system was not so simple..

my solution was used git submodules.. more standard way and more
generalized.. a manpower when comes and started, comes with git knowledge
with it!


> mechanism.  There is really no programming difference between a library
> and a component (except when talking about gui controls).  The difference
> is how and where they are deployed.
>
components it th right choice for distributed projects.. the only problem
its that must be deployed to all users can implement the result code
functions.. and not directly in IDE repository code..


>
> Libraries are (or were,until the naming convention changed :-< ) simple
> and easy.

yes.. right choice for local only projects but hardcoded paths limit the
usage of in distribute projects


> Components offer more deployment options but require a bit more packaging
> effort.
>
its the right choice for distribute projects, but limited to gambas only
usage and need deploy..

maybe its a good idead paste more clarelly that in gambas wiki..  the
documentation lack of that explanations


>
> b
>
> --
> B Bruen <adamnt42 at ...3379... (sort of)>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list