Using livecode for a forum based app

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
HSH_UAE
Posts: 3
Joined: Sat Feb 08, 2014 4:01 pm

Using livecode for a forum based app

Post by HSH_UAE » Sat Feb 08, 2014 4:06 pm

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.

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Using livecode for a forum based app

Post by bangkok » Sat Feb 08, 2014 4:45 pm

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 !

HSH_UAE
Posts: 3
Joined: Sat Feb 08, 2014 4:01 pm

Re: Using livecode for a forum based app

Post by HSH_UAE » Sat Feb 08, 2014 9:22 pm

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.

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Using livecode for a forum based app

Post by bangkok » Sun Feb 09, 2014 1:31 pm

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.

HSH_UAE
Posts: 3
Joined: Sat Feb 08, 2014 4:01 pm

Re: Using livecode for a forum based app

Post by HSH_UAE » Sun Feb 09, 2014 3:14 pm

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.

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Using livecode for a forum based app

Post by bangkok » Sun Feb 09, 2014 5:11 pm

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/

Post Reply