Page 1 of 1

Using livecode for a forum based app

Posted: Sat Feb 08, 2014 4:06 pm
by HSH_UAE
Hello, I'm a university student that wants to use livecode to develop my senior project which is a forum based app and I wanted to know if livecode is the right tool for creating such an app and if so how do I start?, thanks.

Re: Using livecode for a forum based app

Posted: Sat Feb 08, 2014 4:45 pm
by bangkok
HSH_UAE wrote:Hello, I'm a university student that wants to use livecode to develop my senior project which is a forum based app and I wanted to know if livecode is the right tool for creating such an app and if so how do I start?, thanks.
Sure. LiveCode Server is like PHP.

Many forum solutions are developed in PHP. Ergo.... you can do exactly the same with LiveCode Server.
;-)

First thing first : i think you need to start with :
-database management (mySQL)
-sessions management (cookie)

This is the core of a forum app.

But you could push your project even further : thanks to LiveCode, you could add... a desktop client (or iOs or Android), a small app to access/consult directly your forum app.

Anyway. Good luck !

Re: Using livecode for a forum based app

Posted: Sat Feb 08, 2014 9:22 pm
by HSH_UAE
Well what I can understand from your reply is to base my app on a php forum solution, but the question is how compatible is Livecode with php as a scripting language I mean after I base it on a php solution how can I apply that solution in livecode.

Re: Using livecode for a forum based app

Posted: Sun Feb 09, 2014 1:31 pm
by bangkok
HSH_UAE wrote:Well what I can understand from your reply is to base my app on a php forum solution, but the question is how compatible is Livecode with php as a scripting language I mean after I base it on a php solution how can I apply that solution in livecode.

No, you misunderstood me.

-you can create a forum system, with LiveCode Server.
LiveCode Server acts exactly like PHP on a http server. It executes script.

-Yes most of forum systems use PHP. It would be a little foolish to recreate the wheels with LiveCode Server... But since, it's a study project, then why not ?
And again : it's technically ok with LiveCode Server.

-you can extend your study projet by creating a CLIENT, with LiveCode Desktop (for Windows, MacOS, and/or IOS and Android). This app could connect to a PHP forum server, or to your LiveCode Server forum.

Re: Using livecode for a forum based app

Posted: Sun Feb 09, 2014 3:14 pm
by HSH_UAE
Can you give me more information about how can I create an app that will connect to a php or a livecode forum using livecode desktop or give me an information source that will help me in developing my app.

Re: Using livecode for a forum based app

Posted: Sun Feb 09, 2014 5:11 pm
by bangkok
HSH_UAE wrote:Can you give me more information about how can I create an app that will connect to a php or a livecode forum using livecode desktop or give me an information source that will help me in developing my app.
The basic scheme is to use the command POST

http://livecode.byu.edu/internet/webServices.php
http://livecode.byu.edu/internet/postMethodSteps.php
http://lessons.runrev.com/s/lessons/m/4 ... de-Server-
http://ftp.runrev.com/forums/viewtopic. ... 58&p=72322

-the livecode desktop app will send queries to your forum server with POST.

So to summarize :

1- you developp from scratch a forum system with LiveCode Server. It's possible. People will use on line, on your web server.

2- You want outside app to be able to "talk" to your server ? Then create your own "API". Your server will receive queries, handle them, and send back results.

3- you don't want to recreate the wheel, therefore you'll use a forum opensource system, in PHP, with a proper API system, and then you will developp LiveCode Desktop app that will "talk" to this server.
Example : Vanilla.
http://vanillaforums.org/
http://blog.vanillaforums.com/api/