Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-05 Thread duilio foschi
I am working on a project now for RIA similar in concept to ExtPascal, but abstracting out the UI framework with most of the logic executing on the server so that I can plug in different UI's without touching my model/controller. That is what I looking for! That is what I looking for! I do

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-05 Thread Marcos Douglas
Hi Duilio, duilio foschi duiliofos...@euplan.it wrote: from the documentation of ExtPascal: file:///C:/ExtPascal/help/Overview.html (bottom part) the Parser can be adapted to read the documentation of another JavaScript framework, Dojo for example. Yes, he can, but the code generated

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-04 Thread Marcos Douglas
Lee Jenkins l...@datatrakpos.com wrote: I don't think so because the framework itself doesn't incorporate any communication protocols.  Using your favorite existing Server platform (like fpWeb/LazWeb) you write a small method for when a request comes in like the one below to handle the

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread leledumbo
how do I build a minimal 'hello world' CGI application under Free Pascal ? Where do I find 'instructions for dummies' ? Have a look http://wiki.lazarus.freepascal.org/CGI_Web_Programming here . -- View this message in context:

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread duilio foschi
Lele, I need instructions for _dumbier_ users :) 1. == After hosted, CGI can now be used normally as http://www.yourserver.com[.xx]/yourlogin/cgi-bin/cginame.exe (I will use my web browser, I suppose...) However I have no web site on my server... :( So where to store and how to call the

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Graeme Geldenhuys
duilio foschi het geskryf: how do I build a minimal 'hello world' CGI application under Free Pascal ? Can't get simpler than this: - program cgitest; {$mode objfpc}{$H+} uses Classes; begin writeln('Content-Type:text/html',#10#13); writeln('html');

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
On Sun, May 2, 2010 at 2:29 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Some reasons:  * Free Pascal is open source (always available and no vendor lock-in)  * Free Pascal is free, so can always use latest version at NO cost.  * Previous skills from Delphi 7 project can be reused. No

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Rainer Stratmann
Am Monday 03 May 2010 14:24:48 schrieb Marcos Douglas: On Sun, May 2, 2010 at 2:29 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Some reasons:  * Free Pascal is open source (always available and no vendor lock-in)  * Free Pascal is free, so can always use latest version at NO cost.

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Graeme Geldenhuys
Marcos Douglas het geskryf: I do not knew about this! Can you post a few links of companies using ExtPascal? Would be very good to post these links in list of ExtPascal. Many are developers I read about in the Lazarus and FPC-users mailing list. What about do you think about performance

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
Hi Lee, On Sun, May 2, 2010 at 3:10 PM, Lee Jenkins l...@datatrakpos.com wrote: * Virtual Private Hosting is really cheap now, largely alleviating the problem of deploying native executables to web servers like FastCGI, ISAPI, apache_mod, etc. Yes, you right. I am working on a project now

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
On Mon, May 3, 2010 at 9:37 AM, Rainer Stratmann rainerstratm...@t-online.de wrote: I don't know what CGI is. Nevertheless I was able to program a webserver completely in freepascal. It isn't that complicate (if you have time). If a connection comes in then I prove how many connections are

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
On Mon, May 3, 2010 at 9:37 AM, Rainer Stratmann rainerstratm...@t-online.de wrote: I don't know what CGI is. Here http://wiki.lazarus.freepascal.org/CGI_Web_Programming -- Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
On Mon, May 3, 2010 at 9:41 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Marcos Douglas het geskryf: I do not knew about this! Can you post a few links of companies using ExtPascal? Would be very good to post these links in list of ExtPascal. Many are developers I read about in the

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
On Mon, May 3, 2010 at 9:41 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: At the moment we use plain CGI apps. I forgot: Do you continues using cgiapp unit? Have you seen Powtils? Here http://wiki.lazarus.freepascal.org/CGI_Web_Programming recommends.

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Graeme Geldenhuys
Marcos Douglas het geskryf: What do you use in UI? What about templates, do you use? No templates and hard-crafted UI with our own HTML and CSS markup. Our CGI apps have a very dynamic interface which is build from information stored in a database. If you have some news about on learning

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
On Mon, May 3, 2010 at 11:07 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: No templates and hard-crafted UI with our own HTML and CSS markup. Our CGI apps have a very dynamic interface which is build from information stored in a database. There are HTML code inside Pascal code? I

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Lee Jenkins
Marcos Douglas wrote: Hi Lee, So I'm taking advantage of the extra time and refactoring the framework a bit and implementing a DHTML UI layer now. We looked at ExtJS as well as YahooUI, OpenLaszlo and a few of the others and eventually decided on Dojo javascript tookit, but different UI

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Lee Jenkins
Lee Jenkins wrote: Here is a short screencast of the framework using the Flex UI layer. Note that its pretty old and the framework has come a long way since this screencast and as I said, I'm going through some refactoring now since I have to change some things for the customer anyway.

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Graeme Geldenhuys
Marcos Douglas het geskryf: There are HTML code inside Pascal code? All HTML code (inside our pascal code) is tagged with class of div id's. We then use CSS to adjust our UI the way we want. For inspiration of this concept, have a look at: http://www.csszengarden.com/ All the pages

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Lee Jenkins
Graeme Geldenhuys wrote: Our CGI applications (three of them) are just one part of our complete product. We have a desktop GUI part as well. The CGI applications reuse a lot of code from the desktop. We implement the Model-GUI-Mediator design pattern, to split UI code from Business Domain code.

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
Lee Jenkins l...@datatrakpos.com wrote: Yes, I had plans to release it open source when its ready for testing, probably within 3-4 weeks from now. This is great! The idea of the framework is mainly based on Proxy pattern.  You build your gui within the server session, similar to how

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Marcos Douglas
Graeme Geldenhuys graemeg.li...@gmail.com wrote: All HTML code (inside our pascal code) is tagged with class of div id's. We  then use CSS to adjust our UI the way we want. For inspiration of this concept, have a look at:  http://www.csszengarden.com/ All the pages (themes) available is

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Graeme Geldenhuys
On 3 May 2010 17:10, Lee Jenkins l...@datatrakpos.com wrote: I am most interested to hear how tiOPF handles under a threaded environment when you move to FastCGI, Graeme. Well, Peter H. and others have used tiOPF in a threaded environment for years, so it does work. The only threaded part of

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread Graeme Geldenhuys
On 3 May 2010 20:38, Marcos Douglas m...@delfire.net wrote: BTW, is tiOPF life? Not 100% sure what you mean. Maybe is it alive? If so, yes tiOPF is still actively being used and developed. A new branch was started recently to work on tiOPF3 features which will include Unicode support (but FPC is

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Marcos Douglas
Hi Graeme, On Fri, Apr 30, 2010 at 6:22 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: I haven't used FastCGI yet, but there seems to be an implementation included with FPC.  fpc_src/packages/fastcgi/* I wanted know if many people here use that implementation of FastCGI. Free

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Graeme Geldenhuys
On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app, coded in Delphi 7, to Web. The options: PHP, Java, C# and Pascal. For me, FreePascal would be a good Some reasons: * Free Pascal is open source (always available and no vendor lock-in) * Free Pascal

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Rainer Stratmann
Am Sunday 02 May 2010 19:29:36 schrieb Graeme Geldenhuys: On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app, coded in Delphi 7, to Web. The options: PHP, Java, C# and Pascal. For me, FreePascal would be a good Some reasons: * Free Pascal is open

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app, coded in Delphi 7, to Web. The options: PHP, Java, C# and Pascal. For me, FreePascal would be a good Some reasons: * Free Pascal is open source (always available and no

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread duilio foschi
how do I build a minimal 'hello world' CGI application under Free Pascal ? Where do I find 'instructions for dummies' ? Peppe 2010/5/2 Lee Jenkins l...@datatrakpos.com: Graeme Geldenhuys wrote: On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app,

[fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-04-30 Thread Marcos Douglas
Hi all, On Fri, 27 Nov 2009, Michael Van Canneyt wrote: On Fri, 27 Nov 2009, Graeme Geldenhuys wrote: Hi, Most of the methods in TCgiApplication (located in cgiapp unit) is marked as deprecated. There is no documentation for this unit, so I do not know much about it. If all those

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-04-30 Thread Graeme Geldenhuys
On 30 April 2010 18:05, Marcos Douglas m...@delfire.net wrote: What about FastCGI, is there an implementation default in FPC? I haven't used FastCGI yet, but there seems to be an implementation included with FPC. fpc_src/packages/fastcgi/* I want codify a web app and I think use

[fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2009-11-27 Thread Graeme Geldenhuys
Hi, Most of the methods in TCgiApplication (located in cgiapp unit) is marked as deprecated. There is no documentation for this unit, so I do not know much about it. If all those methods are marked deprecated, what is replacing them? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2009-11-27 Thread Michael Van Canneyt
On Fri, 27 Nov 2009, Graeme Geldenhuys wrote: Hi, Most of the methods in TCgiApplication (located in cgiapp unit) is marked as deprecated. There is no documentation for this unit, so I do not know much about it. If all those methods are marked deprecated, what is replacing them? The whole