Page 1 of 1

Desktop IDE for server scripts

Posted: Fri Jul 19, 2013 4:12 am
by MrWizard.
It appears the livecode desktop IDE is not designed to develop LC server based scripts. Am I missing something?

I started using Textwrangler on the MAC but the syntax coloration etc is off. Has anyone developed a Textwrangler config that is LC aware?

Is there a preferred desktop IDE which is LC aware? BBEdit, Dreamweaver, etc

It seems silly that I have to textwrangler edit/FTP save/browser test to cycle through constantly.

I am doing CGI mode so it's LC scripts dynamically generating HTML based of data queries from the local SQL server

Thought ?

E

Re: Desktop IDE for server scripts

Posted: Fri Jul 19, 2013 9:06 pm
by edgore
Right now pretty much the only option is to develop in the desktop IDE, then port that to the server. Look at the Techniques for Developing for Server thread a bit further down to see what I am doing, and some of the issue I run into.

I agree that an IDE for developing (and debugging) scripts running against the server engine would be great.

Re: Desktop IDE for server scripts

Posted: Mon Jul 22, 2013 1:34 am
by MrWizard.
One cool option I have found is to use Bare Bones editor TextWrangler (http://www.barebones.com/products/textwrangler/) which is free in the Mac store for download.

This tool has a programmer's extension option;
http://www.barebones.com/products/textw ... ammer.html

This option allows for syntax coloring and function navigation by identifying your language module with “Codeless Language Modules”

Blue Mango has has created a BBEdit language module provides syntax coloring for the Revolution language
(http://www.bluemangolearning.com/revolu ... ge-module/) which can also be used for TextWrangler.

Steps;
1. Download TextWrangler http://ash.barebones.com/TextWrangler_4.5.3.dmg
2. Download the TextWrangler manual at http://ash.barebones.com/TextWrangler_User_Manual.pdf
3. Download Blue Mango's BBEdit language module http://bluemangolearning.com/download/r ... Module.zip
4. Install Blue Mango's BBEdit language module in the TextWrangler extension directory;
"~Application Support/TextWrangler/Language Modules"
5. Start TextWrangler and go to the Preferences section (see TextWrangler manual chapter 10). Go to the “Installed Languages” and add "Revolution" to activate Blue Mango's BBEdit language module. Go to "Custom Extension Mappings" and map the extensions you use (.lc, .irev, etc) to Revolution
6. Changes will take effect the next time you launch TextWrangler.

Hope this helps!

E

Re: Desktop IDE for server scripts

Posted: Mon Jul 22, 2013 8:43 pm
by edgore
I use textwrangler when I can (i.e. for my own personal stuff), alas for work I need to use windows.

Re: Desktop IDE for server scripts

Posted: Wed Sep 04, 2013 3:58 pm
by Joerg
I use the great framework revigniter to develop and deploy livecode applications. This framework is developed and maintained by Ralf Bitter. In addition, Ralf offers a TextMate bundle for livecode http://revigniter.com/accessory. I personally use sublimetext editor (http://www.sublimetext.com) in which you can import these TextMate files. More over you can configure sublimetext also as ftp client.

Have a look at both of them.


Greetings

Jörg

Re: Desktop IDE for server scripts

Posted: Wed Sep 04, 2013 4:33 pm
by FourthWorld
The flexibility of LiveCode Server offers many different ways of working, and FWIW I've found it helpful in my own projects to include relatively little code in the pages themselves, usually limited to function calls for routines defined in a library stack, e.g.:

Code: Select all

<html><body>[[SomeFunctionName()]]</body></html>
This lets me use any HTML editor to lay out the page, and lets me use any LiveCode editor for the handler definitions - best of both worlds.

Re: Desktop IDE for server scripts

Posted: Wed Sep 04, 2013 5:14 pm
by Klaus
Unfortunately Trevors LC lib for BBEdit always crashes my TextWranlger
when I try to set the conding to "Revolution" :(

Re: Desktop IDE for server scripts

Posted: Wed Nov 11, 2015 2:04 am
by Greg O.
At least as of BBEdit 11.1.4 the BlueMango revolution module is incompatible. Does anyone know another?

Re: Desktop IDE for server scripts

Posted: Wed Nov 11, 2015 5:49 pm
by ghettocottage
Atom Editor is coming along nicely: https://atom.io/

Peter B has been maintaining a package for atom for developing Livecode Server: https://atom.io/packages/language-livecode