Does PHP API use the WURFL Cloud
Posted: Fri Jan 03, 2014 1:55 pm
Hi, I'm a relatively new use to Scientamobile's cloud service.
I signed up last month to use the cloud service and have been using it with a java. I configured it with my API key and it runs my pages fine, all is good.
I decided to cross over and try this all in PHP. So I went over to the site and downloaded the PHP API 1.5 (not the TERA-WURFL Database version, the PHP API). I followed instructions and got this up and working, but at no time did it request anything like my API key, or anything else that I needed to configure in the previous case. I'm also getting a lot more information out of this then I got with the WURFL cloud.
So this leads me to the question: is this even using the WURFL Cloud? Or is it building an xml/json-style file system that serves the same function as a WURFL database? It seems like it might be since the first execution took a very long time. That being said, if that was the case, how will the local files get updated as new files come out? The cloud gets automatically updated so requests for new devices aren't a problem, even if I'm getting less information. What's the situation for the PHP API? How would that get updated? Would you have to download the next version, or would there be a call you could make to update the data?
If there's no way around this and it sounds problematic... is there a way for PHP to contact my account on the WURFL cloud per-call using the API key? I thought PHP API would do this, but it doesn't seem to be what's going on.
I signed up last month to use the cloud service and have been using it with a java. I configured it with my API key and it runs my pages fine, all is good.
I decided to cross over and try this all in PHP. So I went over to the site and downloaded the PHP API 1.5 (not the TERA-WURFL Database version, the PHP API). I followed instructions and got this up and working, but at no time did it request anything like my API key, or anything else that I needed to configure in the previous case. I'm also getting a lot more information out of this then I got with the WURFL cloud.
So this leads me to the question: is this even using the WURFL Cloud? Or is it building an xml/json-style file system that serves the same function as a WURFL database? It seems like it might be since the first execution took a very long time. That being said, if that was the case, how will the local files get updated as new files come out? The cloud gets automatically updated so requests for new devices aren't a problem, even if I'm getting less information. What's the situation for the PHP API? How would that get updated? Would you have to download the next version, or would there be a call you could make to update the data?
If there's no way around this and it sounds problematic... is there a way for PHP to contact my account on the WURFL cloud per-call using the API key? I thought PHP API would do this, but it doesn't seem to be what's going on.