[Lazarus] How do use sockets?

Marcos Douglas md at delfire.net
Sun Nov 27 13:02:11 CET 2011


On Sun, Nov 27, 2011 at 9:51 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> [snip]
> PS:
> I have just completed full cross-platform n-tier support in tiOPF -
> thanks to Indy. :-) Finally, n-tier support with FPC. No need for
> something like CORBA, Midas or TCientDataset. tiOPF's n-tier support
> uses HTTP + XML. The XML nodes are compacted (short node names instead
> of long names - configurable by developer), then base64 encoded, then
> zlib'ed (configurable by developer) before transmission. Now that I
> have it working, I'll see if I can implement JSON support too -
> reducing the data packets even further, because XML is very verbose.
> And what is really cool, is that I can switch between local (offline)
> storage, client/server or n-tier by simply changing a compiler define
> - no code changes required at all in my projects! Awesome.

Good job!
This support for n-tier is part of tiOPF or could be use alone?

Marcos Douglas




More information about the Lazarus mailing list