Difference between revisions of "FlashFiler"

From Free Pascal wiki
Jump to navigationJump to search
Line 7: Line 7:
  
 
== Installation ==
 
== Installation ==
# Download from Lazarus-CCR [https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/flashfiler/] or as zip-file from one-drive [https://1drv.ms/u/s!AvJGv-C_3b-WgQT63o0GHCCdYksJ].
+
# Download it (goto current version section for download links).
 
# Open and compile the runtime package lazff2.lpk from folder packages.
 
# Open and compile the runtime package lazff2.lpk from folder packages.
 
# Open, compile and install the designtime package lazff2_dt.lpk from folder packages.
 
# Open, compile and install the designtime package lazff2_dt.lpk from folder packages.

Revision as of 01:52, 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 it (goto current version section for download links).
  2. Open and compile the runtime package lazff2.lpk from folder packages.
  3. Open, compile and install the designtime package lazff2_dt.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 [2]