Hi,
I have a question about Combu and the acces from external website.
Do you have some tips / solutions / advices to acces data from the Combu's DB and then show the data on another website ?
i.e : I have some users information on Combu and I want to acces these information on my website for login and more.
Thank you for your answers,
Best regards,
JoRangers
Yes it's possible, though it requires knowledge of PHP programming.
If the website is on the same server/web space where Combu is installed then it's pretty easy since you can just include /combu/lib/api.php and then use the core server classes. If your website is on a different server then you'll need to create your own web services in the Combu server to be called from your website pages through Ajax javascript.
The server classes are actually not officially documented (even if there's lots of comments inside the PHP code) but if you have experience in PHP then you can take a look at the web services in the root of Combu to see what are the methods to use (almost all classes have static Load [or similar, with different parameters for each class], member Save and Delete methods), they're very easy to understand if you know PHP as I've coded everything in Object Oriented Programming so you have classes for all entities.
If you don't know how to code in PHP then I'm available for small works like this to implement the webservices for you (and also HTML/Javascript code if you're not experienced in web programming at all). In this case you can contact me by PM and send your Skype ID to schedule a chat about your needs.
Probably the most tricky part is the implementation of the login system, for which it's probably required the implementation of a custom add-on for security reasons (probably the best and most secure way is to implement server side calls to the web services instead of making calls through Javascript, so that a malicious user of your website doesn't know the real URL and parameters of the web services, and then use the web server's built-in session variables).
FRANCESCO CROCETTI @ SKARED CREATIONS