[Lazarus] Lazarus make me create better apps

Leonardo M. Ramé l.rame at griensu.com
Fri May 7 16:42:55 CEST 2010


El vie, 07-05-2010 a las 10:31 -0300, Marcos Douglas escribió:
> 2010/5/7 Razvan Adrian Bogdan <lightningflash at gmail.com>:
> > Web programming in Lazarus/Delphi can be done in 3 ways:
> > - Non persistent safe CGI, you have to do persistence yourself, this is ok,
> > requires some work but is no the fastest way of doing things, you do get a
> > free garbage collector <hint>Implement something like smart pointers in C++
> > using operator overloading ?</hint>, interfaces are too much overhead.
> > - Persistent building a module/plugin (not safe), or using FastCGI, SCGI or
> > a small HTTP server behind a bigger one, i would probably try the HTTP
> > backend (proxy) server behind the real server because FastCGI has poor
> > support (very old apache module) and SCGI doesn't seem too well known.
> > - The full thing with whatever backend, everything managed by Lazarus just
> > like a desktop app something like Morfik/Intraweb, this is probably the
> > least efficient way of doing web stuff but it would be ok if you only input
> > data and output reports without the need to customize anything, people seem
> > to complain about ASP.NET for being too difficult to learn and customize.
> > I'm not sure if threading support is better now, last time i checked, there
> > were still some issues with threads in FPC, the developer who wrote PWU
> > complained a lot about threading support being a major obstacle in FPC, if
> > you want a faster HTTP or FastCGI service instead of the slow but safe CGI
> > you really need good/predictible threading and absolutely no leaks so the
> > SmartPointer/ReferenceCounting would be really useful because in most
> > projects there are other people that forget to free some stuff.
> 
> What do you use?
> Have you made any real app using some of these technologies and FPC?
> I would like to use FPC for my web apps, but I don't see many examples...
> 
> Does anyone uses FPC for real web applications?
> 
> 
> Thanks
> Marcos Douglas
> 

I use PWU for an CGI based web Control Panel application, in charge of
CRUD and Config tasks for a legacy PHP app, and it works pretty nice.
The server is a simple Linux-Apache-Mysql-PHP shared host, so I just
have to replace my CGI in /cgi-bin directory every time I update the
program.

When I started with this project, I used just VIM with a couple of
shortcuts to compile and "deploy", that was my IDE. Then, a couple of
weeks ago, I was really missing the Code Insight and code navigation
features, then did a simple tests with Lazarus and it worked out of the
box, so, from that time, it is the IDE of choice for this app.

In this particular case, yes, "Lazarus make me create better apps"!.


-- 
Leonardo M. Ramé
Griensu S.A. - Medical IT Córdoba
Tel.: 0351-4247979





More information about the Lazarus mailing list