Script Only Stack Architecture
William Prothero
prothero at earthednet.org
Tue Mar 29 18:44:11 EDT 2016
Richard:
Some of the items were mentioned in Bramanathaswami’s post. Some, of course, is just taste. I put almost all of my code in substacks, but haven’t tried text only stacks yet. I can’t see having a jillion small text files to keep track of. But then, a lot of folks seem to love them, so I wonder at the advantages. Of course, there’s the github thing. I work by myself, so that isn’t a factor, but I can see it would be major for teams.
Code that’s portable between apps is important. Perhaps that would be something to discuss. And I really haven’t messed with implementing personal code “Libraries”. The requirement for strict ID’s for behaviors makes them less portable. Do text only stacks help in this regard?
So, I think what I’m “seconding” is that a higher lever than “newby” tutorials on code organization through Libraries, Text only stacks, substacks, etc, would be useful and I would give it a hard look-see. Currently, I’m pretty satisfied with my current approach, but over the last year, I’ve changed it so much as I learned more about LiveCode, that I wonder what I’m missing.
Thanks, Richard, for all your comments and help on this list.
Best,
Bill
> On Mar 29, 2016, at 1:58 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:
>
> William Prothero wrote:
>
>> Organizing the code in a project is really important and there are lots of ways to go wrong.
>
> Can you describe some?
>
> While documenting good patterns can be useful, sometimes documenting anti-patterns is just as useful.
>
> Several years ago at one of the LC conferences in Monterey Ken Ray and I did a talk called "LiveCode Patterns and Anti-Patterns". So much has changed since then (behaviors, before and after messages, script-only stacks, etc.) that it would be very helpful to hear your concerns as I prepare to dive into my archives for the old notes....
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list