Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-01

Redis client for FPC

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

Does anyone know of a Redis client for FPC (and open source) ?

Another question:
If I need to implement it, how would you do it regarding dataset ? I'm not sure that it is suited for the task, what do you think ?

Thanks,
Ido

Reply by email

Unknown author
to ik
ik wrote 7 lines
Hello, Does anyone know of a Redis client for FPC (and open source) ? Another question: If I need to implement it, how would you do it regarding dataset ? I'm not sure that it is suited for the task, what do you think ?

No.
Dataset relies on a tabular format, so not key=value. The fact that each value in a column has the same type and/or length is also a must.

Michael.

Reply by email

ik
to Unknown author
Show quoted text 18 lines
On Wed, 11 Jan 2012, ik wrote: Hello, > > Does anyone know of a Redis client for FPC (and open source) ? > > Another question: > If I need to implement it, how would you do it regarding dataset ? > I'm not sure that it is suited for the task, what do you think ? > No. Dataset relies on a tabular format, so not key=value. The fact that each value in a column has the same type and/or length is also a must.

Here is a new request for the new year/version of FPC :)

Additional way beside dataset to control databases, even if they are not table/structure based.
I think that if it will be above dataset, so dataset will be inheriting from it, it will be easier to write
components that are data driven, but not limited to dataset.

Michael.

Ido

______________________________**_________________ fpc-pascal maillist - http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>

Reply by email

Daniel Gaspary
to ik
ik wrote
Here is a new request for the new year/version of FPC :) Additional way beside dataset to control databases, even if they are not table/structure based.

A Redis specialized TDatasource Descendant Could work. Is there any problem with this aproach?

Reply by email

ik
to Daniel Gaspary
Daniel Gaspary wrote 9 lines
On Wed, Jan 11, 2012 at 15:32, ik wrote: > Here is a new request for the new year/version of FPC :) > > Additional way beside dataset to control databases, even if they are not > table/structure based. A Redis specialized TDatasource Descendant Could work. Is there any problem with this aproach?

Redis is a bit more then key=value
It contains groups, sets and more. I for example try to use it for now (the reason for my original question)
as message queue, that can also be made with it.

_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Ido

Reply by email