Parsing XML with PHP: An API case

The SimpleXML parsing classes were used to interface an API via cURL functionality. One of the things that I learnt was that it is one can later embed all this functionality perhaps to create a plugin that can interface some other APIs. These sets of functions are consumers because the logic for getting the first piece of information from outside always resides in a simple logic of actually getting this information to mainly display purposes. If the logic builds up from the consumer side then the application could turn into more than just presenting information and the interaction with the web application would become more interesting of course. It is interesting to see this capability as standalone because this will enable us to use it further into the future when we would be working within symfony where the approach is rather from the inside out as a plugin probably.

If you happen to require consulting with SimpleXML and wordpress please let us know through the form on the website.

Leave a Reply

Your email address will not be published. Required fields are marked *