Forum > Beginners

Web App on Centos 6.5

(1/1)

martini002:
Hello Everybody,

This is my first time interested on Lazarus,
first of all my english is not very explicit i speak spanish,
so ill try to explain by myself in a easy mode,
Im here because i need your help trying to start a simple applicaction
"Hello World" but at this point i need to run this with Apache on Centos 6.5

Never before i used Lazarus for any applicaction im a Delphi and SQL programmer
so the way to programming would be easy.

Anyway i have some doubts before start,
I hear you can compile with Lazarus for Linux / Windows.

So can i code something over win and compile it for Unix/Linux? Or i need to code over Ubuntu by example if i want to make a app for Centos?

Im not very experienced on Linux world but im getting started,
so i need to make an Web application, is this CGI maybe?

I made a test of an Hello World web application and get it working on Apache using Win.
The way that i code that for win is the same for linux?

Do you know if Lazarus can work with Zeos Lib? if so then can you guide me please
to get both working?

Ill appreciate your help in advance,
Thanks you.

Leledumbo:

--- Quote ---I hear you can compile with Lazarus for Linux / Windows.
--- End quote ---
And Mac OS X and FreeBSD, much more for FPC only.

--- Quote ---So can i code something over win and compile it for Unix/Linux? Or i need to code over Ubuntu by example if i want to make a app for Centos?
--- End quote ---
Cross compilation is possible for certain targets, otherwise copy the project and compile on target machine.

--- Quote ---Im not very experienced on Linux world but im getting started,
so i need to make an Web application, is this CGI maybe?
--- End quote ---
Depends. FPC supports CGI, FastCGI, Apache Module and Embedded Webserver.

--- Quote ---I made a test of an Hello World web application and get it working on Apache using Win.
The way that i code that for win is the same for linux?
--- End quote ---
Depends on how you code it. If you use windows specific units / conventions, you might need to tailor it for other platforms. If you can code it with multiplatform mind, it surely will work across platforms. Read the multiplatform programming guide wiki article.

--- Quote ---Do you know if Lazarus can work with Zeos Lib? if so then can you guide me please
to get both working?
--- End quote ---
Dig both zeos website and our wiki.

All in all, please read the wiki and official documentation (for FPC) first. What you asked mostly have been covered there. Documentation is useless if it's not read, so read it.

martini002:
Thanks you very much,

Thats what i needed to hear for a smooth start.

Navigation

[0] Message Index

Go to full version