We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Expression Engine and Webservices

News and General

rait's avatar
rait
3 posts
8 years ago
rait's avatar rait

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!

       
Rob Allen's avatar
Rob Allen
2,950 posts
8 years ago
Rob Allen's avatar Rob Allen

Welcome to the forums.

I know nothing about Java, what sort of “middleware” are you looking for, if you can give an example of what you’re trying to achieve that might help with an answer.

Just in case https://devot-ee.com/add-ons/entry-api

       
rait's avatar
rait
3 posts
8 years ago
rait's avatar rait

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!

       
Rob Allen's avatar
Rob Allen
2,950 posts
8 years ago
Rob Allen's avatar Rob Allen

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.

       
rait's avatar
rait
3 posts
8 years ago
rait's avatar rait

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!

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
8 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Rait,

In that case you would develop an Add-on. If we are talking REST, SOAP APIs, it’s easily done with standard PHP and a custom Add-on.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.