Re: Question about organization of large projects

2022-02-07 Thread Andre Garzia via use-livecode
Hi, Just bumping into this thread to remind people, I wrote a couple of books that tackle topics of organising your large LC projects: * https://andregarzia.com/books/livecode-advanced-application-architecture.html * https://andregarzia.com/books/development-oriented-development.html Best A On

Re: Question about organization of large projects

2022-02-05 Thread William Prothero via use-livecode
Jacqueline, Thank you very much! Your explanation will save me a load of time. There really ought to be a lesson on this, rather than making folks figure it out for themselves. It’s so simple, yet so time consuming to figure how to implement from the dictionary. Best, Bill William A. Prothero,

Re: Question about organization of large projects

2022-02-05 Thread J. Landman Gay via use-livecode
On 2/5/22 12:21 AM, prothero--- via use-livecode wrote: Ok, thinking….. so for development, I would need to do something like: function resPath if the environment contains “Development” then put specialFolderPath("resources”)&”/mydataFolder" into dataPath else

Re: Question about organization of large projects

2022-02-05 Thread William Prothero via use-livecode
Scott, Thanks. That answers some of the questions I have about old code and refreshes my memory on that issue. I’m wondering if there is a lesson that clarifies this issue, including the way “the stack files” property works and setting up the auxiliary data files. Best, Bill William A. Prothe

Re: Question about organization of large projects

2022-02-05 Thread scott--- via use-livecode
I’m not entirely sure what your structure is or what you want to accomplish as far as stack organization. In the IDE, specialFolderPath("resources") returns the path to the current stack's folder. If your supporting stack files are scattered around your hard drive then this would make the ta

Re: Question about organization of large projects

2022-02-04 Thread prothero--- via use-livecode
Scott: Hmm…. I have different stacks in subdirectories of the splash stack. I hadn’t realized that all stacks should be in one top directory. That true? The specialFolderpath(“Resources”) seems to be relative to each stack, so, in my case, if a stack is in a folder that is in the specialFolder p

Re: Question about organization of large projects

2022-02-04 Thread scott--- via use-livecode
Hello Bill, Are you seeing that the stack files have a different “resources” path in the IDE ? This is expected behavior if the stacks are in different directories. The “resources” path in the IDE is the folder that the stack lives in. However, once everything is made into a standalone the “res

Question about organization of large projects

2022-02-04 Thread ELS Prothero via use-livecode
Folks, Rather than thrashing around on this, I am asking for some general guidance. I am working on a large project that has a splash stack, some stacks that do things, and some of those stacks access data contained in the app. It’s a project I built at least 10 years ago and, of course, it need