Introduction

Please note: This guide is a work in progress and far from complete. If there are any mistakes, or anything you think I should add please send me an email.

I will be updating this from time to time. Follow me on twitter.

About this Guide

While LiveCode lets you build applications for Windows, OS X, Linux, mobile devices and web servers, the guide is geared towards the LiveCode Server Edition. (Although as LiveCode uses the same language accross all platforms, most of what is in the guide should be relavant for them aswell.)

Why did I write this Guide

I have been dabbling with desktop edition of LiveCode for awhile now and used it primarily for building a few gui interfaces for some command line apps that I use from time to time. Recently I wanted to start exploring the server edition, as I enjoy the language and am a primarily a web developer. The only problem is that that there is not much indepth articles and tutorials on the web for LiveCode server. Mainly as it is a relatively new offering and is not as widely used as other web languages like php, python, node.js, etc.

Here is my contribution.

Why LiveCode

LiveCode is a rapid application developement langauge for building cross platform applications. It runs on Windows, Mac OS X and Linux, letting you develop applications for mobile, desktop and server/CGI environments. LiveCode is available as either opensource or with a comercial licence. The opensource verison was released recently via a very successful kickstarter campaign, following a very successfully kickstarter campaign in April 2013. You need the commercial licence if you want to sell your applications or release them onto the app stores.

One of its most popular featues is it’s compile-free workflow. Where you can delevelop and run your application at the same time. It uses a high level, English-like syntax making it easier for causual programmers to read and learn while at the same time letting you do more in less lines of code.

An example of LiveCode’s syntax:

put url("http://activethought.net") into myVar
// load the html of a web page into a variable

Why use the LiveCode Server?

If you are already a LiveCode developer, you nolonger have to learn/learn another language if you are needing to setup interaction with online server scripts. Using the same language also means you can reuse your code and can save on development time.

If you are a web developer and familiar with web programming languages, it’s a great introduction to LiveCode and its English like syntax.
LiveCode is especially powerfull with text maniptulation
Runs on all major platforms via CGI
It’s a full featured language and suitable for a wide variety of applications

Still to do

There are still a number of things I would like to add to this guide. If you have any comments / suggestions, please drop me a message.

  • More details explanations / Examples.
  • Cover more sections / features
  • XML
  • Working with images
  • Regular Expressions
  • Headers
  • Working with email
  • Working with web services
  • Deployement

Leave a Reply