Re: [fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Graeme Geldenhuys
On 26 February 2012 20:28, Luciano de Souza wrote: > Actually, reading the tiOPF, I found the support for Firebird, Microsoft SQL > Server, Oracle, but not for PostgreSQL. tiOPF has a SqlDB (included with the Free Pascal Compiler) backend. As it stands (in the public repository), SqlDB support in

Re: [fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Graeme Geldenhuys
On 26 February 2012 18:19, Luciano de Souza wrote: > > What about CGI environments? Simply use tiOPF for that too. We do, and it works perfectly. We share all our business objects and business rules between CGI and GUI Desktop apps, plus all that code is unit tested in the same test suite too.

Re: [fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Sven Barth
On 26.02.2012 19:28, Luciano de Souza wrote: Actually, reading the tiOPF, I found the support for Firebird, Microsoft SQL Server, Oracle, but not for PostgreSQL. This is the first reason. I really don't know how proper tiOPF is when we focuses on CGI development. At a first look, the project seem

Re: [fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Jorge Aldo G. de F. Junior
You can use rtti and create a base class that knows how to save/load itself from sql database... 2012/2/26 Luciano de Souza : > Actually, reading the tiOPF, I found the support for Firebird, Microsoft SQL > Server, Oracle, but not for PostgreSQL. This is the first reason. I really > don't know how

Re: [fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Luciano de Souza
Actually, reading the tiOPF, I found the support for Firebird, Microsoft SQL Server, Oracle, but not for PostgreSQL. This is the first reason. I really don't know how proper tiOPF is when we focuses on CGI development. At a first look, the project seemed to be very complex to use, but of course

Re: [fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Michael Van Canneyt
On Sun, 26 Feb 2012, Luciano de Souza wrote: Hello all, For desktop environments, there are mature projects on data persistance. Press Objects, TiOPF... desktop developers can be proud of the tools they have. What about CGI environments? Is there something already developed? Yes, we can

[fpc-pascal] Data persistance in CGI projects

2012-02-26 Thread Luciano de Souza
Hello all, For desktop environments, there are mature projects on data persistance. Press Objects, TiOPF... desktop developers can be proud of the tools they have. What about CGI environments? Is there something already developed? Yes, we can use SQLDB. It's really a very good component. How