Monday, July 24th, 2006
On his blog, Jacob Santos has written up two simple “gotchas” that he’s come across in his PHP/XMLHttpRequest adventures and wanted to share with other developers forging their way through the same experience.
He talks briefly about his PHP backend and the methods that are available to return data in (XML/HTML/JSON) before talking about the issues he found:
- Donâ€™t Create an Instance of the Same Object For multiple Tasks
- Always Call XMLHttpRequest Object First
For both, he gives a bit of code to explain the issue and to illustrate a workaround method, including the full code at the end of the post.
Posted by Chris Cornutt at 9:34 am