fxphp
fxphp copied to clipboard
WPE is too slow. ... and unstable.
WPE is too slow.
... and unstable.
Yes, it is. We can't resolve it so far.
I still use FMServer Advanced 10. It is fast as long as you make separate users for using -findquery, which slow the user down
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