l3msip Posted March 7, 2013 Share Posted March 7, 2013 Hello, very new to presta but not new to programming. Considering using presta for a new project, part of which would include a desktop app that would handle some of the back office features (primarily managing the products catalog). This is required as it will need to interface with an ancient proprietary database system that does not like to release its data. I am trying to decide whether to utilize the web api or connect directly with the database. I appreciate this is hardly a common scenario, but if anyone has done similar or has good reasons to suggest one over the other, please let me know. This is a functionality rather than security question, if i do go with remote sql access, it will be ip locked and the software installed on a secure inhouse computer Link to comment Share on other sites More sharing options...
Radu Posted March 7, 2013 Share Posted March 7, 2013 For me it's simpler to use the API, you also have examples and documentation here: http://doc.prestashop.com/display/PS15/Using+the+PrestaShop+Web+Service 1 Link to comment Share on other sites More sharing options...
l3msip Posted March 7, 2013 Author Share Posted March 7, 2013 Thanks for replying, i took a quick look at the docs for the web api, and it does seem the simpler option, it also seems like a more logical separation of concerns. My main concern would be speed, but i guess i should just test it out. The other more hacky option would be a sql table export > modify locally > import scenario, but i can forsee headaches with that! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now