[FX.php List] How to use SetFMGlobal

Dale Bengston dale.bengston at gmail.com
Wed May 11 07:50:32 MDT 2011


Double Amen, Webko. From the web, FMP is just another data pot for me. All the business logic is handled in PHP.

Dale

On May 11, 2011, at 12:18 AM, Steve Winter wrote:

> Amen to that sentiment Tim...
> 
> Malcolm if you really want to do it using a script, why not pass the psostcode and distance in as script parameters...?
> 
> Cheers
> Steve
> 
> Sent from the iPhone of Steve Winter
> Matatiro Solutions
> steve at matatirosolutions.co.uk
> +44 777 852 4776
> 
> On 11 May 2011, at 06:07, Tim 'Webko' Booth <tim at nicheit.com.au> wrote:
> 
>> 
>> On 11/05/2011, at 1:10 PM, malcolm at notyourhomework.net wrote:
>> 
>>> OK, I can do that.
>>> 
>>> 1. use postcode to search
>>> 2. get results
>>> 3. if there is a optional range present, do the maths and generate a new search
>>> 4. get results
>>> 5. print the list
>>> 
>>> I was allured by the prospect of FX being able to handle it all in one request.
>> 
>> 
>> And why shouldn't it?
>> 
>> if (isset($_REQUEST['Distance'])) {
>>   //Do the maths and search
>> } else {
>>   //Just do the PCode search
>> }
>> 
>> I'll note that so far I have never found something that required a Script rather than handling it in PHP - I'm sure there may be something, but I also like to keep the web layer totally seperate from the data layer
>> 
>> Cheers
>> 
>> Webko
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list