FileMaker Pro/PHP Hybrids:



Similar documents
FileMaker Server 13. FileMaker Server Help

Building a Database-Driven Web Application With FileMaker

NEDARC POSITION PAPER

FileMaker Server 9. Custom Web Publishing with PHP

Adam Rauch Partner, LabKey Software Extending LabKey Server Part 1: Retrieving and Presenting Data

FileMaker Server 11. FileMaker Server Help

FileMaker Server 12. FileMaker Server Help

FileMaker: Complete Platform to Create, Deploy, and Manage Custom ipad and iphone Solutions for Business

FileMaker Server 10 Help

WINDOWS AZURE EXECUTION MODELS

ArcGIS 10.1 Web Apps and APIs. John Hasthorpe & Kai Hübner

TG Web. Technical FAQ

FileMaker Server 14. FileMaker Server Help

FileMaker Security Guide The Key to Securing Your Apps

Intranet Website Solution Based on Microsoft SharePoint Server Foundation 2010

FileMaker Robust Platform Technology

FileMaker 11. Instant Web Publishing Guide

FileMaker Server 15. Getting Started Guide

ios Deployment Simplified FileMaker How To Guide

FileMaker Server 12. Custom Web Publishing with PHP

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

MSSQL quick start guide

Working with Structured Data in Microsoft Office SharePoint Server 2007 (Part1): Configuring Single Sign On Service and Database

SIF 3: A NEW BEGINNING

FileMaker Server 13. Custom Web Publishing with PHP

Lesson 7 - Website Administration

What do you mean that I have to have special web pages to communicate with FileMaker?

Configuring the Server(s)

FileMaker Server 13. Getting Started Guide

Spotfire and Tableau Positioning. Summary

General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support

Access Database Hosting. An introduction to Cloud Hosting Access databases from Your Office Anywhere

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Content Management Systems: Drupal Vs Jahia

White Paper. Anywhere, Any Device File Access with IT in Control. Enterprise File Serving 2.0

TechTips. Connecting Xcelsius Dashboards to External Data Sources using: Web Services (Dynamic Web Query)

owncloud Architecture Overview

Net2 Anywhere - Installation

FmPro Migrator - FileMaker to SQL Server

PEGA MOBILITY A PEGA PLATFORM WHITEPAPER

WebLink 3 rd Party Integration Guide

Installation and Administration Guide

Using EMC Documentum with Adobe LiveCycle ES

FileMaker Security Guide

Finding and Preventing Cross- Site Request Forgery. Tom Gallagher Security Test Lead, Microsoft

FileMaker 12. ODBC and JDBC Guide

PHP on IBM i: What s New with Zend Server 5 for IBM i

Izenda & SQL Server Reporting Services

NiceLabel Control Center 6.5. Release Notes. Rev-1504

Storgrid EFS Access all of your business information securely from any device

WHITEPAPER. Improving database development

Red Hat Enterprise Portal Server: Architecture and Features

An Enterprise Approach to Mobile File Access and Sharing

Chapter 1: Introduction to ArcGIS Server

Centralized Oracle Database Authentication and Authorization in a Directory

PRICE LIST JUNE 2014 SOFTWARE LICENSES

Livezilla How to Install on Shared Hosting By: Jon Manning

SHAREPOINT ARCHITECTURE FUNDAMENTALS

Installation Instructions

White Paper Using PHP Site Assistant to create sites for mobile devices

Getting Started with Dynamic Web Sites

Base One's Rich Client Architecture

Building Library Website using Drupal

FileMaker 12. Instant Web Publishing Guide

Bring your intranet to the IBM i With Drupal and Zend Server

PRESENTS... Reasons to Switch from SourceSafe: How to Make Your Life Easier with SourceAnywhere Standalone

FileMaker 13. ODBC and JDBC Guide

Sisense. Product Highlights.

ESET Secure Authentication Java SDK

Connect Getting Started Guide. Connect Getting Started Guide

Vector HelpDesk - Administrator s Guide

Petroleum Web Applications to Support your Business. David Jacob & Vanessa Ramirez Esri Natural Resources Team

BPM vs. SharePoint: Which is Right for Your Business

FileMaker 11. ODBC and JDBC Guide

Frequently Asked Questions

FileMaker Server 14. Custom Web Publishing Guide

GADD Dashboard Express

NS DISCOVER 4.0 ADMINISTRATOR S GUIDE. July, Version 4.0

THE WINDOWS AZURE PROGRAMMING MODEL

How To Synchronize With A Cwr Mobile Crm 2011 Data Management System

SENSE/NET 6.0. Open Source ECMS for the.net platform. 1

Customizing and Integrating

SharePoint is Not an ECM System. Jason Lamon

InRule. The Premier BRMS for the Microsoft Platform. Benefits THE POWER OF INRULE. Key Capabilities

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

Momentum offers you free training, webinars and much more to: help you understand the power of your current LANDESK products

DFW Backup Software. Whitepaper DFW Backup Agent

Effective Use of Individual User Profiles with Software Distribution

End-to-End Identity Management With Oblix and Microsoft WHITEPAPER

Building and Deploying Web Applications

Secure Messaging Server Console... 2

Quick Reference Guide: Shared Hosting

Microsoft Dynamics NAV 2015 Hardware and Server Requirements. Microsoft Dynamics NAV Windows Client Requirements

SOA REFERENCE ARCHITECTURE: WEB TIER

PLATFORM. Web Content Management and Digital Marketing for Higher Education. Everything You Need from a Great Enterprise CMS CONTENT MANAGEMENT

Transcription:

php tek 2008 FileMaker Pro/PHP Hybrids: Jeremiah Small Soliant Consulting

Session Map FileMaker Pro/PHP Hybrids Introduction When to use a Hybrid Planning for a Hybrid Beyond the API Demos Review/Resources/QA

Who am I? Tech Lead at Soliant Consulting What s that? Literally: Project Manager + Developer The way I see it: Independent Developer + Infrastructure (I love my job) soliantconsulting.com/jobs

Simple to implement Not a whole new technology to master because PHP Developer FileMaker Pro Developer

Simple to implement the FileMaker/PHP intersection is really small PHP Developer FileMaker Pro Developer learn this hire this.

Session Map FileMaker Pro/PHP Hybrids Introduction When to use a Hybrid Planning for a Hybrid Beyond The API Demos Review/Resources/QA

So what is a FileMaker Pro hybrid? (for the purposes of this session) FileMaker Server 9 + PHP 5 The FileMaker API for PHP

An ideal case for a hybrid: Solutions with two distinct constituencies App Complexity Number of Constituents

The right tool for the job FileMaker Pro: Back Office or Power User constituency Narrow and deep Requires client desktop infrastructure (licensing etc) Workgroup level software support (even if self-serve) Requirements may be prone to frequent change Constituency benefits significantly from flexibility Pro: Quickly build sophisticated solution Con: Requires more infrastructure

The right tool for the job PHP for Casual or Browser constituency Wide and shallow Zero deployment; free deployment infrastructure Hundreds (or thousands) of external users Interface requirements easy to define Flexibility not a primary requirement Generally data submitters or consumers Con: More time/dollars to build equivalent Pro: More limited functionality is okay

The right tool for the job Software or XML constituency Special cases FileMaker Server s generic API XSLT, Flex, Flash,.NET, etc. Bonus: FileMaker Pro as data source for any HTTP-spitting/XML-eating technology

So what s in it for me? As a developer, why should I make my life more complicated? What s wrong with: Pure PHP or Pure FileMaker Pro (maybe IWP)

What s good for what? FileMaker Pro Good for Rapid Application Development Lots of user-accessible features out of the box Leveraging existing resources Non-developer subject matter experts Not so good for Transient or temporary users Thousands of users Zero deployment

What s good for what? PHP Good for Integrating FileMaker data in existing Intranet Exposing narrow bands of data from back office Thousands of users (within reason) Zero deployment (no client software) Not so good for Rapid Application Development Lots of user-accessible features out of the box Non-developer subject matter experts

An ideal case for a hybrid: Solutions with two distinct constituencies App Complexity Number of Constituents

For Example: Registration/Applications Public: submits and tracks application status Back Office: processes acceptance lists and wait lists Marketing Company Public: field reps retrieve data & submit data/photos Back Office: processes work orders and commissions

Session Map FileMaker Pro/PHP Hybrids Introduction When to use a Hybrid Planning for a Hybrid Beyond the API Demos Review/Resources/QA

Planning for a hybrid Some FileMaker Pro Facts Integral presentation and data layers Not scaleable No direct table access FMPHP accesses Table instances via Layouts Think of a Layout as a view Can connect to "ESS (External SQL Source) Microsoft SQL Server 2000 and Microsoft SQL Server 2005 Oracle 9i and Oracle 10g MySQL 5.0 Community Edition Not a SQL database (internally referred to as Draco) Take advantage of PHP Site Assistant for learning about API

Planning for a hybrid Open PHP connector classes Compatible with older versions of FileMaker Open source wrappers for the XML API (part of CWP) SimpleFM.php FX.php FMandPHP The FileMaker API for PHP (fmphp) Only works with FileMaker Server 9v2 or greater Closed source Has some extra features beyond the XML API

Planning for a hybrid On FileMaker Server 9v2 or greater, look here:

Planning for a hybrid FileMaker Pro file structure Option: Create special Web layouts in main file(s) Can be simpler More efficient (less verbose) to only include the fields that you actually need Option: Put all Web layouts in dedicated Web file Dedicated web-only file allows discreet admin of Accounts & Privileges. Main files don t need to be directly exposed to web

Planning for a hybrid Freeze schema naming before starting CWP Make sure TOs, Layouts and Fields names locked in before you start integrating any CWP Naming convention considerations Avoid whitespace, avoid double underscore, etc. IWP (not!) If you think you might want to use PHP, don t think you can roll up from IWP.

Session Map FileMaker Pro/PHP Hybrids Introduction When to use a Hybrid Planning for a Hybrid Beyond the API Demos Review/Resources/QA

Beyond the API Creating views for PHP FileMaker Pro does not provide direct access to tables Views = Layouts A Layouts is associated with a specific Table Instance A Table Instance defines relational context for view

Beyond the API Leveraging the FileMaker Script Client function adduserrecord($data,$scriptname="") { // create fm object using system account.. $fm = new FileMaker(FMDB_WEB,FMWPE_HOST,FMWPE_USER,FMWPE_PASS); $addreq =& $fm->newaddcommand("web_applicants",$data); if($scriptname!= "")$addreq->setscript($scriptname); $result = @$addreq->execute(); } if(filemaker::iserror($result)) { return $result->getmessage(); } else { return true; }

Session Map FileMaker Pro/PHP Hybrids Introduction When to use a Hybrid Planning for a Hybrid Beyond the API Demos Review/Resources/QA

Demo general tour: Tour of the PHP Site Assistant Tour of the PHP half of a hybrid solution Tour of the FileMaker half of a hybrid solution

Demo: hybrid technique Uploading photos from the browser Use PHP to organize uploads in directory Reference URL in FileMaker Web Viewer to display Easy to display in web page and FileMaker Pro

Demo: hybrid authentication PHP Session Management The stateless connection to FileMaker Server Using PHP sessions with a system account Not a FileMaker session

Demo: hybrid authentication Authenticating Web Users with FileMaker Decide on how/where to maintain accounts Issued by admin Easier to design Can use External Authentication or FileMaker Pro accounts Ongoing chore for administer Created by users (self serve) Trickier to design/program Must be FileMaker accounts Easier to administer Allows self-serve account creation and maintenance

Demo: hybrid authentication main.fp7 STF Accounts: System s_user1 s_user2 Scripted web.fp7 APP Accounts: System a_user1 a_user2 Persistent vs. Stateless if($_session ['isloggedin'] == true) FileMaker: Staff UI no UI Browser: Applicant UI

Session Map FileMaker Pro/PHP Hybrids Introduction When to use a Hybrid Planning for a Hybrid Beyond the API Demos Review/Resources/QA

Remember: The FileMaker Pro/PHP intersection is really small PHP Developer FileMaker Pro Developer learn this hire this

Jeremiah Small and Soliant jsmall.us flexfm.us soliantconsulting.com/jobs jsmall@soliantconsulting.com FileMaker, Inc. filemakertrial.com filemaker.com./technet/ Thank You!./downloads/ (existing FMS installs: get latest standalone fmphp) fmdl.filemaker.com/misc/phpapi/win/fm_api_for_php_standalone.zip fmdl.filemaker.com/misc/phpapi/mac/fm_api_for_php_standalone.zip./downloads/pdf/fms9_cwp_php_en.pdf./support/technologies/php.html