LEADER 05350nam 22006855 450 001 9910300658803321 005 20230804132421.0 010 $a9781484209172 010 $a1484209176 024 7 $a10.1007/978-1-4842-0917-2 035 $a(CKB)3710000000416754 035 $a(EBL)2094246 035 $a(SSID)ssj0001501681 035 $a(PQKBManifestationID)11901931 035 $a(PQKBTitleCode)TC0001501681 035 $a(PQKBWorkID)11446541 035 $a(PQKB)11089687 035 $a(DE-He213)978-1-4842-0917-2 035 $a(MiAaPQ)EBC2094246 035 $a(CaSebORM)9781484209172 035 $a(PPN)186025505 035 $a(OCoLC)961332336 035 $a(OCoLC)ocn961332336 035 $a(EXLCZ)993710000000416754 100 $a20150526d2015 u| 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aPro REST API Development with Node.js /$fby Fernando Doglio 205 $a1st ed. 2015. 210 1$aBerkeley, CA :$cApress :$cImprint: Apress,$d2015. 215 $a1 online resource (191 p.) 225 1 $aThe expert's voice in web development 300 $aDescription based upon print version of record. 311 08$a9781484209189 311 08$a1484209184 327 $aAbout the Author; Acknowledgments; Contents; Introduction; Chapter 1: Rest 101; Where Did It All Start?; REST Constraints; Client-Server; Stateless; Cacheable; Uniform Interface; Layered System; Code-on-Demand; Resources, Resources, Resources; Representations; Content Negotiation; Using File Extensions; Resource Identifier; Actions; Complex Actions; Hypermedia in the Response and Main Entry Point; A Few Notes on HAL; Status Codes; REST vs. the Past; Summary; Chapter 2: API Design Best Practices; What Defines a Good API?; Developer Friendly; Communication's Protocol 327 $aEasy-to-Remember Access PointsUniform Interface; Transport Language; Why JSON?; Extensibility; How Is Extensibility Managed?; Up-to-Date Documentation; Proper Error Handling; Phase 1: Development of the Client; Phase 2: The Client Is Implemented and Being Used by End Users; Multiple SDK/Libraries; Security; Accessing the System; Almost Stateless Methods; Basic Auth with TSL; Digest Auth; OAuth 1.0a; OAuth 2.0; A Stateless Alternative; Scalability; Summary; Chapter 3: Node.js and REST; Asynchronous Programming; Async Advanced; Parallel Flow; Serial Flow; Asynchronous I/O 327 $aAsync I/O vs. Sync I/OSimplicity; Dynamic Typing; Object-Oriented Programming Simplified; Prototypal Inheritance; Functional Programming Support; Duck Typing; Native Support for JSON; npm: The Node Package Manager; Who's Using Node.js?; Summary; Chapter 4: Architecting a REST API; The Request Handler, the Pre-Process Chain, and the Routes Handler; MVC: a.k.a. Model-View-Controller; Alternatives to MVC; Hierarchical MVC; Model-View-ViewModel; Model-View-Adapter; Response Handler; Summary; Chapter 5: Working with Modules; Our Alternatives; Request/Response Handling; Routes Handling; Middleware 327 $aUp-to-Date DocumentationHypermedia on the Response; Response and Request validation; The List of Modules; HAPI; Code Examples; Express.js; Code Examples; Restify; Code Examples; Naming Routes; Versioning Routes; Content Negotiation; Vatican.js; Code Examples; swagger-node-express; Code Examples; I/ODocs; Code Examples; Halson; Code Examples; HAL; Code Examples; JSON-Gate; Code Examples; TV4; Code Examples; Summary; Chapter 6: Planning Your REST API; The Problem; The Specifications; Keeping Track of Stock per Store; UML Diagram; Choosing a Database Storage System; Fast Integration 327 $aThe Controllers Action's Code 330 $aPro REST API Development with Node.js is your guide to managing and understanding the full capabilities of successful REST development. API design is a hot topic in the programming world, but not many resources exist for developers to really understand how you can leverage the advantages. This book will provide a brief background on REST and the tools it provides (well known and not so well known). Understand how there is more to REST than just JSON and URLs. You will then cover and compare the maintained modules currently available in the npm community, including Express, Restify, Vatican, and Swagger. Finally you will code an example API from start to finish, using a subset of the tools covered. The Node community is currently flooded with modules; some of them are published once and never updated again - cluttering the entire universe of packages. Pro REST API Development with Node.js shines light into that black hole of modules for the developers trying to create an API. Understand REST API development with Node.js using this book today. 606 $aInternet programming 606 $aSoftware engineering 606 $aWeb Development 606 $aSoftware Engineering 615 0$aInternet programming. 615 0$aSoftware engineering. 615 14$aWeb Development. 615 24$aSoftware Engineering. 676 $a004 700 $aDoglio$b Fernando$4aut$4http://id.loc.gov/vocabulary/relators/aut$0867246 801 0$bUMI 801 1$bUMI 906 $aBOOK 912 $a9910300658803321 996 $aPro REST API Development with Node.js$91935704 997 $aUNINA