[FX.php List] New FX features: My $0.02US
Bill.Krauss at thomson.net
Tue May 31 16:24:08 MDT 2005
Here's a request for something that might also streamline things a bit,
but on the other side of the array.
Most of the time I don't need the full set of information contained
returned by FMFind(). All I really need is the record values. For
example, many (if not most) of my scripts contain some variation of the
// do the query
$result_set = $query->FMFind();
// pull the data
$data_set = $result_set['data'];
So, a query that just returned the data would cut down on processing and
memory usage. I wouldn't propose changing the structure of the FMFind()
function -- but perhaps you could add a new one called FMFindData() that
doesn't return all the "extra" metadata? This could be considered be the
flipside of the $returnDataSet parameter.
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Chris Hansen
Sent: Tuesday, May 31, 2005 2:37 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Feature Request
The new functionality won't work exactly as Gjermund suggested. As I
said, this was already in the works, so I had my own ideas on how to
implement it. The way that I think that this would most often be
implemented would be as an _optional_ fourth parameter when creating an
FX object, like this:
$myQuery = new FX('192.168.1.9', 80, 'FMPro7', false);
That last 'false' says, in essence, "we won't be using that last layer
of the array." How does that sound to everyone? I should note that
'true' (unquoted) is the default value, both for legacy purposes, and
because of how FileMaker works. Of course if people really want to,
they can change this by tweaking FX.php.
creator of FX.php
"The best way from FileMaker to the Web."
On May 31, 2005, at 7:50 AM, Michael Layne wrote:
> Not exactly sure how it will work based on example below, but that
> would be GREAT. On occasion, I have a solution with both MySQL and
> FM7SA, and when doing any PHP OTHER than FM, you of course don't use
> the "". would be one less thing to keep up with.
> Thanks! Hopefully it will be clear how to add the
> On May 31, 2005, at 2:58 AM, Chris Hansen wrote:
>> Yep, this was already in the works. The default behavior is still
>> the same, but can be changed via an optional fourth parameter of the
>> FX constructor function, or via a new function added for the purpose.
>> If anyone has thoughts or suggestions about this, let me know.
>> --Chris Hansen
>> creator of FX.php
>> "The best way from FileMaker to the Web."
>> On May 30, 2005, at 7:45 AM, Gjermund Gusland Thorsen wrote:
>>> $omptimizeLiveWithoutRepetitions = True; //False;
>>> To avoid the  on $value
>>>  is only 3 characters, but multiplied with number of fields and
>>> this is alot of redundant RAM usage on a server with some traffic.
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
FX.php_List mailing list
FX.php_List at mail.iviking.org
More information about the FX.php_List