The book is available through O’Reilly here:
PHP Web Services (affiliate link)
This course covers everything from the basics (not total beginner, you should read a tutorial first!) through configuring your machine, day-to-day taking care of your own work … right through to managing team workflows and integrating with other tools in the development process. The tools in this area have improved significantly in recent years and I enjoyed this opportunity to share them.
With hands-on examples of how to solve real-world problems, and topics running the whole spectrum from installing git through to skills such as rebasing, using submodules and finding faults in a large repository, this text is your “level up” for all your git skills. The chapters are mostly pretty short, so you can just work through at your own pace on whatever time you can find, and the hands-on elements mean that you’re sure to remember and understand the skills you’re learning.
I’ve also picked the best of things that make developers go “wait. Do that again?” and shared it here. There’s commandline PHP, for scripts, the built-in webserver, and also for writing workers that can integrate with queues. For the neglected area of security, there are some really easy ways to make sure you’re “doing it right” in your application, so both the new password functionality and the filter extension are here. And I’ve also included a section on using PDO for accessing databases – this is used internally in most frameworks now, but there are any number of reasons why you might like to write your code yourself (performance, for one) so understanding PDO can help a lot for database-driven applications.
You can get the course directly from oreilly.com
The course covers the tools we use to work with APIs: curl, streams and Guzzle (version 4) are my top recommendations for PHP and they’re all shown, both in their own right and also for the later examples of other things. There is REST as well as the more traditional SOAP and RPC services, and both XML and JSON are covered. There’s also some less-PHP content, covering how to debug APIs, using testing endpoints and tools such as commandline curl, Wireshark and Charles Proxy, and also a chapter on good API design, with recommendations of what works to make a kick-ass API.
You can buy the video directly from O’Reilly’s site
This book will continue to grow (updates are free, once you’ve bought it, you’ll get new installments as we release them) as we find the time and inspiration to add to it – such a fun project and also I hope a useful guide for those starting their journey today or looking to move up a gear in career terms. http://leanpub.com/nways
There’s a chapter on OOP, beginning at the very beginning and then taking a tour through the finer points of the language. Most importantly, it shows how and when to use the various features, and has working code examples to accompany it. To follow on, there’s also a chapter on design patterns, also with real examples, and a later section on SPL which is a great way to build elegant object-oriented code in PHP.
One thing I often find myself working with developers on is their databases, data structure and also how to actually talk to the database efficiently. The book has a chapter that covers both aspects, how to normalise data and then how to work with it from PHP using PDO.
All in all, getting together with some peers to work out what we’d tell someone who isn’t a beginner, but wants to learn and can handle some quite heavyweight technical ideas, was a lot of fun and personally I think the topics list covers it all quite nicely. I’m recommending this book to everyone looking for an up-to-date text bringing their development skills up a level in a good, all-round way.
Download PDF: You’re not using source control? Read This!