圖書標籤: api API 計算機 程序設計 web rest Web
发表于2024-11-24
Build APIs You Won't Hate: Everyone and their dog wants an API, so you should probably learn how to pdf epub mobi txt 電子書 下載 2024
API development is becoming increasingly common for server-side developers thanks to the rise of front-end JavaScript frameworks, iPhone applications, and API-centric architectures. It might seem like grabbing stuff from a data source and shoving it out as JSON would be easy, but surviving changes in business logic, database schema updates, new features, or deprecated endpoints can be a nightmare. After finding many of the existing resources for API development to be lacking, Phil learned a lot of things the hard way through years of trial and error. This book aims to condense that experience, taking examples and explanations further than the trivial apples and pears nonsense tutorials often provide. By passing on some best practices and general good advice you can hit the ground running with API development, combined with some horror stories and how they were overcome/avoided/averted. This book will discuss the theory of designing and building APIs in any language or framework, with this theory applied in PHP-based examples.
About the Author
Phil has seen a few trends come and go during a long and varied career of building stuff for money as an employee, freelancer, consultant and now CTO. One trend over recent years is the rise of APIs as an everyday part of the average server-side developers job. Back in 2009 Phil released a CodeIgniter Rest Server, wrote a few articles about how to use it and built handfuls of APIs for his freelance clients. This tool was fairly basic, but covered HTTP-based routing, HTTP Basic/Digest/API Key authentication, added logging and throttling and did not force CRUD-based conventions. The internet seemed to like it, and this code is still used by Apple, the UN and USA.gov. Later on as a core-contributor to FuelPHP he added this functionality to the core, and again built out a bunch of APIs for people. Then he got a job in NYC, to take over as Lead Engineer for a company that - you guessed it - had a FuelPHP API and wanted to improve it. After two years of working on their API, Phil has moved to Ride.com, building their API with an amazing team of developers. Phil has been building APIs for so long, he has come up with a very long list of ways to make them not suck, and he'd like to share the information with you all.
eBook. 算是跟著能做無啥大錯的 API 設計。不少關鍵詞還是能擴展開去看的。作為兩天晚上不到就能翻完的輕鬆愉快小書還是推薦翻翻的……
評分給齣瞭一些設計決策的優缺點,這是這本書最值得看的
評分一讀就停不下來的好書,力薦! 書中有很多實例分析, 用典型的what why how方式講清瞭API設計和實現中的重要的環節, 我認為是任何要寫web API的工程師都應該一讀的好書.
評分REST相關API設計可以參考
評分REST相關API設計可以參考
評分
評分
評分
評分
Build APIs You Won't Hate: Everyone and their dog wants an API, so you should probably learn how to pdf epub mobi txt 電子書 下載 2024