Difference between revisions of "FlashFiler"

From Lazarus wiki
Jump to navigationJump to search
Line 40: Line 40:
 
11.03.2017:  
 
11.03.2017:  
 
Now the server components are working. I must test and change somethings and upload it to lazarus-ccr.
 
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 ==
 
== ToDo ==

Revision as of 00:41, 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/).
Detailed help and documentation files are located there.
More port infos are in devdocs\LazConvertReadMe.txt
Use this thread [1] in Lazarus forum for questions.

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.

License

Same as TurboPower FlashFiler (MPL 1.1.)


Author

Turbo Power
Lazarus Port Soner a.


Current Version

tpflashfiler_2_13-20161210 [4] (The new version with working server component is still not uploaded. This and the version from CCR is old alpha version).