Re: Server Scripts Editor

2014-05-08 Thread Scott Rossi
On OSX:
I use Espresso -- it's really intended for web editing.  Doesn't provide
any special benefits for LC script editing, but includes server upload,
browser preview, and file management.

Coda is supposed to be good (same as above).

I read good things about SublimeText.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/8/14 4:57 PM, "Nakia Brewer"  wrote:

>Just starting to play with some LC Server scripts and was wondering what
>text editor people use for the LC file?



___
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: Server Scripts Editor

2014-05-08 Thread Mark Wieder
Nakia-

Thursday, May 8, 2014, 4:57:05 PM, you wrote:

> Just starting to play with some LC Server scripts and was
> wondering what text editor people use for the LC file?

Github just released Atom for OSX.

-- 
-Mark Wieder
 ahsoftw...@gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


___
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: Server Scripts Editor

2014-05-08 Thread Richard Gaskin

Nakia Brewer wrote:

> Just starting to play with some LC Server scripts and was wondering
> what text editor people use for the LC file?

Most of my LC Server apps are talking to LC-based clients, so all they 
need are libraries, which lets me use the LC editor.


Even when I do Web sites with LC Server, I tend to make mostly HTML 
templates with simple placeholder tags for function calls, so once again 
most of the LC code is in LC library stacks, and the HTML is either 
hand-written with GEdit/TextEdit/my own half-finished text 
editor/whatever I happen to have handy, with some occasional WYSIWYG 
authoring in BlueGriffon.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Server Scripts Editor

2014-05-08 Thread Phil Davis

Nakia,

I do what Richard does - put as much code as possible in library stacks, 
which I can edit in the IDE and upload them to the server for testing 
(or when done). Much of my server code handles requests from LC desktop 
apps, so I don't have to deal with HTML pages so much. But when my 
server scripts have to return a page, it's always a template with merged 
data.


Phil


On 5/8/14, 4:57 PM, Nakia Brewer wrote:

Hi,

Just starting to play with some LC Server scripts and was wondering what text 
editor people use for the LC file?

Cheers and Happy Friday!






COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.

___
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



--
Phil Davis


___
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: Server Scripts Editor

2014-05-08 Thread Simon Smith
Can't go wrong with sublime text.


On Fri, May 9, 2014 at 1:57 AM, Nakia Brewer wrote:

> Hi,
>
> Just starting to play with some LC Server scripts and was wondering what
> text editor people use for the LC file?
>
> Cheers and Happy Friday!
>
>
>
>
>
>
> COPYRIGHT / DISCLAIMER: This message and/or including attached files may
> contain confidential proprietary or privileged information. If you are not
> the intended recipient, you are strictly prohibited from using,
> reproducing, disclosing or distributing the information contained in this
> email without authorisation from WesTrac. If you have received this message
> in error please contact WesTrac on +61 8 9377 9444. We do not accept
> liability in connection with computer virus, data corruption, delay,
> interruption, unauthorised access or unauthorised amendment. We reserve the
> right to monitor all e-mail communications.
>
> ___
> 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
>



-- 

*Simon Smith*
*seo, online marketing, web development*

w. http://www.simonsmith.co
m. +27 83 306 7862
___
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: Server Scripts Editor

2014-05-09 Thread Nakia Brewer
Dumb question but I don't get what you mean here ?

I have a LC file and renamed it to a .livecode file but when it opens in 
LiveCode there is nothing to edit...

Feeling this is a dumb question that's gonna make me look the goose...



Sent from my iPhone

> On 9 May 2014, at 4:19 pm, "Phil Davis"  wrote:
> 
> Nakia,
> 
> I do what Richard does - put as much code as possible in library stacks, 
> which I can edit in the IDE and upload them to the server for testing (or 
> when done). Much of my server code handles requests from LC desktop apps, so 
> I don't have to deal with HTML pages so much. But when my server scripts have 
> to return a page, it's always a template with merged data.
> 
> Phil
> 
> 
>> On 5/8/14, 4:57 PM, Nakia Brewer wrote:
>> Hi,
>> 
>> Just starting to play with some LC Server scripts and was wondering what 
>> text editor people use for the LC file?
>> 
>> Cheers and Happy Friday!
>> 
>> 
>> 
>> 
>> 
>> 
>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
>> contain confidential proprietary or privileged information. If you are not 
>> the intended recipient, you are strictly prohibited from using, reproducing, 
>> disclosing or distributing the information contained in this email without 
>> authorisation from WesTrac. If you have received this message in error 
>> please contact WesTrac on +61 8 9377 9444. We do not accept liability in 
>> connection with computer virus, data corruption, delay, interruption, 
>> unauthorised access or unauthorised amendment. We reserve the right to 
>> monitor all e-mail communications.
>> 
>> ___
>> 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
> 
> -- 
> Phil Davis
> 
> 
> ___
> 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
> 

COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



___
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: Server Scripts Editor

2014-05-09 Thread Mike Bonner
Nakia, check out this page: http://livecode.com/developers/guides/server/

Specifically the section on using stacks with lc server.  Very handy, and
as mentioned above it allows you to create a stack in the livecode ide,
then use it from an lc server script.


On Fri, May 9, 2014 at 2:17 AM, Nakia Brewer wrote:

> Dumb question but I don't get what you mean here ?
>
> I have a LC file and renamed it to a .livecode file but when it opens in
> LiveCode there is nothing to edit...
>
> Feeling this is a dumb question that's gonna make me look the goose...
>
>
>
> Sent from my iPhone
>
> > On 9 May 2014, at 4:19 pm, "Phil Davis"  wrote:
> >
> > Nakia,
> >
> > I do what Richard does - put as much code as possible in library stacks,
> which I can edit in the IDE and upload them to the server for testing (or
> when done). Much of my server code handles requests from LC desktop apps,
> so I don't have to deal with HTML pages so much. But when my server scripts
> have to return a page, it's always a template with merged data.
> >
> > Phil
> >
> >
> >> On 5/8/14, 4:57 PM, Nakia Brewer wrote:
> >> Hi,
> >>
> >> Just starting to play with some LC Server scripts and was wondering
> what text editor people use for the LC file?
> >>
> >> Cheers and Happy Friday!
> >>
> >>
> >>
> >>
> >>
> >>
> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files
> may contain confidential proprietary or privileged information. If you are
> not the intended recipient, you are strictly prohibited from using,
> reproducing, disclosing or distributing the information contained in this
> email without authorisation from WesTrac. If you have received this message
> in error please contact WesTrac on +61 8 9377 9444. We do not accept
> liability in connection with computer virus, data corruption, delay,
> interruption, unauthorised access or unauthorised amendment. We reserve the
> right to monitor all e-mail communications.
> >>
> >> ___
> >> 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
> >
> > --
> > Phil Davis
> >
> >
> > ___
> > 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
> >
>
> COPYRIGHT / DISCLAIMER: This message and/or including attached files may
> contain confidential proprietary or privileged information. If you are not
> the intended recipient, you are strictly prohibited from using,
> reproducing, disclosing or distributing the information contained in this
> email without authorisation from WesTrac. If you have received this message
> in error please contact WesTrac on +61 8 9377 9444. We do not accept
> liability in connection with computer virus, data corruption, delay,
> interruption, unauthorised access or unauthorised amendment. We reserve the
> right to monitor all e-mail communications.
>
>
>
> ___
> 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: Server Scripts Editor

2014-05-09 Thread Phil Davis
So let's say I have a file on my server called "mine.lc". It's a text 
file that contains some LC code and looks like this in a text editor:




The "mystack.livecode" file is just a normal stackfile whose stack 
script might look like this:


on libraryStack
put the long time & "" & the systemVersion
end libraryStack

So when you go to "http://myserver.com/mine.lc"; you'll see the output 
from the stack's script in your browser, something like this:


1:09:45 PM
Linux 3.2.45-grsec-2.9.1-r3+

I hope this isn't so elementary it offends you! Mostly I hope it 
clarifies the relationship between your .lc file and your stackfile on 
the server.


I've built an entire training management system using this approach, so 
it will support any level of complexity you need. Just like the desktop, 
only different!


Phil Davis



On 5/9/14, 7:22 AM, Mike Bonner wrote:

Nakia, check out this page: http://livecode.com/developers/guides/server/

Specifically the section on using stacks with lc server.  Very handy, and
as mentioned above it allows you to create a stack in the livecode ide,
then use it from an lc server script.


On Fri, May 9, 2014 at 2:17 AM, Nakia Brewer wrote:


Dumb question but I don't get what you mean here ?

I have a LC file and renamed it to a .livecode file but when it opens in
LiveCode there is nothing to edit...

Feeling this is a dumb question that's gonna make me look the goose...



Sent from my iPhone


On 9 May 2014, at 4:19 pm, "Phil Davis"  wrote:

Nakia,

I do what Richard does - put as much code as possible in library stacks,

which I can edit in the IDE and upload them to the server for testing (or
when done). Much of my server code handles requests from LC desktop apps,
so I don't have to deal with HTML pages so much. But when my server scripts
have to return a page, it's always a template with merged data.

Phil



On 5/8/14, 4:57 PM, Nakia Brewer wrote:
Hi,

Just starting to play with some LC Server scripts and was wondering

what text editor people use for the LC file?

Cheers and Happy Friday!






COPYRIGHT / DISCLAIMER: This message and/or including attached files

may contain confidential proprietary or privileged information. If you are
not the intended recipient, you are strictly prohibited from using,
reproducing, disclosing or distributing the information contained in this
email without authorisation from WesTrac. If you have received this message
in error please contact WesTrac on +61 8 9377 9444. We do not accept
liability in connection with computer virus, data corruption, delay,
interruption, unauthorised access or unauthorised amendment. We reserve the
right to monitor all e-mail communications.

___
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

--
Phil Davis


___
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


COPYRIGHT / DISCLAIMER: This message and/or including attached files may
contain confidential proprietary or privileged information. If you are not
the intended recipient, you are strictly prohibited from using,
reproducing, disclosing or distributing the information contained in this
email without authorisation from WesTrac. If you have received this message
in error please contact WesTrac on +61 8 9377 9444. We do not accept
liability in connection with computer virus, data corruption, delay,
interruption, unauthorised access or unauthorised amendment. We reserve the
right to monitor all e-mail communications.



___
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



--
Phil Davis

___
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: Server Scripts Editor

2014-05-12 Thread Nakia Brewer
Thanks all,

I ended up downloading submlime text and it seems to be fine.

Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions
t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au


  ACN 009 342 572


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Simon Smith
Sent: Friday, 9 May 2014 4:24 PM
To: How to use LiveCode
Subject: Re: Server Scripts Editor

Can't go wrong with sublime text.


On Fri, May 9, 2014 at 1:57 AM, Nakia Brewer wrote:

> Hi,
>
> Just starting to play with some LC Server scripts and was wondering 
> what text editor people use for the LC file?
>
> Cheers and Happy Friday!
>
>
>
>
>
>
> COPYRIGHT / DISCLAIMER: This message and/or including attached files 
> may contain confidential proprietary or privileged information. If you 
> are not the intended recipient, you are strictly prohibited from 
> using, reproducing, disclosing or distributing the information 
> contained in this email without authorisation from WesTrac. If you 
> have received this message in error please contact WesTrac on +61 8 
> 9377 9444. We do not accept liability in connection with computer 
> virus, data corruption, delay, interruption, unauthorised access or 
> unauthorised amendment. We reserve the right to monitor all e-mail 
> communications.
>
> ___
> 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
>



-- 

*Simon Smith*
*seo, online marketing, web development*

w. http://www.simonsmith.co
m. +27 83 306 7862
___
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


COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



___
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