Reputation: 123
i have two small questions about the mobilefirst- Server.
I found out, that the mobilefirst (or Worklight)-Server doesn't support PHP. (IBM Worklight 6.0 - How to include a PHP file?) Is that still so? Or is there any plan to include PHP?
Then I want to call RPG's with an Java-Adapter. But I doesn't find any full example for calling a RPG. Also I want to call RPG's with a Display File. Is that possible? In the following article it sounds like it is easily possible: http://www.it-zoom.de/dv-dialog/e/vom-greenscreen-zum-touchscreen-10865/
Upvotes: 0
Views: 202
Reputation: 251
IBM MobileFirst server sits on top of a WebSphere Java EE based App Server. The MobileFirst Platform Adapter pattern is a server-side layer that provides abstraction to any generalized end-point; including PHP, SQL, SAP, whatever. So as long as your final endpoint is capable of acting as a "service", accepting HTTP requests, and producing JSON/XML responses, this pattern should work fine. The basic flow is:
Hope this helps clarify the pattern for you.
Upvotes: 1
Reputation: 17782
PHP is a server-side HTML rendering technology. MobileFirst is (partly) for building hybrid mobile applications, which run on the client (mobile), so PHP wouldn't be relevant.
I'm not sure what an RPG is. Please can you specify the acronym in your question?
Upvotes: 0