在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):tlhunter/consumer-centric-api-design开源软件地址(OpenSource Url):https://github.com/tlhunter/consumer-centric-api-design开源编程语言(OpenSource Language):TeX 98.2%开源软件介绍(OpenSource Introduction):Consumer-Centric API DesignThis book covers a wide range of information regarding the design of HTTP-based APIs. The intent is to build easy-to-use APIs which your consumers will love. Everything from URL design and consistent usage of HTTP methods to more esoteric topics such as authentication paradigms and permissions are covered. My goal is to eventually get this published (either self-published or through a publisher) and sell copies. One might think making content freely available while also planning on selling it would be disasterous, but hey, if it works for Trent Reznor perhaps it can work for me. The book is currently around 55 pages long. If there is any content you feel the book is missing, please submit a question in the form of an issue and I'll go ahead and write about it! Buy a Physical CopyA physical copy of this book is now available for purchase via Amazon! If you would like to support this project please consider purchasing a copy: Consumer Centric API Design on Amazon ($14) Downloading PDFsThe PDFs make heavy usage of hyperlinking within the document. The Table of Contents, for example, link to relevant sections. References to figures will link to the figure. References will link to more information in the back of the book. Pages will have alternating margins, as this is intended to be printed front and back. All diagrams are rendered in vector to keep filesize small and quality high. Screenshot from Evince highlighting hyperlinks Table of Contents
ContributingIf you'd like to see more topics covered in this book, submit an issue with your question and I'll either research and write up some content, ask for clarification, or possibly close the issue if it feels too outside the scope of the book. If you'd like to write content for the book, submit a pull request and I'll check it out (contact me beforehand just to make sure the topic you write about is something that'll fit into the scope of the book). When this happens, I'll come up with some sort of system for keeping track of contributors, and probably have a dedicated page in the book itself. Content submitted in this manner will be given the once over by yours-truly to ensure consistency in writing style. Of course, any contributions made to this book will give me (and whatever publisher I go with) non-exclusive rights to do whatever we want with it. Sorry, legal stuff. Installing LaTeXInstalling LaTeX will allow you to build the book yourself if you plan on contributing. However, it is not necessary that you have LaTeX installed nor that your content properly adheres to the spec. If you don't want to go through the effort to learn it, simply toss some content where you think it should go, submit a pull request, and I'll look it over and make the necessary modifications. OS XThere's a convenient package you can install called MacTeX. Once you install
MacTeX, you'll want to add it's directory to your PATH, e.g. append the following to PATH="$PATH:/usr/texbin"
export PATH There's also a homebrew cask you can tap, but in the background it grabs that same package. Debian/Ubuntu LinuxIf you're using a Debian-based linux distribution (e.g. Ubuntu), install the package
Other distributions may have different package names. WindowsOn windows, you can install the MiKTeX project (although you won't be able to run
Building the BookOnce you have LaTeX run the following command from within the book directory:
The book will be named something like LicenseAttribution-NonCommercial-NoDerivatives 4.0 International You are free to:Share — copy and redistribute the material in any medium or format The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms:
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. Notices:You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation. No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论