Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4699 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi Guys,

I originally wrote something like this for work, but I took it home, re-wrote it to work for anybody as long as they setup the config file.

It is still in very early BETA stages, but I would love your opinions, recommendations and critisism on it.

Here is the download link: https://github.com/DarkMantisCS/FileMaker-PHP-API--Easy-to-Use-

The idea is that you don't have to keep creating instances of the FM PHP API, you just create one instance of the FMDB class and you can call all of the custom functions from within there.

I know there is no documentation on there atm which may make it difficult for you to actually interporate it exactly but I will get round to that.

Its design allows the user to interact with the PHP API a lot quicker and easier, without having to re-write a lot of code everytime they want to call a FM PHP API function.

For example:


<?php

$fmdb = new FMDB();



$select = $fmdb->select( 'Layout', array(

    'FieldName' =>  'SomeValue'

));



foreach( $select as $k => $v ){

    echo $k . ' => ' . $v;

}

?>

Please let me know what you think!

This topic is 4699 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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