Jump to content

roflmao

Newbies
  • Posts

    2
  • Joined

  • Last visited

roflmao's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hello everyone. I've struggled with slow responsiveness between PHP and Filemaker for ages now, and I think I've finally found out why. Scripts run infinitely faster than the PHP Filemaker API for record creation. Using the PHP API, it takes 29 seconds to create 50 records. I can create 250 records in a script in under 1 second. So, obviously, I'm in the process of porting all my PHP API calls to use Filemaker scripts. But, there is one problem. How do you get a response from the Filemaker script back to PHP? e.g. Creating a new user. User enters his email and password into a PHP form, then the PHP calls a Filemaker script to create a new user. But, if the email is not unique, I need to display a "username is not unique" message on the PHP form. If I'm checking for uniqueness in my Filemaker script, how do I get the filemaker script to send back a response to the PHP code that called it to know if the user creation process succeeded or failed? Thanks for your help, James.
  2. Hello everyone. I'm a web developer who recently had to work to create a PHP website (from scratch, not using filemakers code gen tools) that communicated with a Filemaker Backend. While the official FilemakerPHP API is great and all, it really just enables communication from PHP to Filemaker. Nothing more. Nothing less. Being an OOP programmer who believes strongly in ORM's, this API wasn't enough, so I went ahead and developed a light-weight PHP ORM for communication with filemaker. This ORM is just a module that internally uses the Filemaker PHP API to do it's stuff. A port to FX might come later, but for now I'll only support the official API. Being mainly a RoR developer who is in love with Active Record and Active Model. I modeled the ORM after those two. PHP 5.3 only If you're interested, check it out on GitHub: https://github.com/laspluviosillas/FastFM Shameless advertising because this is an open-source project that has absolutely no copyright or no for-profit motives and you are free to do whatever you want with the code. Hope this helps any PHP developers out there! - James.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.