Hi! Very interested. Where could we see the component for FX.php to be able to integrate cakephp+fm. I am also wondering if FX.php will ever work for FM 9 and 10.
Louie On Apr 12 2006, 7:48 pm, "bdb" <[email protected]> wrote: > I have hacked together a version of The Cake Blog Tutorial from > manual.cakephp.org that uses a FileMakerdatabasefor data storage and > retrieval. Currently it is very specific to the tutorial example, but > I am working on making the functions generic so they can be applied to > other projects I have going. > > I am utilizing FX,php (www.iviking.org) which I placed in the vendors > folder and then created a dbo_fmpro.php file in cake/libs/model/dbo/ > that defines a class called DboFmpro. Since FileMaker does not use > SQL, the DboFmpro class DOES NOT extend DboSource, so I have had to > recreate much of the functionality that is typically inherited from > dbo_sourse.php, datasource.php, and model_php5.php into either > dbo_fmpro.php or app_model.php. The app/config/database.php file has a > 'driver' value of 'fmpro' and contains the parameters that are usually > found in the server_data.php file under FX. > > At this point I am curious to know if there's anyone else out there > that would be interested in this project. I'm very comfortable with > the concepts of OOP and "objectify" my FileMaker scripts as much as > possible, but I am currently hacking my way through this with a big, > ugly machete -- using it as a OOPHP learning process while creating a > framework for various FileMaker-hosted web sites that I have designed. > The Cake Blog Tutorial uses exactly the same code as the manual > provides so you can easily switch back and forth between the > mysql-based system and the fmpro-based system by simply changingdatabase.php > and removing (or just renaming) app_model.php -- which was > my ultimate design goal from the outset. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
