I'm wondering if it's possible to write a filemaker plug-in using swift ?
The SDK is in C++.
You may be able to embed Swift code in the plugin, but I don't think there is much to gain...
Hi Vincent, maybe you want to vote for the next idea.
Playground SWIFT for FM -> insideFM -> to create Plugin & personalized functions
Im using Swift with C++ and Obj-C code inside one plug-in project. So its possible, however its tricky.
Having written a couple of C++ FMP plug-ins, I would recommend that you consider coding a micro-service instead of a C++ plugin for various reasons.
For example, a micro-service can be used by multiple clients (Terminal, Browser, other programs like .NET, Java, Python, ...., and, sure, FMP).
Key point: FMP is not a micro-service dependency as with a plug-in. And, the C++ FMP plug-in market is relatively small and definitely proprietary so you're at the whim of FMI release to release. So, if you ever chose to leave the FMP platform, your micro-service code doesn't care and will continue to work with other programming clients. Since the micro-service isn't dependent on FMP, you've lost none of your work on your micro-service logic.
I'm not trying to downplay FMP's excellence here at all. FMP's INSERT FROM URL command works wonderfully with micro-services; the FMP/micro-service connectivity is excellent!
Here's more info...
A non-proprietary micro-service is a (usually) small REST-based program that listens on a port for Requests (GET, POST, ...). You create methods (functions) that implement the programming functionality you need.
Key benefits of micro-services include:
▪ (Java-Compiled) Service Code Runs .... EXTREMELY FAST
(Note: Most modern programming languages, including Java and Python, support micro-services.)
Check out my two micro-service tutorials in the App Innovations Area:
Create Micro-Services Using Java and the Spark Java Framework
The Simplest Micro-Service! (Python and Flask)
Retrieving data ...