150 Views
November 08, 18
スライド概要
2018/11/08 INTER-Mediator Meet-up 2018発表資料
Web Application Developer / kintone CERTIFIED App Design Specialist 2020 / kintone CERTIFIED Customization Specialist 2020
FileMaker Server 17ͱINTER-Mediator ʹΑΔWebΞϓϦ։ൃ 2018/11/08 INTER-Mediator Meet-up 2018 দඌ ಞʢࣜגձࣾΤϛοΫʣ
Agenda • FileMakerʴWeb • σʔλϕʔεଓखॱͷ֓ཁ • αϯϓϧΞϓϦͷσϞͱհ
FileMakerʴWeb
FileMakerʴWebͷχʔζ • ࣾͰFileMakerϓϥοτϑΥʔϜΛͬ ͍ͯΔ͕࣍ͷΑ͏ͳέʔε͕͋Δ ྫɿࣾۀͷҰ෦Λࣾ֎͔ΒͰ͖ΔΑ ͏ʹ͍ͨ͠߹ ྫɿࣾ֎ͷऔҾઌͱΓͱΓ͍ͨ͠߹
FileMakerͱ࠷ۙͷಈ • ʹ1ͷόʔδϣϯΞοϓ ηΩϡϦςΟߋ৽ݪଇ࠷৽൛ͷΈ • ϥΠηϯεମܥͷසൟͳมߋ Ҏલͱൺֱ͢ΔͱՁ֨࣍ୈʹ্ঢ • Ϋϥυͷ؇͔ͳγϑτ FileMaker Cloudͷීٴ͜Ε͔Β
INTER-MediatorͰWebΞϓϦ • ҆શͳ࠷৽൛ʹࣗಈߋ৽ WebϒϥβʔͰ͋Εࣗಈతʹߋ৽ • ଓϥΠηϯεͷίετݮ ΧελϜWebͳΒαʔόʔଓϥΠηϯεෆཁ • ΧελϜWebͱData APIʹ྆ରԠ ͠ΧελϜWeb͕ඇਪʹͳͬͨͱͯ͠ FileMaker Data APIʹҠߦͰ͖Δ
FileMakerʴWebΞϓϦ • FileMakerʹWebΞϓϦΛϓϥε • ࠓ͋Δͷʹϓϥε͍͚ͯͬ͠ͱ ੈք͕͕Δ • ίετݮख๏ͷ1ͭͱ͍͏ଆ໘
σʔλϕʔεଓ खॱͷ֓ཁ
Step1 σʔλϕʔεΛ༻ҙ FileMaker ServerͰϗετ ΞΧϯτઃఆXML Webެ։ͰͷΞΫηεΛڐՄ͢Δઃఆඞཁ
FileMaker Serverͷଓ • FileMaker ServerͷΧελϜWebެ։ػೳ Λར༻ʢXML Webެ։ʣ • XML Webެ։ͰͷΞΫηεΛڐՄ͢Δ ઃఆ͕ඞཁ • ֦ுΞΫηεݖͷΩʔϫʔυfmxml
New! • INTER-Mediator 5.8ͰFileMaker Server 17 ͷFileMaker Data APIΛαϙʔτ • ֦ுΞΫηεݖͷΩʔϫʔυfmrest
Step2 ఆٛϑΝΠϧΛ࡞ ϑΝΠϧ໊ɿinclude.phpʢྫʣ QIQ SFRVJSF@PODF EJSOBNF @@'*-&@@ */5&3.FEJBUPS*/5&3.FEJBUPSQIQ *.@&OUSZ BSSBZ BSSBZ SFDPSET QBHJOHUSVF OBNFλεΫৄࡉ ϨΠΞτ໊ BSSBZ BSSBZ GBMTF
FileMaker Server Ͱͷݻ༗ͷࣄ • ఆٛϑΝΠϧʹهड़͢Δςʔϒϧ໊ ϨΠΞτ໊Λࢦఆ͢Δ • දࣔೖྗʹඞཁͳϑΟʔϧυΛඞͣ ϨΠΞτ্ʹஔ͢Δ
FileMaker Server Ͱͷݻ༗ͷࣄ • ɺ࣌ࠁ͓ΑͼλΠϜελϯϓϑΟʔ ϧυʹ͍ͭͯFMDateTimeσʔλί ϯόʔλʔΛར༻͢Δ
Step3 ϖʔδϑΝΠϧΛ࡞ ϑΝΠϧ໊ɿindex.htmlʢྫʣ %0$5:1&IUNM IUNMMBOHKB IFBE NFUBDIBSTFU65' NFUBIUUQFRVJW96"$PNQBUJCMFDPOUFOU*&FEHF UJUMF*/5&3.FEJBUPS4BNQMFUJUMF MJOLSFMTUZMFTIFFUUZQFUFYUDTTISFG*/5&3.FEJBUPS4BNQMFT TBNQMFDTT TDSJQUUZQFUFYUKBWBTDSJQUTSDJODMVEFQIQTDSJQU IFBE CPEZ UBCMFUSUEJOQVUUZQFUFYUOBNFUBTLOBNFEBUBJNλεΫৄࡉ!λε ΫUEUSUBCMF CPEZ IUNM
Step4 IMΛμϯϩʔυ • GitHub͔ΒVer. 5.8Λμϯϩʔυ • ʮINTER-Mediatorʯͱ͍͏ϑΥϧμ໊Ͱ index.htmlϑΝΠϧͱಉ͡֊ʹஔ ʢࢀߟʣdist-docsϑΥϧμʹbuildup.shͱ͍͏ σϓϩΠ༻ϑΝΠϧΛੜ͢ΔεΫϦϓτ͕ଘࡏ
Step5 DBଓใͷઃఆ ϑΝΠϧ໊ɿparams.php ʢࠓճINTER-MediatorϑΥϧμͷϑΝΠϧΛฤूʣ QIQ DPNNPOTFUUJOHTGPS%#@'JMF.BLFS@'9BOE%#@1%0 EC6TFS EC1BTTXPSE %#@'JMF.BLFS@'9BXBSFCFMPX EC4FSWFS EC1PSU EC%BUBCBTFλεΫ EC1SPUPDPMIUUQ
αϯϓϧΞϓϦͷ σϞͱհ
σϞ༻αϯϓϧΞϓϦ (1)
σϞ༻αϯϓϧΞϓϦ (1) • BootstrapΛར༻ͯ͠ϖʔδΛ࡞ • Ұ෦ͷػೳJavaScriptͰ࣮
σϞ༻αϯϓϧΞϓϦ (2) • αʔόʔαΠυεΫϦϓτΛ༻ͯ͠ ಈతʹੜͨ͠PDFϑΝΠϧΛදࣔ • FileMaker Server 16Ҏ߱ͰՄೳ • σʔλϕʔεͷϨΠΞτΛ༻׆ • ϑΥϯτIPAϑΥϯτΛར༻
INTER-MediatorΛ ར༻ͨ͠αʔϏεྫ
*/5&3.FEJBUPSΛར༻ͨ͠αʔϏεྫ '.1SFTT1VCMJTIFS w w 'JMF.BLFSσʔλϕʔε͔Β8FCΞϓϦΛੜ σϞαΠτɿIUUQTEFNPFNJDDPKQ
*/5&3.FEJBUPSΛར༻ͨ͠αʔϏεྫ
*/5&3.FEJBUPSΛར༻ͨ͠αʔϏεྫ
*/5&3.FEJBUPSΛར༻ͨ͠αʔϏεྫ
·ͱΊ • FileMakerʴWebͳΒINTER-Mediator • INTER-MediatorͰͷσʔλϕʔε͝ͱͷ ݻ༗ͷࣄʹ͍ͭͯԼهΛࢀর • http://inter-mediator.info/ja/fordevelopers/db.html