Re: LiveCode server IDE

2020-10-13 Thread Keith Clarke via use-livecode
Hi Alex,
Thanks for the description of your workflow, toolset and dev/test rig - an 
interesting direction of travel, especially as it extends to my current setup.

I really like the division of labour between the LC IDE for LC and Coda for 
html, CSS and native sync to server. Nice too, the 'closed-loop environment, 
with the local test stack that can call, display (and if necessary interrogate) 
specific rendered web pages.

So, my learning path moves on, from tools to building out my own dev/test 
scaffolding and moving my thinking from LC stacks with UI to script-only stacks 
in an LC Server CGI context serving web forms. Plenty of reading to do! :-)

Thanks & regards,
Keith

> On 12 Oct 2020, at 20:51, Alex Tweedly via use-livecode 
>  wrote:
> 
> Hi Keith,
> 
> My workflow is not much different from Ralph's.
> 
> Short answer:
> 
>  - edit in IDE, test in IDE
> 
>  - upload to server using Coda 2  (which I also use to edit non-lc files).
> 
> Long answer:
> 
>  - I don't use any of the LCserver specific features -  no entangled html, no 
> includes, ... - everything is a regular script-only stack
> 
>  - I have a test stack that I use in the IDE which lets me specify which page 
> (and parameters, cookies, etc.) I want, generates the web page and displays 
> the output in a web browser instance within the testing stack.
> 
>  - when satisfied, I use Coda 2 to upload the LC files (I never edit them in 
> Coda))
> 
>  - I edit other files (menu definitions, form definitions, web pages, views, 
> etc.)  in Coda2
> 
> I use both on-rev and hostM for servers - both have everything already 
> installed,  good support, etc.
> 
> (tbh, if on-rev hadn't had a bad patch a few years ago with email problems, I 
> would probably never have strayed, but it's kind of good to know that hostM 
> is there as an alternate source in case I need it :-)
> 
> Alex.
> 
> On 12/10/2020 15:49, Keith Clarke via use-livecode wrote:
> 
>> Thanks for the response, Ralph.
>> 
>> I've struggled to retain/regain my old local Sites, web server and LC Server 
>> on my home Macs. So, I was thinking of embarking down the script-only stacks 
>> route, using an on-rev LC-Server instance to do any web-services 
>> heavy-lifting work server-to-server, on behalf of client apps that use 
>> either LC desktop or simple html forms.
>> 
>> My html & css 'hackery-pokery' has been on Coda2 to date, but its 
>> replacement, Nova, still lacks any LiveCode autocompletion.
>> 
>> I may need to learn a new text-editing based IDE tool. Thanks for the Atom 
>> suggestion - I see that there's a LiveCode language pack available that 
>> includes LC Server, so that may be a better place to play than VS Code, etc.
>> 
>> Thanks & regards,
>> Keith
>> 
>>> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode 
>>>  wrote:
>>> 
>>> Keith,
>>> 
>>> As a follow up... If you have a web server with LC installed running on your
>>> local machine then just a ctrl S in the LC IDE will let you test your server
>>> script(stack) immediately in the currently open IDE instance.
>>> 
>>> IDE alternatives to edit LC script only stacks are many. I use the Atom for
>>> LC builder and html(when Dreamweaver is just to much).
>>> 
>>> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>> 
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
>>> Of Keith Clarke via use-livecode
>>> Sent: Monday, October 12, 2020 3:18 AM
>>> To: use-livecode@lists.runrev.com
>>> Cc: Keith Clarke
>>> Subject: LiveCode server IDE
>>> 
>>> Hi folks,
>>> What is the current state of the art regarding LiveCode server IDE -
>>> searching around, this seems down to personal preference of text editor plus
>>> FTP?
>>> 
>>> I'm Mac-based and looking to experiment with web services.
>>> Thanks and regards,
>>> Keith
>>> 
>>> 
>>> Sent from my iPad
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription
>>> preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Pleas

Re: LiveCode server IDE

2020-10-12 Thread Alex Tweedly via use-livecode

Hi Keith,

My workflow is not much different from Ralph's.

Short answer:

 - edit in IDE, test in IDE

 - upload to server using Coda 2  (which I also use to edit non-lc files).

Long answer:

 - I don't use any of the LCserver specific features -  no entangled 
html, no includes, ... - everything is a regular script-only stack


 - I have a test stack that I use in the IDE which lets me specify 
which page (and parameters, cookies, etc.) I want, generates the web 
page and displays the output in a web browser instance within the 
testing stack.


 - when satisfied, I use Coda 2 to upload the LC files (I never edit 
them in Coda))


 - I edit other files (menu definitions, form definitions, web pages, 
views, etc.)  in Coda2


I use both on-rev and hostM for servers - both have everything already 
installed,  good support, etc.


(tbh, if on-rev hadn't had a bad patch a few years ago with email 
problems, I would probably never have strayed, but it's kind of good to 
know that hostM is there as an alternate source in case I need it :-)


Alex.

On 12/10/2020 15:49, Keith Clarke via use-livecode wrote:


Thanks for the response, Ralph.

I've struggled to retain/regain my old local Sites, web server and LC Server on 
my home Macs. So, I was thinking of embarking down the script-only stacks 
route, using an on-rev LC-Server instance to do any web-services heavy-lifting 
work server-to-server, on behalf of client apps that use either LC desktop or 
simple html forms.

My html & css 'hackery-pokery' has been on Coda2 to date, but its replacement, 
Nova, still lacks any LiveCode autocompletion.

I may need to learn a new text-editing based IDE tool. Thanks for the Atom 
suggestion - I see that there's a LiveCode language pack available that 
includes LC Server, so that may be a better place to play than VS Code, etc.

Thanks & regards,
Keith


On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode 
 wrote:

Keith,

As a follow up... If you have a web server with LC installed running on your
local machine then just a ctrl S in the LC IDE will let you test your server
script(stack) immediately in the currently open IDE instance.

IDE alternatives to edit LC script only stacks are many. I use the Atom for
LC builder and html(when Dreamweaver is just to much).

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 3:18 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: LiveCode server IDE

Hi folks,
What is the current state of the art regarding LiveCode server IDE -
searching around, this seems down to personal preference of text editor plus
FTP?

I'm Mac-based and looking to experiment with web services.
Thanks and regards,
Keith


Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: LiveCode server IDE

2020-10-12 Thread Ralph DiMola via use-livecode
Keith,

I use LC Server on the on-rev server. It is already setup and the support
from Heather/Robin is the best! I personally use regular standard issue
binary stacks for everything out of habit. These same stacks are also used
in my apps. This is what I love about LC server, it allows me to use my
libraries on the server and in apps. What other programming language does
this?

If you are doing web pages then look into revIgniter.
For a web service vanilla LC scripts do the trick. 

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 10:49 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: Re: LiveCode server IDE

Thanks for the response, Ralph.

I've struggled to retain/regain my old local Sites, web server and LC Server
on my home Macs. So, I was thinking of embarking down the script-only stacks
route, using an on-rev LC-Server instance to do any web-services
heavy-lifting work server-to-server, on behalf of client apps that use
either LC desktop or simple html forms.

My html & css 'hackery-pokery' has been on Coda2 to date, but its
replacement, Nova, still lacks any LiveCode autocompletion.

I may need to learn a new text-editing based IDE tool. Thanks for the Atom
suggestion - I see that there's a LiveCode language pack available that
includes LC Server, so that may be a better place to play than VS Code, etc.

Thanks & regards,
Keith 

> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode
 wrote:
> 
> Keith,
> 
> As a follow up... If you have a web server with LC installed running 
> on your local machine then just a ctrl S in the LC IDE will let you 
> test your server
> script(stack) immediately in the currently open IDE instance.
> 
> IDE alternatives to edit LC script only stacks are many. I use the 
> Atom for LC builder and html(when Dreamweaver is just to much).
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
> Behalf Of Keith Clarke via use-livecode
> Sent: Monday, October 12, 2020 3:18 AM
> To: use-livecode@lists.runrev.com
> Cc: Keith Clarke
> Subject: LiveCode server IDE
> 
> Hi folks,
> What is the current state of the art regarding LiveCode server IDE - 
> searching around, this seems down to personal preference of text 
> editor plus FTP?
> 
> I'm Mac-based and looking to experiment with web services.
> Thanks and regards,
> Keith
> 
> 
> Sent from my iPad
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode server IDE

2020-10-12 Thread Keith Clarke via use-livecode
Thanks for the response, Ralph.

I've struggled to retain/regain my old local Sites, web server and LC Server on 
my home Macs. So, I was thinking of embarking down the script-only stacks 
route, using an on-rev LC-Server instance to do any web-services heavy-lifting 
work server-to-server, on behalf of client apps that use either LC desktop or 
simple html forms.

My html & css 'hackery-pokery' has been on Coda2 to date, but its replacement, 
Nova, still lacks any LiveCode autocompletion.

I may need to learn a new text-editing based IDE tool. Thanks for the Atom 
suggestion - I see that there's a LiveCode language pack available that 
includes LC Server, so that may be a better place to play than VS Code, etc.

Thanks & regards,
Keith 

> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode 
>  wrote:
> 
> Keith,
> 
> As a follow up... If you have a web server with LC installed running on your
> local machine then just a ctrl S in the LC IDE will let you test your server
> script(stack) immediately in the currently open IDE instance.
> 
> IDE alternatives to edit LC script only stacks are many. I use the Atom for
> LC builder and html(when Dreamweaver is just to much).
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
> Of Keith Clarke via use-livecode
> Sent: Monday, October 12, 2020 3:18 AM
> To: use-livecode@lists.runrev.com
> Cc: Keith Clarke
> Subject: LiveCode server IDE
> 
> Hi folks,
> What is the current state of the art regarding LiveCode server IDE -
> searching around, this seems down to personal preference of text editor plus
> FTP?
> 
> I'm Mac-based and looking to experiment with web services.
> Thanks and regards,
> Keith
> 
> 
> Sent from my iPad
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: LiveCode server IDE

2020-10-12 Thread Ralph DiMola via use-livecode
Keith,

As a follow up... If you have a web server with LC installed running on your
local machine then just a ctrl S in the LC IDE will let you test your server
script(stack) immediately in the currently open IDE instance.

IDE alternatives to edit LC script only stacks are many. I use the Atom for
LC builder and html(when Dreamweaver is just to much).

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 3:18 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: LiveCode server IDE

Hi folks,
What is the current state of the art regarding LiveCode server IDE -
searching around, this seems down to personal preference of text editor plus
FTP?

I'm Mac-based and looking to experiment with web services.
Thanks and regards,
Keith


Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: LiveCode server IDE

2020-10-12 Thread Ralph DiMola via use-livecode
I use the standard issue LC IDE to edit the server script, do a "Ctrl S" and
use either a web disk or VPN to drag the saved file to the server. Then I
test my web service in the currently opened IDE. Fast debug cycle.
Easy-peezy...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 3:18 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: LiveCode server IDE

Hi folks,
What is the current state of the art regarding LiveCode server IDE -
searching around, this seems down to personal preference of text editor plus
FTP?

I'm Mac-based and looking to experiment with web services.
Thanks and regards,
Keith


Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode server IDE

2020-10-12 Thread Keith Clarke via use-livecode
Hi folks,
What is the current state of the art regarding LiveCode server IDE - searching 
around, this seems down to personal preference of text editor plus FTP?

I'm Mac-based and looking to experiment with web services.
Thanks and regards,
Keith


Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode server IDE - the current state of the art?

2018-07-22 Thread Keith Clarke via use-livecode
Hi Alex,
Thanks for sharing this structure - really useful to help visualise the 
‘skeleton' of the required architecture.

I just need to get LC server installed on our VPS (…cue ominous sound of 
another can of worms creaking open!) and start building-out.
Best,
Keith

> On 20 Jul 2018, at 23:45, Alex Tweedly via use-livecode 
>  wrote:
> 
> Hi Keith,
> 
> what I do in the 20 lines isn't very much - most of the work is done 
> elsewhere.
> 
> I do have a couple of places I don't use revIgniter. Here's a sanitized 
> version of what I use there as LC Server script (NB I have sanitized it 
> before sending, so there could be typos here - I haven't test it in exactly 
> this form)
> 
> As you'll see, I keep my standard libraries in a folder "libraryscripts", and 
> then individual sites can over-ride those in a folder "user/libraryscripts", 
> and can have additional scripts in "user/scripts". In an  earlier version I 
> loaded all scripts found in these folders; for now I specify which ones I 
> want, but I think I might at some point go back to loading every script I 
> find as a librarystack.
> 
> I'll have a look at the synch utility to see if it can be similarly sanitized 
> and shared.
> 
> -- Alex.
> 
>  -- DO NOT USE include OR in-line STATEMENTS or you will lose ability to use 
> IDE Tester App
> -- NB include siteConfig.lc for site specific content
> 
> if there is a file ("user/libraryscripts/main_script.livecode") then
>   put ("user/libraryscripts/main_script.livecode") into tt
> else
>   put ("libraryscripts/main_script.livecode") into tt
> end if
> start using stack tt
> 
> repeat for each word W in "common forms arrayjson" -- the libraries I always 
> need
>   put W & "_script.livecode" into tFile
>   if there is a file ("user/libraryscripts" & tFile) then
> put ("user/libraryscripts/" & tFile) into tt
>   else
> put ("libraryscripts/" & tFile) into tt
>   end if
>   start using stack tt
> end repeat
> 
> put "user/scripts/siteConfig.lc" into tt
> if there is a file tt then
>   start using stack tt
>   siteConfig
> end if
> 
> -- and do the command
> --   NB Usage ... www.mydomain.com/standalone.lc?command=dosomething&...
> put $_GET["command"] into tCommand
> do tCommand
> 
> 
> 
> On 20/07/2018 07:58, Keith Clarke via use-livecode wrote:
>> Thanks for describing your setup, Alex.
>> 
>> I like the ‘work locally as usual, then upload’ approach - coupled with the 
>> essential 'Did everything synch?' check utility! :-)
>> 
>> The lightweight LCS hub is very appealing (probably without RevIgniter to 
>> avoid any additional complexity) to get the basic plumbing connected.
>> 
>> Time to hit the LCS lessons to see if I can replicate what you're achieving 
>> with 20-lines, methinks! :-)
>> Best,
>> Keith
>> 
>>> From: Alex Tweedly 
>>> To: use-livecode@lists.runrev.com
>>> Subject: Re: LiveCode server IDE - the current state of the art?
>>> Message-ID: 
>>> Content-Type: text/plain; charset=utf-8; format=flowed
>>> 
>>> I have no idea if this is state of the art or not :-) - but here's what
>>> I do ...
>>> 
>>> 
>>> Short answer : the Livecode IDE plus an FTP client (Filezilla).
>>> 
>>> Longer answer :
>>> 
>>> 99% of what I write for the LC server is standard LC - scriptonly
>>> stacks, used as library stacks.
>>> 
>>> I have about 20 lines of LCS - just enough to look around and "start
>>> using" the relevant librarystacks, and then invoke the top-level
>>> handler. (This is actually in a revIgniter controller because I use
>>> revIgniter, but the same thing would work even if I didn't).
>>> 
>>> This lets me develop and test most of it in a convenient environment
>>> (the IDE, on my own laptop). I keep a copy of the scripts locally, along
>>> with enough of the database to do testing. I have a small "test-harness"
>>> app that lets me set parameters as though from the URL.
>>> 
>>> All output is done through my own handlers - which then either output on
>>> LC Server, or output to log/status/output fields and a browser widget in
>>> the test app. All DB access is done through a shim layer which uses
>>> Andre's DBLib + sqlite on the laptop and revIgniter's DB Lib + MySQL on
>>> the server.
>>> 
>>> I don't use revIgniter's "Views" - I have my

Re: LiveCode server IDE - the current state of the art?

2018-07-20 Thread Alex Tweedly via use-livecode

Hi Keith,

what I do in the 20 lines isn't very much - most of the work is done 
elsewhere.


I do have a couple of places I don't use revIgniter. Here's a sanitized 
version of what I use there as LC Server script (NB I have sanitized it 
before sending, so there could be typos here - I haven't test it in 
exactly this form)


As you'll see, I keep my standard libraries in a folder 
"libraryscripts", and then individual sites can over-ride those in a 
folder "user/libraryscripts", and can have additional scripts in 
"user/scripts". In an  earlier version I loaded all scripts found in 
these folders; for now I specify which ones I want, but I think I might 
at some point go back to loading every script I find as a librarystack.


I'll have a look at the synch utility to see if it can be similarly 
sanitized and shared.


-- Alex.

-- DO NOT USE include OR in-line STATEMENTS or you will lose ability to 
use IDE Tester App

-- NB include siteConfig.lc for site specific content

if there is a file ("user/libraryscripts/main_script.livecode") then
  put ("user/libraryscripts/main_script.livecode") into tt
else
  put ("libraryscripts/main_script.livecode") into tt
end if
start using stack tt

repeat for each word W in "common forms arrayjson" -- the libraries I 
always need

  put W & "_script.livecode" into tFile
  if there is a file ("user/libraryscripts" & tFile) then
    put ("user/libraryscripts/" & tFile) into tt
  else
    put ("libraryscripts/" & tFile) into tt
  end if
  start using stack tt
end repeat

put "user/scripts/siteConfig.lc" into tt
if there is a file tt then
  start using stack tt
  siteConfig
end if

-- and do the command
--   NB Usage ... www.mydomain.com/standalone.lc?command=dosomething&...
put $_GET["command"] into tCommand
do tCommand



On 20/07/2018 07:58, Keith Clarke via use-livecode wrote:

Thanks for describing your setup, Alex.

I like the ‘work locally as usual, then upload’ approach - coupled with the 
essential 'Did everything synch?' check utility! :-)

The lightweight LCS hub is very appealing (probably without RevIgniter to avoid 
any additional complexity) to get the basic plumbing connected.

Time to hit the LCS lessons to see if I can replicate what you're achieving 
with 20-lines, methinks! :-)
Best,
Keith


From: Alex Tweedly 
To: use-livecode@lists.runrev.com
Subject: Re: LiveCode server IDE - the current state of the art?
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

I have no idea if this is state of the art or not :-) - but here's what
I do ...


Short answer : the Livecode IDE plus an FTP client (Filezilla).

Longer answer :

99% of what I write for the LC server is standard LC - scriptonly
stacks, used as library stacks.

I have about 20 lines of LCS - just enough to look around and "start
using" the relevant librarystacks, and then invoke the top-level
handler. (This is actually in a revIgniter controller because I use
revIgniter, but the same thing would work even if I didn't).

This lets me develop and test most of it in a convenient environment
(the IDE, on my own laptop). I keep a copy of the scripts locally, along
with enough of the database to do testing. I have a small "test-harness"
app that lets me set parameters as though from the URL.

All output is done through my own handlers - which then either output on
LC Server, or output to log/status/output fields and a browser widget in
the test app. All DB access is done through a shim layer which uses
Andre's DBLib + sqlite on the laptop and revIgniter's DB Lib + MySQL on
the server.

I don't use revIgniter's "Views" - I have my own library which provides
the equivalent functionality in a way that lets me give website
maintainers access to it, without giving them access to anything within
revIgniter's 'system' folder.? (This also lets me test on the IDE).

I have a variety of ancillary files which I edit with other editors
(currently trying out Atom for small changes, but falling back to emacs
when there are larger or complex changes to do).

Only problem I've run into with this approach is that sometimes I will
edit and test a file (or a number of files)? locally, and forget to
upload one or some :-(? So I have a small 'sync' app which runs on the
laptop, and uses a LC Server script on the website, to flag up any
differences in the 'should be identical' files.

Alex.

On 19/07/2018 08:01, Keith Clarke via use-livecode wrote:

Hi folks,
I?m attempting to engage with LiveCode Server after a couple of years since I 
last played - when the approach was to roll your own IDE (i.e. pick a text 
editor) and optionally use the RevIgnitor framework.

I?d be obliged if anyone could please update me on the current state of the art 
and share their personal tool-belt preference (target environment is a Linux 

Re: LiveCode server IDE - the current state of the art?

2018-07-20 Thread Keith Clarke via use-livecode
Thanks for describing your setup, Alex. 

I like the ‘work locally as usual, then upload’ approach - coupled with the 
essential 'Did everything synch?' check utility! :-)

The lightweight LCS hub is very appealing (probably without RevIgniter to avoid 
any additional complexity) to get the basic plumbing connected.

Time to hit the LCS lessons to see if I can replicate what you're achieving 
with 20-lines, methinks! :-)
Best,
Keith

> From: Alex Tweedly 
> To: use-livecode@lists.runrev.com
> Subject: Re: LiveCode server IDE - the current state of the art?
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> I have no idea if this is state of the art or not :-) - but here's what 
> I do ...
> 
> 
> Short answer : the Livecode IDE plus an FTP client (Filezilla).
> 
> Longer answer :
> 
> 99% of what I write for the LC server is standard LC - scriptonly 
> stacks, used as library stacks.
> 
> I have about 20 lines of LCS - just enough to look around and "start 
> using" the relevant librarystacks, and then invoke the top-level 
> handler. (This is actually in a revIgniter controller because I use 
> revIgniter, but the same thing would work even if I didn't).
> 
> This lets me develop and test most of it in a convenient environment 
> (the IDE, on my own laptop). I keep a copy of the scripts locally, along 
> with enough of the database to do testing. I have a small "test-harness" 
> app that lets me set parameters as though from the URL.
> 
> All output is done through my own handlers - which then either output on 
> LC Server, or output to log/status/output fields and a browser widget in 
> the test app. All DB access is done through a shim layer which uses 
> Andre's DBLib + sqlite on the laptop and revIgniter's DB Lib + MySQL on 
> the server.
> 
> I don't use revIgniter's "Views" - I have my own library which provides 
> the equivalent functionality in a way that lets me give website 
> maintainers access to it, without giving them access to anything within 
> revIgniter's 'system' folder.? (This also lets me test on the IDE).
> 
> I have a variety of ancillary files which I edit with other editors 
> (currently trying out Atom for small changes, but falling back to emacs 
> when there are larger or complex changes to do).
> 
> Only problem I've run into with this approach is that sometimes I will 
> edit and test a file (or a number of files)? locally, and forget to 
> upload one or some :-(? So I have a small 'sync' app which runs on the 
> laptop, and uses a LC Server script on the website, to flag up any 
> differences in the 'should be identical' files.
> 
> Alex.
> 
> On 19/07/2018 08:01, Keith Clarke via use-livecode wrote:
>> Hi folks,
>> I?m attempting to engage with LiveCode Server after a couple of years since 
>> I last played - when the approach was to roll your own IDE (i.e. pick a text 
>> editor) and optionally use the RevIgnitor framework.
>> 
>> I?d be obliged if anyone could please update me on the current state of the 
>> art and share their personal tool-belt preference (target environment is a 
>> Linux VPS).
>> Thanks & regards
>> Keith
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveCode server IDE - the current state of the art?

2018-07-19 Thread Alex Tweedly via use-livecode
I have no idea if this is state of the art or not :-) - but here's what 
I do ...



Short answer : the Livecode IDE plus an FTP client (Filezilla).

Longer answer :

99% of what I write for the LC server is standard LC - scriptonly 
stacks, used as library stacks.


I have about 20 lines of LCS - just enough to look around and "start 
using" the relevant librarystacks, and then invoke the top-level 
handler. (This is actually in a revIgniter controller because I use 
revIgniter, but the same thing would work even if I didn't).


This lets me develop and test most of it in a convenient environment 
(the IDE, on my own laptop). I keep a copy of the scripts locally, along 
with enough of the database to do testing. I have a small "test-harness" 
app that lets me set parameters as though from the URL.


All output is done through my own handlers - which then either output on 
LC Server, or output to log/status/output fields and a browser widget in 
the test app. All DB access is done through a shim layer which uses 
Andre's DBLib + sqlite on the laptop and revIgniter's DB Lib + MySQL on 
the server.


I don't use revIgniter's "Views" - I have my own library which provides 
the equivalent functionality in a way that lets me give website 
maintainers access to it, without giving them access to anything within 
revIgniter's 'system' folder.  (This also lets me test on the IDE).


I have a variety of ancillary files which I edit with other editors 
(currently trying out Atom for small changes, but falling back to emacs 
when there are larger or complex changes to do).


Only problem I've run into with this approach is that sometimes I will 
edit and test a file (or a number of files)  locally, and forget to 
upload one or some :-(  So I have a small 'sync' app which runs on the 
laptop, and uses a LC Server script on the website, to flag up any 
differences in the 'should be identical' files.


Alex.



On 19/07/2018 08:01, Keith Clarke via use-livecode wrote:

Hi folks,
I’m attempting to engage with LiveCode Server after a couple of years since I 
last played - when the approach was to roll your own IDE (i.e. pick a text 
editor) and optionally use the RevIgnitor framework.

I’d be obliged if anyone could please update me on the current state of the art 
and share their personal tool-belt preference (target environment is a Linux 
VPS).
Thanks & regards
Keith
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

LiveCode server IDE - the current state of the art?

2018-07-19 Thread Keith Clarke via use-livecode
Hi folks,
I’m attempting to engage with LiveCode Server after a couple of years since I 
last played - when the approach was to roll your own IDE (i.e. pick a text 
editor) and optionally use the RevIgnitor framework.

I’d be obliged if anyone could please update me on the current state of the art 
and share their personal tool-belt preference (target environment is a Linux 
VPS).
Thanks & regards
Keith 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode