What kind of PHP book can I read, preferably something new and recent.
The level of knowledge is quite high, it’s just that I haven’t done it for a long time, and technologies do not stand still. )
Answer 1, authority 100%
In my opinion, the most complete presentation of php5 is in Koterov’s book – PHP5 in the original (2nd edition).
There it affects both ajax and xml in particular. It will be useful for both beginners and pros.
Also, if you are interested in Ajax separately, then Dari’s book – AJAX and PHP is replete with all sorts of examples on this subject
If you want to know all the OOP features for PHP:
Zandstra M. PHP. Objects, Patterns, and Programming Techniques
All about Ajax:
Powell T. Ajax. Complete Guide
Leon Shklyar, Rich Rosen Web Application Architecture
For Ajax, it is more convenient to use the JSON format. It is lighter and more understandable than XML. In JSON, you can pass arrays, objects.
These functions only understand UTF-8 encoding.
On the client side, you get the function
At the output, you get a ready-made parsed array.