Recent

Author Topic: About Lazarus reference documentation up to date...  (Read 2916 times)

gelinp

  • Full Member
  • ***
  • Posts: 114
About Lazarus reference documentation up to date...
« on: October 10, 2015, 09:12:17 am »
    Hi,

    I'm looking to buy :

Lazarus - The Complete Guide by M. van Canneyt, M. Gärtner, S. Heinig, F. Monteiro de Cavalho, I. Ouedraogo: Blaise Pascal Magazine 2011, Paperback, ISBN 978-94-90968-02-1 - The official Lazarus Book in English.

But it's out of print into Amazon (french site). Do you know  how to buy it again (in France) ?[/li]

[/list]

Thank you !
Thanks
« Last Edit: October 10, 2015, 09:18:12 am by gelinp »
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

Zoran

  • Hero Member
  • *****
  • Posts: 1831
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: About Lazarus reference documentation up to date...
« Reply #1 on: October 10, 2015, 10:19:16 am »
I was looking for something like Using ADO from Delphi but for Lazarus...

If you are coming from Delphi, where you used ADO or BDE, you have to make decision -- move to SQLdb or Zeos. Zeos components are more similar to BDE and ADO, so the migration to Zeos is easier.

SQLdb has some differences:
- The SQLQuery component behaves as it is always in "CashedUpdates" mode - so you have to call ApplyUpdates to actually send the changes to db.
- The SQLConnection needs SQLTransaction component, together they are equivalent to ADOConnection, and the transaction behaves as it is always has "AutoCommit" set to false - so you have to commit every transaction without explicitly starting it.

SQLdb comes with your Lazarus instalation, and Zeos components you have to install yourself.
SQLDb is well documented in our wiki pages:
  http://wiki.freepascal.org/Lazarus_Database_Overview
  http://wiki.freepascal.org/SqlDBHowto
  http://wiki.freepascal.org/Working_With_TSQLQuery
SQLDb tutorial articles: http://wiki.freepascal.org/SQLdb_Tutorial0, http://wiki.freepascal.org/SQLdb_Tutorial1, http://wiki.freepascal.org/SQLdb_Tutorial2, http://wiki.freepascal.org/SQLdb_Tutorial3, http://wiki.freepascal.org/SQLdb_Tutorial4

Zeos: some basic Zeos tutorial is here: http://www.intitec.com/varios/A_ZEOS_basics_tutorial_not_only_for_firebird.pdf. It is a good introduction tutorial, but far from full.
However, I think that most of your "Using ADO from Delphi" can be used directly for Zeos.
Zeos can be downloaded here: http://sourceforge.net/projects/zeoslib/files/?source=navbar
Their forum is here: http://zeoslib.sourceforge.net/
« Last Edit: October 10, 2015, 10:24:01 am by Zoran »

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106

 

TinyPortal © 2005-2018