I'm developing a WordPress website in which I have to show data/information stored inside a Liferay database. I am new to Liferay, so I don't know the best practices to access data stored into Liferay's DB and show them to my website.
I want to know if there are some guides or documentation that can explain to me how I can access data, in the same way that I access a MySQL DB with PHP. I also took a look at the official Liferay documentation, but it only describes accesses through the usage of PHP portlets.
Is there another way to connect to database and get back data from a query, or do I have to perform a sort of "middleware" translation from data in Liferay to my website?
My CMS contains data formatted in XML, so have I to do a translation from XML to PHP-style variables? Also, do I need to create a sort of correspondence from XML objects to PHP variables?