Recent

Author Topic: Lazarus Components x Zeos  (Read 5589 times)

cidadejr

  • Newbie
  • Posts: 3
Lazarus Components x Zeos
« on: March 20, 2018, 03:23:38 am »
Hi! I'm an old developer and Delphi/Zeos libs user. But, I'm planning to start developing using Lazarus but I'm not sure Lazarus DB components (Postgres and Firebird) would work like  (easy use) Zeos components.

Can anyone help me?

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: Lazarus Components x Zeos
« Reply #1 on: March 20, 2018, 03:41:25 am »
Lazarus supports Zeos, read more here:
http://wiki.freepascal.org/Zeos_tutorial

Someone please add Zeos in to this wiki page:
http://wiki.freepascal.org/Databases
« Last Edit: March 20, 2018, 03:59:26 am by Handoko »

GAN

  • Sr. Member
  • ****
  • Posts: 370
Re: Lazarus Components x Zeos
« Reply #2 on: March 20, 2018, 04:55:14 am »
Sure, download https://sourceforge.net/projects/zeoslib/files/Zeos%20Database%20Objects/ and install this package ZComponents.Lpk
And this https://drive.google.com/open?id=0B8ezhnpufAnQUEEyR2xINmNmaEE is the most complete documentation that I found "Zeos Documentation Collection"
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: Lazarus Components x Zeos
« Reply #3 on: March 20, 2018, 06:20:48 am »
In a mixed enviroment (Lazarus/Delphi) your best choice is ZEOS. If you only support Lazarus the sqlDB are so good and stable as ZEOS. The different between SqlDB and ZEOS is not so great on the first sight, BUT important. IMHO, you cannot easy change from ZEOS to SqlDB or other direction with only redefining the Components.  The small details makes a great diffence.

Reporting COmponents in Lazarus are more centered to SqlDB not on ZEOS. If you work with report check this.

The community of ZEOS is still active and it is supported. I have seen this last year :-) Thank to the guys of ZEOS :-) The documentation found by GAN are the completest. The ZEOS Forum is still active.

But a lot of dead links are found in the internet, becaus a great knowledgebase was gone some years ago :-(

Andreas
regards
Andreas

cidadejr

  • Newbie
  • Posts: 3
Re: Lazarus Components x Zeos
« Reply #4 on: March 21, 2018, 03:09:46 am »
In a mixed enviroment (Lazarus/Delphi) your best choice is ZEOS. If you only support Lazarus the sqlDB are so good and stable as ZEOS. The different between SqlDB and ZEOS is not so great on the first sight, BUT important. IMHO, you cannot easy change from ZEOS to SqlDB or other direction with only redefining the Components.  The small details makes a great diffence.

Reporting COmponents in Lazarus are more centered to SqlDB not on ZEOS. If you work with report check this.

The community of ZEOS is still active and it is supported. I have seen this last year :-) Thank to the guys of ZEOS :-) The documentation found by GAN are the completest. The ZEOS Forum is still active.

But a lot of dead links are found in the internet, becaus a great knowledgebase was gone some years ago :-(

Andreas

Thank you Andreas and you all. I’m very used to Zeos Lib on Delphi XE7. But besides Delphi anual renewal charge became quite expensive and I’m a OSx user and Linux lover, I’m thinking about starting a new project, that works in OSx, Linux and Windows. But some code and design I’ll try to import from my Delpho project (Zeos based).

And yes Andreas, of course I’ll need lots of reports for my application. Should I change to SqlDB? Or keep Zeos?

Thanks again!

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: Lazarus Components x Zeos
« Reply #5 on: March 21, 2018, 06:07:54 am »
Quote
And yes Andreas, of course I’ll need lots of reports for my application. Should I change to SqlDB? Or keep Zeos?

It depends :-)
You can only write some tests and check - Test, test, test, ... and look for the caveats  8) It depends on the reportengine you use. I have no exp. in OSX.

Andreas
regards
Andreas

cidadejr

  • Newbie
  • Posts: 3
Re: Lazarus Components x Zeos
« Reply #6 on: March 21, 2018, 09:53:57 pm »
Well, does Lazarus comes with any report engine?

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Lazarus Components x Zeos
« Reply #7 on: March 21, 2018, 10:27:37 pm »
Yes, but it is not installed by default.
In Package->Install/Uninstall Packages...
search for lazreport in the right hand "Available for installation" treeview listing.
Once you have installed that package in the IDE you will be able to use TFrReport.

If you have the OPM (Online Package Manager) installed you also have access to another report engine, Fortes4Lazarus, which the OPM will install for you.

Quite recently a completely new reporting tool has been developed, FPReport. See http://wiki.freepascal.org/FPReport
for more details.

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: Lazarus Components x Zeos
« Reply #8 on: March 22, 2018, 06:27:19 am »
Quite recently a completely new reporting tool has been developed, FPReport. See http://wiki.freepascal.org/FPReport
for more details.
Actual fpc trunk and Lazarus trunk only, no stable version ! And it is SqlDB only (yet), no interfaces to ZEOS. fpreport is fast growing and more and more bugs are gone. The goals are - native FPC/Lazarus (no port), splitted in reportengine, rendering engine and editor. The LCL renderer is nice in Lazararus to bring the Report direct visible   without a previev. You can reports create easy by code too, see in the example dir of (trunk) Lazarus.

The other report, LazReport is availabnle in the stable Lazarus. Running for years. It was a fork of an early version of FreeReport (a Dephi component). It is working for years, with pros and cons.

I have no knowledge with Fortes4Lazarus.

Andreas   
regards
Andreas

miab3

  • Full Member
  • ***
  • Posts: 145
« Last Edit: March 25, 2018, 03:25:33 pm by miab3 »

 

TinyPortal © 2005-2018