Difference between revisions of "FlashFiler"

From Free Pascal wiki
Jump to navigationJump to search
Line 63: Line 63:
 
== Current Version ==
 
== Current Version ==
 
tpflashfiler_2_13-20170620 [https://1drv.ms/u/s!AvJGv-C_3b-WgQfrqSk1yMC9ihtf]
 
tpflashfiler_2_13-20170620 [https://1drv.ms/u/s!AvJGv-C_3b-WgQfrqSk1yMC9ihtf]
 
== Old versions ==
 
tpflashfiler_2_13-20161210 [https://1drv.ms/u/s!AvJGv-C_3b-WgQT63o0GHCCdYksJ]
 
(The new version with working server component is still not uploaded. This and the version from CCR is old alpha version).
 

Revision as of 00:47, 21 June 2017

About

This is Lazarus por of TurboPower FlashFiler Database.
I used the version tpflashfiler_2_13 from SourceForge (https://sourceforge.net/projects/tpflashfiler/).
More port infos are in devdocs\LazConvertReadMe.txt
Use this thread [1] in Lazarus forum for questions. Read the #readme.txt-files from zip-file for more informations.

Installation

  1. Download from Lazarus-CCR [2] or as zip-file from one-drive [3].
  2. Use package file lazff2.lpk from folder packages.


Usage

1. Start bin\i386-win32\ffserver.exe
2. Make 2 db-aliases in ffserver [ffserver-Menu > Config > Aliases ...]

Alias:		Path:
mythicdb 	root folder\flashfiler\data\mythicdb
Tutorial	root folder\flashfiler\data\demodb

I created them you must change the root folder.
3. Open FlashFiler Server General Configuration Dialog
[ffserver-Menu > Config > General ...]
4. In configuration dialog Enter for Server name:

local
then Click Ok.

5. Now the server "local" appears in Servers listview. Click on it and start it.
6. Now open any example from examples-folder and compile, run and enjoy it.

Screenshots

Components:
ffComps.png

Example programs:
ffserverclients.png

State of the Lazarus port

10.12.2016: Client components are Working. Server-Engine component (TffServerEngine) has error so you need server binaries compiled with delphi. Tested with Windows 7, Lazarus 1.6.3, fpc 3.0.

11.03.2017: Now the server components are working. I must test and change somethings and upload it to lazarus-ccr.

20.06.2017: Server and clients components are working. Now, you can create client and server applications. (Tested with Windows 7, Xp, Lazarus 1.6.4, fpc 3.0.2 All 32Bit)

ToDo

[11.03.2017 Done] 1. Solve server-engine component (TffServerEngine) error. The error is located in fflldict.pas-file in _procedure_TffDataDictionary.ReadFromStream(S : TStream); It is stream reading error with caused by functions ReadString and ReadInteger. I could not solve it, maybe someone with better skills can do it.

20.06.2017: port some ide experts and test it more.

License

Same as TurboPower FlashFiler (MPL 1.1.)


Author

Turbo Power
Lazarus Port Soner a.


Current Version

tpflashfiler_2_13-20170620 [4]