I’m currently working in a Java environment, creating Java based RESTFul Webservices, and currently have my business logic in a Java based environment. I am looking at Expression Engine for my CMS. I know that Expression Engine does not run on a Java based environment, so I was wondering if there is a certain type of “middleware” that Expression Engine uses to handle the data pass and management of logic that is currently in Java to provide a customized user experience.
Thanks!
How would Expression Engine make a call to a webservice? Is there some “middleware” code that would need developed? Also, based on the data returned from the service, if there is some business logic that needs to occur before displaying to the user, would this be done in some “middleware” code? We are looking at maybe getting off the Java platform for our site, and wanting to use Expression Engine, but I’m assuming there would need to be some sort of “middleware” code that sits between the webservice and the front-end Expression Engine code/
Thanks!
Have a look at http://reinos.nl/expressionengine/webservice/overview - an addon that might do what you need.
Typically if the remote service is providing the data you could import that data into ExpressionEngine channel, then output to the front end. Otherwise if EE provides the data you can easily write things like JSON/XML etc templates to provide the web service.
There’s lots of ways of approaching it, but it really depends exactly what you want to do.
That’s more for providing webservices for others to consume from Express Engine, isn’t it? I’m more interested in the other way, where Expression Engine makes a call to a webservice, and receives the data back, and does some processing. Where would all of that happen if we used Expression Engine? This is what I’m referring to with the word “middleware”. For example, data is returned from the webservice, but some business logic needs to be done with that data before the page is displayed.
thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.