yodarunamok / fxphp

FX.php -- The best way from FileMaker to the Web
http://fx.iviking.org/
44 stars 29 forks source link

WPE is too slow. ... and unstable. #3

Open Tyrfing opened 12 years ago

Tyrfing commented 12 years ago

WPE is too slow.

... and unstable.

msyk commented 12 years ago

Yes, it is. We can't resolve it so far.

ecsos commented 12 years ago

I still use FMServer Advanced 10. It is fast as long as you make separate users for using -findquery, which slow the user down

TyrfingMjolnir commented 10 years ago

But do any of you use FMFOpenQuery?

It looks like this piece is missing in FX.php 6.0, snippet from my copy of FX.php 4.5.3 } elseif( $this->isFOpenQuery ) { $f = fopen( $this->dataServer, 'rb' ); $data = ''; if( ! $f ) { return new FX_Error( "Failed to retrieve FOpen( '" . $this->dataServer . "', 'rb' ) File not found?" ); } else { while( ! feof( $f ) ) $data .= fread( $f, 4096 ); fclose( $f ); } I see the $this->isPostQuery part is missing too, will grep

Found in: datasource_classes/RetrieveFM7Data.class.php

Now only the sample code is missing, but I guess it's better to read the function and reconstruct.

Made an example usage and wrote an "essay" about it here: https://github.com/TyrfingMjolnir/fxphp/blob/patch-3/Tutorials/FMFOpenExampleQuery.php