Results 1 to 4 of 4

Thread: Filemaker php interface vs converting the database to MySQL:

  1. #1
    Join Date
    Sep 2012

    Filemaker php interface vs converting the database to MySQL:

    My client has a Filemaker database that contains over 15000 records that he set up. He has spent some time trying to build a php interface. He would like me to use the Filemaker php interface to build a website. I've been doing websites for a few years now, I know HTML,CSS, PHP and I could convert the whole thing to MySQL. But then I'd have to do the data conversion and wondering if I'm making more work for myself.

    I don't know much about Filemaker and I'm wondering what the overall opinion of Filemaker is? Has anyone
    tried doing this and how easy is it to use PHP to get FileMaker data? Is it equivalent just making function calls in MySQL? Or should we just convert the whole system to MySQL?

    Any feedback would be appreciated. Thanks.
    Last edited by ireneatpwd; 10-13-2012 at 11:26 AM. Reason: typo

  2. #2
    Join Date
    Aug 2004
    I'm not familiar with FileMaker, but it looks like there may be some good resources at http://www.filemaker.com/search/inde...a=Search%23911.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Join Date
    Oct 2012
    PHP is the official language for integrating FileMaker Pro databases with the web. PHP is installed along with FileMaker Server (unless you choose to use your own installation), and the FileMaker API for PHP is a OO PHP library of functions for interacting with data stored in FileMaker Pro databases. You can more about using FileMaker and PHP here...


    There's also a 3rd party library called FX.php which has been around a long time...


    I'm not sure whether it's been kept current with the latest FMP releases, but you can check the GitHub repository for details.

    You'll probably also want to also join the free FileMaker Technical Network developer community so that you can ask questions and get advice in the Using Web Technologies discussion forum...


    Hope that helps clarify FileMaker's relationship to PHP - it's a strong one.

  4. #4
    Join Date
    Feb 2013
    There are a number of options for using PHP with FileMaker. The new custom web publishing feature within FileMaker Server 12 Advanced is substantially faster than the previous versions. So that is probably the first option a person might consider.

    Of course, another option is to convert the FileMaker database data, structure, business logic and layouts into a PHP web application running on MySQL. This type of conversion is often done in order to provide improved performance and scalability since there are limitations of 100/200 simultaneous users for either IWP or custom web publishing using PHP.

    Most people don't realize it, but there is a wealth of FileMaker metadata available in XML format for performing these types of conversions. This XML info is available either thru copying the layout via the clipboard or reading it from the Database Design Report XML file. I have found the clipboard data to be the most reliable source of this info.

    There are tools available to parse in the XML and analyze the database.
    It is even possible to automate the PHP conversion using this technique (perform a Google search for "FileMaker to PHP Conversion" for more info).

    Each object on a layout is represented in XML, along with style and position info. This info can be used to create form files representing the same look as the original layout. In fact, it can be difficult to see the difference between the web application and the original database if you get all of the object properties implemented. And this is what my customers request, because they don't want to have to retrain their employees. They want the web application to look and work the same as the original desktop application.

    I have done a few of these conversions recently into the CakePHP framework. Here a few techniques I used:

    Auto-Enter Calculation Fields - Stored calculation fields are calculated and stored within the model saves a record to the database.

    Unstored Calculation Fields - Unstored Calculation fields are calculated in real-time within the form controller - but only for fields actually displayed on the form. This prevents unnecessarily calculating these values if they aren't being used on a form, improving performance.

    Global Fields - A Global field in FileMaker is used like a global variable in programming languages. It is important to know that each FileMaker user gets there own private copy of global field data. There is no equivalent feature MySQL or other SQL database servers, but this functionality can easily be simulated using SESSION variables. Therefore each web user will still get their own private SESSION data, simulating the same functionality originally present in the FileMaker database. I structure these globals in the model data array as if they were retrieved from the model, meaning that converted scripts and fields on forms can reference them easily. Just before the record gets written into the database, the results are saved into SESSION variables for persistence.

    Vector Graphic Objects - FileMaker layouts frequently include rectangles, ovals and line objects. These objects can be replaced with the RafaelJS library, providing high quality resolution independent graphics.

    Value Lists - Custom and Field based value lists are implemented in a centralized location within the AppController.php file. Therefore making a change to the definition of the value list within the AppController, succeeds in changing the menu automatically throughout the whole application.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.11584 seconds
  • Memory Usage 2,877KB
  • Queries Executed 15 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (72):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates