Include/Require in Desktop Engine

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
edgore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 197
Joined: Wed Jun 14, 2006 8:40 pm

Include/Require in Desktop Engine

Post by edgore » Tue Mar 19, 2013 6:51 pm

Since right now there is no good way to develop and debug server scripts without using the desktop IDE it would be great if Include and Require worked in the desktop engine, just the same way that they work in the server engine. It's annoying to have to re-jigger everything in order to migrate from development to deployment. Just a thought - I can't think of a reason *not* to have include/require in the desktop engine. Maybe I am thinking about it wrong though.

edgore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 197
Joined: Wed Jun 14, 2006 8:40 pm

Re: Include/Require in Desktop Engine

Post by edgore » Tue Mar 19, 2013 7:05 pm

Also, from a security standpoint it might be a good idea to restrict the ability of include/require to work only with specific extensions. I know that from a change management standpoint a lot of organizations have different controls for code vs. configuration/data files and having the ability to include/require a .txt file (for example) might be a problem, since it makes it easier for a developer to slip code through the cracks (by putting code into the .txt file, which may go through less scrutiny and including it from a .lc file). Again, just a thought.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Include/Require in Desktop Engine

Post by mwieder » Thu Mar 21, 2013 9:03 pm

Include / Require is my #1 feature request. It would solve so many other problems.

Post Reply