CVS edit link for raggax2
I am a Drupal consultant that has had 3 years of experience developing modules and themes for companies. The module I would like to contribute is the first module approved by the client to open source and is my first opportunity to contribute back to the community. I have a masters in Computer Science and have been developing PHP for the last 7 years.
I would like to contribute a module that bridges the Drupal CMS with a Filemaker database. The module's aim is to make available pre-existing data that exists within Filemaker. The module's intended audience is organizations that maintain independent informational databases, but want that data available for display in their website.
The module acts as a cache for Filemaker database that have the ability to access data through its web service. The module stores copies of the database tables in the local database and refreshes the data on a user defined interval. It integrates into views to make that data available for display.
Comments
Comment #1
raggax2 commentedThis is a tarball file containing the filemaker module. I would like to submit this for inclusion into contributed modules.
Comment #2
avpadernoHello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.
Comment #3
avpadernoMay you describe the differences between the proposed module, and http://drupal.org/project/filemakerform?
Comment #4
raggax2 commentedThis module works in the other direction. Instead of submitting data to be written in to a FM server, it pulls data from an FM database and makes the table available to the Views module. It does not allow writing back to the database itself.
Comment #5
avpadernoThanks for the reply.
Comment #6
raggax2 commentedHas anybody had a chance to review this?
Comment #7
avpadernoI apologize for the time it's taking to review this application. The users who review the CVS applications are few, and that is the reason applications take more time than they should to be reviewed.
Comment #8
meba commentedNotes:
- I don't like that you DROP TABLE {...$table...}. That sounds dangerous. Make a required prefix?
- I don't like _filemaker_write_record and it's INSERT. Can't confirm but that seems to be an SQL Injection.
Comment #9
avpadernoThe
require_once()statement would look for the file in the Drupal root directory, which is not the directory where the file is; in Drupal, the preferred prefix for these cases in .inc.t().As reported before, that statement would not work; there is a specific Drupal function that should be used in those cases.
The query probably works only with a specific database engine; the coding standards should report which SQL functions can be used.
The variable
$falsehas not been defined. Why isn't the code simply usingFALSE?Use
t()-placeholders.FMTabledoesn't follow the coding standards, and should probably renamed to match the module name.Comment #10
avpadernoComment #11
göran commentedFirst of all - what version of Drupal is able to this module???
I like the idea of the module, because it is helpful when coming to practice handling of data in the customer level view. A FileMaker can do more, and do it faster then drupal does, and can be a "allover local system" including billing and payments in the bussiness.
Earlier I have been written a FileMaker Database who read thousands of products and picture (by in a local computer importing from factory cheats and a picture map) and in a few seconds an then create a hole home site in xhtml, with calculated prises etc and all the pictures, for each product, branding marks etc. From A .. to Z below one minutes.
What I am looking 4 is a best way to integrate the FileMaker data-sheet to the drupal database and relate each data to the pictures who will be placed (send to) the core-mapping-system (link data-info with picture in drupal) .
The purpose is to let Drupal take over and handling the e-bussines (integration with commerce) on the Internet, the rest of billing and selling will stay in FM local business level - placed at the company.
Anyone who knows?
Comment #12
avpadernoComment #13
raggax2 commentedI'm going to close the ticket for this particular module. In retrospect, I think a better (more Drupal centric) way of achieving this would be integrating with the Feeds2 module.
Comment #14
avpaderno