---
title: FileMaker Server 17とINTER-MediatorによるWebアプリ開発
tags:  #filemaker #intermediator #php #server  
author: [松尾篤](https://convert.docswell.com/user/matsuo_atsushi)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/DK741R6Y71.jpg?width=480
description: 2018/11/08 INTER-Mediator Meet-up 2018発表資料
published: November 08, 18
canonical: https://convert.docswell.com/s/matsuo_atsushi/K4MV65-intermediatorandfilemakerserver17
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/DK741R6Y71.jpg)

FileMaker Server 17ͱINTER-Mediator
ʹΑΔWebΞϓϦ։ൃ
2018/11/08
INTER-Mediator Meet-up 2018
দඌ ಞʢ‫ࣜג‬ձࣾΤϛοΫʣ


# Page. 2

![Page Image](https://bcdn.docswell.com/page/PLJ1GQVNEG.jpg)

Agenda
• FileMakerʴWeb
• σʔλϕʔε઀ଓखॱͷ֓ཁ
• αϯϓϧΞϓϦͷσϞͱ঺հ


# Page. 3

![Page Image](https://bcdn.docswell.com/page/8GJWKM3MJ2.jpg)

FileMakerʴWeb


# Page. 4

![Page Image](https://bcdn.docswell.com/page/W4EZZQVME3.jpg)

FileMakerʴWebͷχʔζ
• ࣾ಺ͰFileMakerϓϥοτϑΥʔϜΛ࢖ͬ
͍ͯΔ͕࣍ͷΑ͏ͳέʔε͕͋Δ
ྫɿࣾ಺‫ۀ‬຿ͷҰ෦Λࣾ֎͔ΒͰ͖ΔΑ
͏ʹ͍ͨ͠৔߹
ྫɿࣾ֎ͷऔҾઌͱ΍ΓͱΓ͍ͨ͠৔߹


# Page. 5

![Page Image](https://bcdn.docswell.com/page/KY76Z6557V.jpg)

FileMaker੡඼ͱ࠷ۙͷಈ޲
• ೥ʹ1౓ͷόʔδϣϯΞοϓ
ηΩϡϦςΟߋ৽͸‫ݪ‬ଇ࠷৽൛ͷΈ
• ϥΠηϯεମ‫ܥ‬ͷසൟͳมߋ
Ҏલͱൺֱ͢ΔͱՁ֨΋࣍ୈʹ্ঢ
• Ϋϥ΢υ΁ͷ؇΍͔ͳγϑτ
FileMaker Cloudͷී‫ٴ‬͸͜Ε͔Β


# Page. 6

![Page Image](https://bcdn.docswell.com/page/5G75W6YGJ4.jpg)

INTER-MediatorͰWebΞϓϦ
• ҆શͳ࠷৽൛ʹࣗಈߋ৽
Webϒϥ΢βʔͰ͋Ε͹ࣗಈతʹߋ৽
• ઀ଓϥΠηϯεͷίετ࡟‫ݮ‬
ΧελϜWebͳΒαʔόʔ઀ଓϥΠηϯεෆཁ
• ΧελϜWebͱData APIʹ྆ରԠ
΋͠΋ΧελϜWeb͕ඇਪ঑ʹͳͬͨͱͯ͠΋
FileMaker Data APIʹҠߦͰ͖Δ


# Page. 7

![Page Image](https://bcdn.docswell.com/page/V9J2QMGDER.jpg)

FileMakerʴWebΞϓϦ
• FileMakerʹWebΞϓϦΛϓϥε
• ࠓ͋Δ΋ͷʹϓϥε͍͚ͯ͠͹΋ͬͱ
ੈք͕޿͕Δ
• ίετ௿‫ݮ‬ख๏ͷ1ͭͱ͍͏ଆ໘΋


# Page. 8

![Page Image](https://bcdn.docswell.com/page/5DEYWXVM7M.jpg)

σʔλϕʔε઀ଓ
खॱͷ֓ཁ


# Page. 9

![Page Image](https://bcdn.docswell.com/page/2VJN91M3J8.jpg)

Step1 σʔλϕʔεΛ༻ҙ
FileMaker ServerͰϗετ
ΞΧ΢ϯτઃఆ΍XML Webެ։ͰͷΞΫηεΛ‫ڐ‬Մ͢Δઃఆ΋ඞཁ


# Page. 10

![Page Image](https://bcdn.docswell.com/page/GYE925NPJ3.jpg)

FileMaker Server΁ͷ઀ଓ
• FileMaker ServerͷΧελϜWebެ։‫ػ‬ೳ
Λར༻ʢXML Webެ։ʣ
• XML Webެ։ͰͷΞΫηεΛ‫ڐ‬Մ͢Δ
ઃఆ͕ඞཁ
• ֦ுΞΫηε‫ݖ‬ͷΩʔϫʔυ͸fmxml


# Page. 11

![Page Image](https://bcdn.docswell.com/page/5GE85YKXED.jpg)

New!
• INTER-Mediator 5.8ͰFileMaker Server 17
ͷFileMaker Data APIΛαϙʔτ
• ֦ுΞΫηε‫ݖ‬ͷΩʔϫʔυ͸fmrest


# Page. 12

![Page Image](https://bcdn.docswell.com/page/MLELY4ZN7R.jpg)

Step2 ఆٛϑΝΠϧΛ࡞੒
ϑΝΠϧ໊ɿinclude.phpʢྫʣ
 QIQ
SFRVJSF@PODF EJSOBNF @@&#039;*-&amp;@@ */5&amp;3.FEJBUPS*/5&amp;3.FEJBUPSQIQ 
*.@&amp;OUSZ 
BSSBZ 
BSSBZ 
SFDPSET 
QBHJOHUSVF 
OBNFλεΫৄࡉ ϨΠΞ΢τ໊
 
 
BSSBZ 
BSSBZ 
GBMTF



# Page. 13

![Page Image](https://bcdn.docswell.com/page/54JMNKVQEW.jpg)

FileMaker Server
Ͱͷ‫ݻ‬༗ͷࣄ৘
• ఆٛϑΝΠϧʹ‫ه‬ड़͢Δςʔϒϧ໊͸
ϨΠΞ΢τ໊Λࢦఆ͢Δ
• දࣔ΍ೖྗʹඞཁͳϑΟʔϧυΛඞͣ
ϨΠΞ΢τ্ʹ഑ஔ͢Δ


# Page. 14

![Page Image](https://bcdn.docswell.com/page/ZPJRDX2KE9.jpg)

FileMaker Server
Ͱͷ‫ݻ‬༗ͷࣄ৘
• ೔෇ɺ࣌ࠁ͓ΑͼλΠϜελϯϓϑΟʔ
ϧυʹ͍ͭͯ͸FMDateTimeσʔλί
ϯόʔλʔΛར༻͢Δ


# Page. 15

![Page Image](https://bcdn.docswell.com/page/NPEX16D5EX.jpg)

Step3 ϖʔδϑΝΠϧΛ࡞੒
ϑΝΠϧ໊ɿindex.htmlʢྫʣ
%0$5:1&amp;IUNM
IUNMMBOHKB
IFBE
NFUBDIBSTFU65&#039;
NFUBIUUQFRVJW96&quot;$PNQBUJCMFDPOUFOU*&amp;FEHF
UJUMF*/5&amp;3.FEJBUPS4BNQMFUJUMF
MJOLSFMTUZMFTIFFUUZQFUFYUDTTISFG*/5&amp;3.FEJBUPS4BNQMFT
TBNQMFDTT
TDSJQUUZQFUFYUKBWBTDSJQUTSDJODMVEFQIQTDSJQU
IFBE
CPEZ
UBCMFUSUEJOQVUUZQFUFYUOBNFUBTLOBNFEBUBJNλεΫৄࡉ!λε
ΫUEUSUBCMF
CPEZ
IUNM


# Page. 16

![Page Image](https://bcdn.docswell.com/page/63EK21XRJD.jpg)

Step4 IMΛμ΢ϯϩʔυ
• GitHub͔ΒVer. 5.8Λμ΢ϯϩʔυ
• ʮINTER-Mediatorʯͱ͍͏ϑΥϧμ໊Ͱ
index.htmlϑΝΠϧͱಉ͡֊૚ʹ഑ஔ
ʢࢀߟʣdist-docsϑΥϧμ಺ʹ͸buildup.shͱ͍͏
σϓϩΠ༻ϑΝΠϧΛੜ੒͢ΔεΫϦϓτ͕ଘࡏ


# Page. 17

![Page Image](https://bcdn.docswell.com/page/4L734Q5GJ5.jpg)

Step5 DB઀ଓ৘ใͷઃఆ
ϑΝΠϧ໊ɿparams.php
ʢࠓճ͸INTER-MediatorϑΥϧμ಺ͷϑΝΠϧΛฤूʣ
 QIQ

 DPNNPOTFUUJOHTGPS%#@&#039;JMF.BLFS@&#039;9BOE%#@1%0
 
EC6TFS
EC1BTTXPSE
 
 %#@&#039;JMF.BLFS@&#039;9BXBSFCFMPX
 
EC4FSWFS
EC1PSU
EC%BUBCBTFλεΫ
EC1SPUPDPMIUUQ


# Page. 18

![Page Image](https://bcdn.docswell.com/page/V87DQ9DNJG.jpg)

αϯϓϧΞϓϦͷ
σϞͱ঺հ


# Page. 19

![Page Image](https://bcdn.docswell.com/page/4VJPLZXN78.jpg)

σϞ༻αϯϓϧΞϓϦ (1)


# Page. 20

![Page Image](https://bcdn.docswell.com/page/L2EVQWLY7Q.jpg)

σϞ༻αϯϓϧΞϓϦ (1)
• BootstrapΛར༻ͯ͠ϖʔδΛ࡞੒
• Ұ෦ͷ‫ػ‬ೳ͸JavaScriptͰ࣮૷


# Page. 21

![Page Image](https://bcdn.docswell.com/page/Z57GWDXWJL.jpg)

σϞ༻αϯϓϧΞϓϦ (2)
• αʔόʔαΠυεΫϦϓτΛ࢖༻ͯ͠
ಈతʹੜ੒ͨ͠PDFϑΝΠϧΛදࣔ
• FileMaker Server 16Ҏ߱ͰՄೳ
• σʔλϕʔεͷϨΠΞ΢τΛ‫༻׆‬
• ϑΥϯτ͸IPAϑΥϯτΛར༻


# Page. 22

![Page Image](https://bcdn.docswell.com/page/V4EQ318QEP.jpg)

INTER-MediatorΛ
ར༻ͨ͠αʔϏεྫ


# Page. 23

![Page Image](https://bcdn.docswell.com/page/DKJ41R2YJ1.jpg)

*/5&amp;3.FEJBUPSΛར༻ͨ͠αʔϏεྫ
&#039;.1SFTT1VCMJTIFS
w
w
&#039;JMF.BLFSσʔλϕʔε͔Β8FCΞϓϦΛੜ੒
σϞαΠτɿIUUQTEFNPFNJDDPKQ


# Page. 24

![Page Image](https://bcdn.docswell.com/page/PLE1GQMN7G.jpg)

*/5&amp;3.FEJBUPSΛར༻ͨ͠αʔϏεྫ


# Page. 25

![Page Image](https://bcdn.docswell.com/page/8GEWKMDME2.jpg)

*/5&amp;3.FEJBUPSΛར༻ͨ͠αʔϏεྫ


# Page. 26

![Page Image](https://bcdn.docswell.com/page/W47ZZQGM73.jpg)

*/5&amp;3.FEJBUPSΛར༻ͨ͠αʔϏεྫ


# Page. 27

![Page Image](https://bcdn.docswell.com/page/KYJ6Z6Y5JV.jpg)

·ͱΊ
• FileMakerʴWebͳΒINTER-Mediator
• INTER-MediatorͰͷσʔλϕʔε͝ͱͷ
‫ݻ‬༗ͷࣄ৘ʹ͍ͭͯ͸Լ‫ه‬Λࢀর
• http://inter-mediator.info/ja/fordevelopers/db.html


