Giter Club home page Giter Club logo

fmcakemix's Introduction

FMCakeMix

FMCakeMix is a FileMaker datasource driver for the CakePHP MVC framework. FMCakeMix enables FileMaker databases to integrate into Cake as if they were native SQL based sources, allowing for rapid development of FileMaker based web solutions in a modern web application development framework.

To get more familiar with CakePHP visit: http://cakephp.org/

See the User Guide.pdf for usage information

Notice

This product should be considered a work in progress, please test and use at your own risk and contribute back any changes or fixes you may have. This driver is compatible with CakePHP 2.10 (This driver doesn't support CakePHP 3.x now).

Installation

Download and follow the installation instructions from the cake website http://cakephp.org/.

FX.php is PHP class created by Chris Hansen to speak with FileMaker via XML. The FMCakeMix driver uses FX.php to send queries to FileMaker and is necessary for the driver’s functionality. Install FX.php by downloading the files from http://fx.iviking.org/ and placing the FX.php and lib folder at the root of the yourcakeinstall/app/Vendor folder.

Because the driver uses XML to communicate with FileMaker, your FileMaker solutions must be hosted on a version of FileMaker Server that supports web publishing and xml access. See the FileMaker Server documentation for instructions on enabling these features.

In case of CakePHP 2.x, install the Filemaker.php file into yourcakeinstall/app/Model/Datasource/Database, you’ll likely have to create the Database directory in the Datasource folder.

Support

See "License" below for the warranty and support disclaimer (that is, you're on your own, buddy).

Credit

Thanks

Thanks to Beezwax Datatools, Inc.

MIT License

Copyright (c) 2009 Beezwax Datatools, Inc., Alex Gibbons

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

fmcakemix's People

Contributors

alexgb avatar matsuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fmcakemix's Issues

最新版への対応について

FM11で動かしていたphpをFM12(諸都合により)に移行しようとしています。

  1. FileMaker12移行の対応について
    User Guideを拝見すると、database.phpにおいて
'dataSourceType' => 'FMPro7',

と設定することになっていますが、FileMaker12以降でも「FMPro7」のままでよいのでしょうか。
matsuoさんも書かれているこちらのページも参考にしましたが、FMPro12と変えても、fmaltと変えても動作せず。。。

  1. FX.phpの置換について
    FX.phpが古いのではと考え、最新版を見ると、フォルダ構成が変わっているのか、fx.phpと他のファイルが別(libディレクトリ下)に分かれていました。これは、fx.phpのフォルダ構成に準拠(そのままコピー)で間違いないでしょうか。

  2. ドキュメント中のURL
    FX.phpの掲載されたURLが http://www.iviking.org/FX.php/ と書かれていますが、恐らくは http://fx.iviking.org/ かと。

CakePHPの対象バージョンについて

ここが問合せフォームではないのは理解しつつ、他にコンタクト手段が見当たらず、ここで書かせて頂きます。
CakePHP 2.7.6に組み込んでいますが、

Declaration of Filemaker::queryAssociation() should be compatible with DboSource::queryAssociation(Model $Model, Model $LinkModel, $type, $association, $assocData, &$queryData, $external, &$resultSet, $recursive, $stack) [APP\Model\Datasource\Database\Filemaker.php, line 42]

の警告が出ます。

CakePHP 2.xに対応したもの、と認識していますが、実際のところどのバージョンまでが動作確認取られているものなのでしょうか。

引数の順番を変えるか、CakePHPのバージョンを下げるか、検討中です。

// それ以前に、findすらまだ通ってないんですけどw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.