Plug-in
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
Plug-in
How do I build a plug-in for Live code, so that my customers can use my functions and calculations in their own programming without seeing my code.
///Peter
///Peter
/*Whats all the fuss with c# ?*/
Re: Plug-in
Hi Peter,
A plugin, in Livecode's terminology is a stack that is integrated in the IDE.
You can access them via the IDE menu: Development -> Plugins
Is that what you want to do ?
If you want to hide your livecode scripts, well, you can protect the stack
where your code is.
Ummm, only in the business edition of LC.
Regards,
Thierry
A plugin, in Livecode's terminology is a stack that is integrated in the IDE.
You can access them via the IDE menu: Development -> Plugins
Is that what you want to do ?
If you want to hide your livecode scripts, well, you can protect the stack
where your code is.
Ummm, only in the business edition of LC.
Regards,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
Re: Plug-in
I have a stack that contains a number of cards that I want my customers to be able to modify the appearance of. They shall have the ability to add graphics, text fields, buttons, and their own code to their personal preference. These modifications may only take place on the cards, and not on the stack. I have all the functions and commands as stack script and want in any way, prevent these to be seen by my clients, who want to customize the application to fit their business.
In brief, I have control of how the app communicates with the database, and how these calls are designed. I have a basic solution on how I think the data is to be used, but the customer can change this on its own.
How can I accomplish this in the best way?
I have the Business Edition of LC.
///Peter
In brief, I have control of how the app communicates with the database, and how these calls are designed. I have a basic solution on how I think the data is to be used, but the customer can change this on its own.
How can I accomplish this in the best way?
I have the Business Edition of LC.
///Peter
/*Whats all the fuss with c# ?*/
Re: Plug-in
Hi Peter,
Check
start using stack "mylibrary"
in the dictionnary.
and you can set a password to your stack..
Does that make sense?
Thierry
Check
start using stack "mylibrary"
in the dictionnary.
and you can set a password to your stack..
Does that make sense?
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
Re: Plug-in
How does that work when I build a stand-alone, for example, iOS or Android?
Somehow I have to implement the first stack script with my standalone for this to work.
/ Peter
Somehow I have to implement the first stack script with my standalone for this to work.
/ Peter
/*Whats all the fuss with c# ?*/
Re: Plug-in
When preparing the build settings you can add stacks to your main stack.Peter@multidesk.se wrote:How does that work when I build a stand-alone, for example, iOS or Android?
Somehow I have to implement the first stack script with my standalone for this to work.
Don't see any problems but may be I'm missing the point..
Regards,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Plug-in
Hi Peter,
Why don't you check out how mobGUI does it?
John's stack is added as a sub-stack with the "start using" placed in the main stack.
Simon
Why don't you check out how mobGUI does it?
John's stack is added as a sub-stack with the "start using" placed in the main stack.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!