https://wiki.freepascal.org/api.php?action=feedcontributions&user=Aliks-os&feedformat=atomLazarus wiki - User contributions [en]2024-03-29T09:54:04ZUser contributionsMediaWiki 1.35.6https://wiki.freepascal.org/index.php?title=RTTI_controls/ru&diff=26636RTTI controls/ru2008-02-08T09:24:21Z<p>Aliks-os: /* Introduction */</p>
<hr />
<div>== Введение ==<br />
<br />
Эта траница описывет пакет RunTimeTypeInfoControls в <lazarusdir>/components/rtticontrols/.<br />
<br />
Компоненты RTTI дополняют многие LCL компоненты, возможностью напрямую соединяться с публикуемыми свойствами класов.<br />
Они намного уменьшают код, который необходимо написать, автоматически загружая/сохраняя данные между LCL компонентами и публикумемыми свойствами. Фактически, мы можете создавать работающие формы без написания какого либо кода.<br />
<br />
В комбинации с [[Streaming components]] вы можете уменьшить количество кода, необходимого для соединения данных программы с GUI и Диском/Сетью до минимума.</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=RTTI_controls/ru&diff=26635RTTI controls/ru2008-02-08T09:23:54Z<p>Aliks-os: /* Представление */</p>
<hr />
<div>== Introduction ==<br />
<br />
Эта траница описывет пакет RunTimeTypeInfoControls в <lazarusdir>/components/rtticontrols/.<br />
<br />
Компоненты RTTI дополняют многие LCL компоненты, возможностью напрямую соединяться с публикуемыми свойствами класов.<br />
Они намного уменьшают код, который необходимо написать, автоматически загружая/сохраняя данные между LCL компонентами и публикумемыми свойствами. Фактически, мы можете создавать работающие формы без написания какого либо кода.<br />
<br />
В комбинации с [[Streaming components]] вы можете уменьшить количество кода, необходимого для соединения данных программы с GUI и Диском/Сетью до минимума.</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=RTTI_controls/ru&diff=26634RTTI controls/ru2008-02-08T09:23:15Z<p>Aliks-os: /* Introduction */</p>
<hr />
<div>== Представление ==<br />
<br />
Эта траница описаывет пакет RunTimeTypeInfoControls в <lazarusdir>/components/rtticontrols/.<br />
<br />
Компоненты RTTI дополняют многие LCL компоненты, возможностью напрямую соединяться с публикуемыми свойствами класов.<br />
Они намного уменьшают код, который необходимо написать, автоматически загружая/сохраняя данные между LCL компонентами и публикумемыми свойствами. Фактически, мы можете создавать работающие формы без написания какого либо кода.<br />
<br />
В комбинации с [[Streaming components]] вы можете уменьшить количество кода, необходимого для соединения данных программы с GUI и Диском/Сетью до минимума.</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=RTTI_controls/ru&diff=26633RTTI controls/ru2008-02-08T09:23:00Z<p>Aliks-os: /* Introduction */</p>
<hr />
<div>== Introduction ==<br />
<br />
Эта траница описаывет пакет RunTimeTypeInfoControls в <lazarusdir>/components/rtticontrols/.<br />
<br />
Компоненты RTTI дополняют многие LCL компоненты, возможностью напрямую соединяться с публикуемыми свойствами класов.<br />
Они намного уменьшают код, который необходимо написать, автоматически загружая/сохраняя данные между LCL компонентами и публикумемыми свойствами. Фактически, мы можете создавать работающие формы без написания какого либо кода.<br />
<br />
В комбинации с [[Streaming components]] вы можете уменьшить количество кода, необходимого для соединения данных программы с GUI и Диском/Сетью до минимума.</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=RTTI_controls/ru&diff=26631RTTI controls/ru2008-02-08T09:15:40Z<p>Aliks-os: New page: == Introduction == Эта page describes the package RunTimeTypeInfoControls in <lazarusdir>/components/rtticontrols/. RTTI controls extend many LCL controls by the ability to directly c...</p>
<hr />
<div>== Introduction ==<br />
<br />
Эта page describes the package RunTimeTypeInfoControls in <lazarusdir>/components/rtticontrols/.<br />
<br />
RTTI controls extend many LCL controls by the ability to directly connect to published properties of classes.<br />
They greatly reduce writing boring code, by automatically loading/saving data between LCL controls and published properties. In fact, you can create fully functional forms without writing any code at all.<br />
<br />
In combination with [[Streaming components]] you can reduce the amount of code needed for connecting the program Data with the GUI and the Disk/Network to a minimum.</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12615Lazarus DB Faq/ru2006-12-05T12:05:20Z<p>Aliks-os: /* PostgreSQL */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Где я могу найти компоненты для баз данных? ===<br />
<br />
В настоящее время компоненты SQLdb являются частью Lazarus, вам необходимо только установить его. Если вы посмотрите в каталог [$LazarusDir]/components, вы найдете каталог SQLdb. Установите sqldblaz.lpk и вы сможете подключаться к серверам MySQL, Interbase / Firebird и Postgres.<br />
Смотри [[Install Packages|сюда]] для помощи по установке пакетов.<br />
<br />
=== А есть другие компоненты? ===<br />
<br />
Да. [http://zeoslib.sourceforge.net/index.php ZEOS компоненты] также портированы в Lazarus.<br />
<br>Вы можете загрузить ZEOSDBO_Rework с [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>Смотри также обучение по [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] работает одинаково для Delphi и FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== Как я могу подключиться из Linux к Windows серверу ===<br />
Ввод правильного пути к базе данных на Windows серверу из Linux клиента не совсем ясен. <br />
<br />
Предположим, у вас установлен firebird в F:\Program Files\firebird\. База данных employee.fdb установлена в каталоге F:\Program Files\firebird\examples\ . IP-адрес компьютера 192.168.2.100.<br />
<br />
Вам нужно ввести следующее имя базы данных в databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
в ваше IBConnection, которое соединит с необходимой базой данных.<br />
<br />
Примечание: вам нет надобности указывать значение в свойстве hostname!<br />
<br />
== MySQL ==<br />
<br />
=== Какая версия mySQL поддерживается? ===<br />
<br />
В настоящее время поддерживается компонентами SQLdb версии MySQL 4.0, MySQL 4.1 и MySQL 5.0. Удостоверьтесь, что вы используете верный компонент соединения для клиентских библиотек. Например, если у вас клиентские библиотеки установлены для MySQL 4.1, вы должны использовать компонент TMySQL41Connection, даже если сервер версии 4.0 или 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
Является альтернативой. Функции представленные MySQL 4.1 и 5.0, такие подготовленное состояние, связывание, и хранимые процедуры поддерживаются API базой данных, вызывают Pascal Data Objects, которые входят в PHP Data Objects. Весь код и документация необходимая для использования нового API доступна на Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (логин/пароль - guest/guest)<br />
<br />
== PostgreSQL ==<br />
<br />
Вы можете подключиться к PostgreSQL db при помощи компонента TPQConnection. Этот компонент использует PostgreSQL библиотеку соединения libpq [http://www.postgresql.org/docs/8.0/interactive/libpq.html], так что вы можете легко подключиться к PostgreSQL db, однако, компонент не поддерживает следующие параметры подключения:<br />
* Port<br />
* ClientEncoding<br />
Может также есть другие недокументированные параметры подключения.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12614Lazarus DB Faq/ru2006-12-05T12:02:17Z<p>Aliks-os: /* Which version of mySQL is supported? */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Где я могу найти компоненты для баз данных? ===<br />
<br />
В настоящее время компоненты SQLdb являются частью Lazarus, вам необходимо только установить его. Если вы посмотрите в каталог [$LazarusDir]/components, вы найдете каталог SQLdb. Установите sqldblaz.lpk и вы сможете подключаться к серверам MySQL, Interbase / Firebird и Postgres.<br />
Смотри [[Install Packages|сюда]] для помощи по установке пакетов.<br />
<br />
=== А есть другие компоненты? ===<br />
<br />
Да. [http://zeoslib.sourceforge.net/index.php ZEOS компоненты] также портированы в Lazarus.<br />
<br>Вы можете загрузить ZEOSDBO_Rework с [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>Смотри также обучение по [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] работает одинаково для Delphi и FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== Как я могу подключиться из Linux к Windows серверу ===<br />
Ввод правильного пути к базе данных на Windows серверу из Linux клиента не совсем ясен. <br />
<br />
Предположим, у вас установлен firebird в F:\Program Files\firebird\. База данных employee.fdb установлена в каталоге F:\Program Files\firebird\examples\ . IP-адрес компьютера 192.168.2.100.<br />
<br />
Вам нужно ввести следующее имя базы данных в databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
в ваше IBConnection, которое соединит с необходимой базой данных.<br />
<br />
Примечание: вам нет надобности указывать значение в свойстве hostname!<br />
<br />
== MySQL ==<br />
<br />
=== Какая версия mySQL поддерживается? ===<br />
<br />
В настоящее время поддерживается компонентами SQLdb версии MySQL 4.0, MySQL 4.1 и MySQL 5.0. Удостоверьтесь, что вы используете верный компонент соединения для клиентских библиотек. Например, если у вас клиентские библиотеки установлены для MySQL 4.1, вы должны использовать компонент TMySQL41Connection, даже если сервер версии 4.0 или 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
Является альтернативой. Функции представленные MySQL 4.1 и 5.0, такие подготовленное состояние, связывание, и хранимые процедуры поддерживаются API базой данных, вызывают Pascal Data Objects, которые входят в PHP Data Objects. Весь код и документация необходимая для использования нового API доступна на Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (логин/пароль - guest/guest)<br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12613Lazarus DB Faq/ru2006-12-05T11:52:58Z<p>Aliks-os: /* How do I connect from Linux to a Windows server */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Где я могу найти компоненты для баз данных? ===<br />
<br />
В настоящее время компоненты SQLdb являются частью Lazarus, вам необходимо только установить его. Если вы посмотрите в каталог [$LazarusDir]/components, вы найдете каталог SQLdb. Установите sqldblaz.lpk и вы сможете подключаться к серверам MySQL, Interbase / Firebird и Postgres.<br />
Смотри [[Install Packages|сюда]] для помощи по установке пакетов.<br />
<br />
=== А есть другие компоненты? ===<br />
<br />
Да. [http://zeoslib.sourceforge.net/index.php ZEOS компоненты] также портированы в Lazarus.<br />
<br>Вы можете загрузить ZEOSDBO_Rework с [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>Смотри также обучение по [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] работает одинаково для Delphi и FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== Как я могу подключиться из Linux к Windows серверу ===<br />
Ввод правильного пути к базе данных на Windows серверу из Linux клиента не совсем ясен. <br />
<br />
Предположим, у вас установлен firebird в F:\Program Files\firebird\. База данных employee.fdb установлена в каталоге F:\Program Files\firebird\examples\ . IP-адрес компьютера 192.168.2.100.<br />
<br />
Вам нужно ввести следующее имя базы данных в databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
в ваше IBConnection, которое соединит с необходимой базой данных.<br />
<br />
Примечание: вам нет надобности указывать значение в свойстве hostname!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12612Lazarus DB Faq/ru2006-12-05T11:44:56Z<p>Aliks-os: /* А есть другие компоненты? */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Где я могу найти компоненты для баз данных? ===<br />
<br />
В настоящее время компоненты SQLdb являются частью Lazarus, вам необходимо только установить его. Если вы посмотрите в каталог [$LazarusDir]/components, вы найдете каталог SQLdb. Установите sqldblaz.lpk и вы сможете подключаться к серверам MySQL, Interbase / Firebird и Postgres.<br />
Смотри [[Install Packages|сюда]] для помощи по установке пакетов.<br />
<br />
=== А есть другие компоненты? ===<br />
<br />
Да. [http://zeoslib.sourceforge.net/index.php ZEOS компоненты] также портированы в Lazarus.<br />
<br>Вы можете загрузить ZEOSDBO_Rework с [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>Смотри также обучение по [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] работает одинаково для Delphi и FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== How do I connect from Linux to a Windows server ===<br />
Entering the correct path to a database on a Windows server from a Linux client is not very clear. <br />
<br />
Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.<br />
<br />
Then entering the following databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
in your IBConnection will connect to the required database.<br />
<br />
Note that you don't have to enter a value for the hostname property!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12611Lazarus DB Faq/ru2006-12-05T11:40:07Z<p>Aliks-os: /* Are there other components? */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Где я могу найти компоненты для баз данных? ===<br />
<br />
В настоящее время компоненты SQLdb являются частью Lazarus, вам необходимо только установить его. Если вы посмотрите в каталог [$LazarusDir]/components, вы найдете каталог SQLdb. Установите sqldblaz.lpk и вы сможете подключаться к серверам MySQL, Interbase / Firebird и Postgres.<br />
Смотри [[Install Packages|сюда]] для помощи по установке пакетов.<br />
<br />
=== А есть другие компоненты? ===<br />
<br />
Да. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well.<br />
<br>You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>See also this tutorial for [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] works equally with Delphi and FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== How do I connect from Linux to a Windows server ===<br />
Entering the correct path to a database on a Windows server from a Linux client is not very clear. <br />
<br />
Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.<br />
<br />
Then entering the following databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
in your IBConnection will connect to the required database.<br />
<br />
Note that you don't have to enter a value for the hostname property!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12610Lazarus DB Faq/ru2006-12-05T11:39:05Z<p>Aliks-os: /* Where can I find database components? */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Где я могу найти компоненты для баз данных? ===<br />
<br />
В настоящее время компоненты SQLdb являются частью Lazarus, вам необходимо только установить его. Если вы посмотрите в каталог [$LazarusDir]/components, вы найдете каталог SQLdb. Установите sqldblaz.lpk и вы сможете подключаться к серверам MySQL, Interbase / Firebird и Postgres.<br />
Смотри [[Install Packages|сюда]] для помощи по установке пакетов.<br />
<br />
=== Are there other components? ===<br />
<br />
Yes. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well.<br />
<br>You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>See also this tutorial for [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] works equally with Delphi and FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== How do I connect from Linux to a Windows server ===<br />
Entering the correct path to a database on a Windows server from a Linux client is not very clear. <br />
<br />
Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.<br />
<br />
Then entering the following databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
in your IBConnection will connect to the required database.<br />
<br />
Note that you don't have to enter a value for the hostname property!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12609Lazarus DB Faq/ru2006-12-05T11:34:48Z<p>Aliks-os: /* Где я могу найти больше FAQ? */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
Смотри на официальном сайте www.lazarus.freepascal.org. Там есть еще один FAQ. [[Lazarus Faq|Здесь]] вы найдете страницу, которая показана как копия FAQ с www.lazarus.freepascal.org.<br />
<br />
=== Where can I find database components? ===<br />
<br />
At the moment the SQLdb components are part of the Lazarus package, you only need to install them. If you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird and Postgres servers.<br />
Look [[Install Packages|here]] for help on installing packages.<br />
<br />
=== Are there other components? ===<br />
<br />
Yes. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well.<br />
<br>You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>See also this tutorial for [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] works equally with Delphi and FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== How do I connect from Linux to a Windows server ===<br />
Entering the correct path to a database on a Windows server from a Linux client is not very clear. <br />
<br />
Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.<br />
<br />
Then entering the following databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
in your IBConnection will connect to the required database.<br />
<br />
Note that you don't have to enter a value for the hostname property!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12608Lazarus DB Faq/ru2006-12-05T11:28:06Z<p>Aliks-os: /* Общее */</p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
Этот FAQ перенаправит вас на программирование баз данных с Lazarus.<br />
<br />
=== Где я могу найти больше FAQ? ===<br />
<br />
See the official website www.lazarus.freepascal.org. There is another FAQ as well. [[Lazarus Faq|Here]] you will find a page that once started as a copy of the FAQ from www.lazarus.freepascal.org .<br />
<br />
=== Where can I find database components? ===<br />
<br />
At the moment the SQLdb components are part of the Lazarus package, you only need to install them. If you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird and Postgres servers.<br />
Look [[Install Packages|here]] for help on installing packages.<br />
<br />
=== Are there other components? ===<br />
<br />
Yes. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well.<br />
<br>You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>See also this tutorial for [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] works equally with Delphi and FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== How do I connect from Linux to a Windows server ===<br />
Entering the correct path to a database on a Windows server from a Linux client is not very clear. <br />
<br />
Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.<br />
<br />
Then entering the following databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
in your IBConnection will connect to the required database.<br />
<br />
Note that you don't have to enter a value for the hostname property!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Template:Lazarus_DB_Faq&diff=12606Template:Lazarus DB Faq2006-12-05T11:26:27Z<p>Aliks-os: </p>
<hr />
<div><small><br />
[[Lazarus DB Faq/de|'''Deutsch (de)''']]<br />
[[Lazarus DB Faq | English (en)]]<br />
[[Lazarus DB Faq/ja|'''Japanese (ja)''']]<br />
[[Lazarus DB Faq/ptbr|'''Brasilian Portuguese (ptbr)''']]<br />
[[Lazarus DB Faq/sk|'''Slovensky (sk)''']]<br />
[[Lazarus DB Faq/ru|'''Русский (ru)''']]<br />
</small></div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Lazarus_DB_Faq/ru&diff=12605Lazarus DB Faq/ru2006-12-05T11:24:10Z<p>Aliks-os: </p>
<hr />
<div>{{Lazarus DB Faq}}<br />
<br />
== Общее ==<br />
<br />
This FAQ will be directed to database programming with Lazarus.<br />
<br />
=== Where can I find more FAQ? ===<br />
<br />
See the official website www.lazarus.freepascal.org. There is another FAQ as well. [[Lazarus Faq|Here]] you will find a page that once started as a copy of the FAQ from www.lazarus.freepascal.org .<br />
<br />
=== Where can I find database components? ===<br />
<br />
At the moment the SQLdb components are part of the Lazarus package, you only need to install them. If you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird and Postgres servers.<br />
Look [[Install Packages|here]] for help on installing packages.<br />
<br />
=== Are there other components? ===<br />
<br />
Yes. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well.<br />
<br>You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].<br />
<br>See also this tutorial for [[Zeos_tutorial|Zeos]].<br />
<br>[https://trac.synsport.com:8000/index.php/pdo/wiki Pascal Data Objects] works equally with Delphi and FPC 2.0<br />
<br />
== IB / FB ==<br />
<br />
=== How do I connect from Linux to a Windows server ===<br />
Entering the correct path to a database on a Windows server from a Linux client is not very clear. <br />
<br />
Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.<br />
<br />
Then entering the following databasename <br />
192.168.2.100:F:\Program Files\firebird\examples\employee.fdb<br />
in your IBConnection will connect to the required database.<br />
<br />
Note that you don't have to enter a value for the hostname property!<br />
<br />
== MySQL ==<br />
<br />
=== Which version of mySQL is supported? ===<br />
<br />
Currently MySQL 4.0, MySQL 4.1 and MySQL 5.0 are supported by de SQLdb components. Make sure you are using the correct connection component for your client library version. So if you have the client libraries installed for MySQL 4.1 then you have to use TMySQL41Connection component, even if the server is running version 4.0 or 5.0.<br />
<br />
==== Pascal Data Objects ====<br />
There is now an alternative. The functions introduced with MySQL 4.1 and 5.0 like prepared statements, binding, and stored procedures are supported by database API called Pascal Data Objects, which is inspired by PHP Data Objects. All the code and documentation necessary to use this new API is available on a Trac wiki:<br />
<br />
https://trac.synsport.com:8000/index.php/pdo/wiki (username/password is guest/guest) <br />
<br />
== PostgreSQL ==<br />
<br />
You can connect to PostgreSQL db by TPQConnection component. This component uses the PostgreSQL's libpq connection library[http://www.postgresql.org/docs/8.0/interactive/libpq.html], so you can easily connect almost every PostgreSQL db, but the component doesn't support the following connection options:<br />
* Port<br />
* ClientEncoding<br />
Maybe there are other unsupported connection parameters.<br />
<br />
--[[User:Jrmarino|Jrmarino]] 11:28, 13 Mar 2006 (CET)</div>Aliks-oshttps://wiki.freepascal.org/index.php?title=Main_Page/ru&diff=12604Main Page/ru2006-12-05T11:15:23Z<p>Aliks-os: </p>
<hr />
<div>__NOTOC__<br />
{{Main Page}}<br />
=Добро пожаловать в базу знаний по Lazarus-CCR=<br />
==О проекте==<br />
<br />
Задача [http://lazarus-ccr.sf.net Lazarus-CCR] собрать всю доступную информацию по Lazarus и Free Pascal Compiler. Компилятор хорошо документирован, Lazarus не так хорошо... поэтому эта область называется "открытый документ", или "wiki" где каждый может добавлять и исправлять содержимое. Wiki позволяет вам производить изменения и добавления при помощи броузера! Для получения уроков, посмотрите здесь [http://www.chat11.com/30_Second_Quick_Wiki_Tutorial 30 секундный урок обучения по Wiki] или здесь [http://en.wikipedia.org/wiki/Wikipedia:Tutorial Урок по Wikipedia]. Для практики использования Wiki создана [[Песочница]].<br />
<br />
Если у вас возникли проблемы, то обратитесь к [http://sourceforge.net/users/vlx/ администратору] или отправьте отчёт об ошибке на сайт [http://sourceforge.net/projects/lazarus-ccr Lazarus-CCR]. Вы также можете оставить сообщение на нашей странице обратной связи [[Site Feedback]].<br />
<br />
==Проект документирования Lazarus==<br />
;[[Lazarus Documentation]]<br />
:Вся доступная документация и [[Lazarus_Documentation#Lazarus_and_Pascal_Tutorials|уроки]] для Lazarus IDE (включая руководство по Free Pascal Compiler) может быть найдена на странице [[Lazarus Documentation]]. Большинство страниц ещё "в процессе работы", так что, пожалуйста, не стесняйтесь добавлять ваш опыт к ним. Вы также можете создать персональную страницу с контактной информацией, если хотите.<br />
<br />
==Загрузка==<br />
Все доступные на данный момент компоненты находятся здесь [http://sourceforge.net/project/showfiles.php?group_id=92177 Lazarus-CCR Sourceforge files area]. Компилятор Free Pascal Compiler и текущая тестовая версия Lazarus может быть найдена здесь [http://sourceforge.net/project/showfiles.php?group_id=89339 The Lazarus Sourceforge site]. Дополнительная документация по этим компонентам может быть также найдена здесь [[Components and Code examples]] если человек, создавший компонент, создал также и страничку в Вики. Компилятор и множество добавленного кода лежит здесь [http://www.freepascal.org/sdown.html Free Pascal Compiler download mirrors] и здесь[http://lazarus.freepascal.org Lazarus IDE website].<br />
Ежедневные сборки Lazarus лежат здесь [[Lazarus Snapshots Downloads | here]].<br />
<br />
==Рассылка==<br />
Новые и продвинутые пользователи приглашаются в группу Lazarus-ccr [http://lists.sourceforge.net/lists/listinfo/lazarus-ccr-announce анонс] или [http://lists.sourceforge.net/lists/listinfo/lazarus-ccr-general главный] подписной лист.<br />
<br />
Возможно более полезной будет рассылка посвящённая IDE [http://www.lazarus.freepascal.org/modules.php?op=modload&name=StaticPage&file=index&sURL=maill Lazarus] или рассылка анонсов разработчиков [http://www.freepascal.org/maillist.html FreePascal].<br />
<br />
==Кто и над чем работает?==<br />
Если вы заняты портированием компонента или библиотеки, пожалуйста отправляйте их сюда [[Current conversion projects]]. Такие посты помогут другим разработчикам, которые хотят портировать нужные компоненты... и это предотвратит ситуацию когда два человека портируют один и тот же компонент.<br />
<br />
==Рекомендации, Ссылки и Ресурсы==<br />
<br />
===Lazarus IDE===<br />
Новости и информация о продвижении проекта может быть найдена<br />
[http://lazarus.freepascal.org Lazarus IDE здесь]. Сборки Lazarus IDE и компилятора FreePascal могут быть загружены отсюда. [http://sourceforge.net/project/showfiles.php?group_id=89339 Файлы Lazarus] <br />
а так же последние пакеты компилятора и IDE доступны для загрузки.<br />
<br />
====Активные проекты на Lazarus====<br />
Наши текущие [[Projects using Lazarus]] с общедоступными вебсайтами и ссылками для скачивания.<br />
<br />
====Хорошие сайты и ссылки====<br />
Наша коллекция ссылок на сайты посвящённые Delphi/Kylix может быть найдена здесь [[Page Of Code Sites]]. Пожалуйста, добавляйте сюда ссылки на хорошие сайты которые раньше не были отмечены в этом списке.<br />
<br />
====Специализированные поисковые движки====<br />
Есть несколько классных баз знаний и поисковых движков в сети которые могут оказать большую помощь в изучении новых приёмов программирования и решении проблем.<br />
Tamarack Associates обеспечивает быстрый [http://www.tamaracka.com/search.htm поисковый] движок специально для поиска по тематике Borland. Mer Systems Inc. предоставляет похожий [http://www.mers.com/searchsite.html движок].<br />
Другой классный источник информации наряду с [http://www.efg2.com/Lab/search.htm поиском] в Веб это электронная книга Earl F. Glynn's Computer Lab and Reference [http://www.efg2.com/ Library].<br />
<br />
====Marketing Case Studies====<br />
An [[Marketing_Case_Studies|opportunity for Lazarus users]] to explain why Lazarus is the IDE of choice.<br />
<br />
=Переводы=<br />
По алфавиту:<br />
* [[Main Page/es | Español (Spanish)]]<br />
* [[Main Page/de | German (Deutsch)]]<br />
* [[Main Page/it | Italiano (Italian)]]<br />
* [[Main Page/nl | Nederlands (Dutch)]]<br />
* [[Main Page/pt | Português (Portuguese)]]<br />
* [[Main Page/ru | Русский (Russian)]]<br />
* [[Main Page/sk | Slovak]]<br />
* [[Main Page/fi | suomi (Finnish)]]<br />
<br />
=Старая Вики=<br />
Эти страницы были сконвертированны из старого формата Wiki. Старая загланая страница wiki находится [http://lazarus-ccr.sourceforge.net/index.php?wiki=FrontPage здесь.]<br />
<br />
Настоящее вступление создано [[User:VlxAdmin]].</div>Aliks-os