[FX.php List] Run fx.php and API on same machine?

Andrew Denman adenman at tmea.org
Mon Mar 2 16:49:47 MST 2009


Jonathan,

FX.php and the FMAPI aren't always running in the background handling the web requests. As Leo said, they are just collections of code you can use in PHP to easily communicate with the FileMaker server. If you code a page to use fx.php it isn't going to use the FMAPI, and vice versa.  This is why you can have both on the same server - each page only uses what you've coded it to use.

ggt's warning to not use both types of connections in the same project is good because you don't want to be going back and forth between the two types while coding - that's when mistakes happen, and we don't want mistakes.

Andrew Denman


-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jonathan Schwartz
Sent: Monday, March 02, 2009 5:10 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Run fx.php and API on same machine?

Thanks ggt.

I wouldn't do it normally. But as long as you mention it, got any 
horror stories to share?

Back to using both fx.php and API on the same machine (not the same 
project)....does this mean that both XML and API data is being 
returned for all queries?  Isn't that excessive?

J


At 12:02 AM +0100 3/3/09, Gjermund Gusland Thorsen wrote:
>But please for your own sanity, please to keep to one of the APIs
>either FileMaker PHP API or FX.php for each project, it's possible to
>mix them, but please don't do it. For your own good.
>
>ggt
>

-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-370-5011
_______________________________________________
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