Muutke küpsiste eelistusi

E-raamat: REST API Development with Node.js: Manage and Understand the Full Capabilities of Successful REST Development

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 19-Jul-2018
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484237151
Teised raamatud teemal:
  • Formaat - EPUB+DRM
  • Hind: 67,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 19-Jul-2018
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484237151
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Manage and understand the full capabilities of successful REST development. REST API development 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 completely updated second edition provides a brief background on REST and the tools it provides (well known and not so well known), then explains how there is more to REST than just JSON and URLs. You will learn about 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.   

What You'll Learn









Understand how REST and API development mix up with Node.js

Create a scalable, technology agnostic, and uniform interface Prepare your services to be consumed by your clients

Test and deploy your API

Review troubleshooting techniques 

Who This Book Is For







Any Node.js developer who wants to fully understand REST API development. 



Beginner and Intermediate Node.js developers who are looking to fully understand how to create RESTful microservices. 
About the Author xi
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Chapter 1 REST 101
1(38)
Where Did It All Start?
2(2)
REST Constraints
4(7)
Client-Server
4(1)
Stateless
5(1)
Cacheable
6(1)
Uniform Interface
7(2)
Layered System
9(1)
Code-on-Demand
10(1)
Resources, Resources, Resources
11(15)
Representations
11(3)
Resource Identifier
14(1)
Actions
15(5)
Hypermedia in the Response and Main Entry Point
20(6)
Status Codes
26(2)
REST vs. the Past
28(9)
Summary
37(2)
Chapter 2 API Design Best Practices
39(32)
What Defines a Good API?
39(1)
Developer-Friendly
40(6)
Communication's Protocol
40(1)
Easy-to-Remember Access Points
41(1)
Uniform Interface
42(4)
Extensibility
46(4)
How Is Extensibility Managed?
46(4)
Up-to-Date Documentation
50(3)
Proper Error Handling
53(3)
Phase 1 Development of the Client
53(2)
Phase 2 The Client Is Implemented and Being Used by End Users
55(1)
Multiple SDK/Libraries
56(1)
Security
57(9)
Accessing the System
58(8)
Scalability
66(4)
Summary
70(1)
Chapter 3 Node.js and REST
71(30)
Asynchronous Programming
72(9)
Async Advanced
76(5)
Asynchronous I/O
81(6)
Async I/O vs. Sync I/O
85(2)
Simplicity
87(9)
Dynamic Typing
88(1)
Object-Oriented Programming Simplified
89(2)
The new Class construct from ES6
91(2)
Functional Programming Support
93(1)
Duck Typing
94(1)
Native Support for JSON
95(1)
Npm: The Node Package Manager
96(2)
Who's Using Node.js?
98(1)
Summary
99(2)
Chapter 4 Architecting a REST API
101(20)
The Request Handler, the Pre-Process Chain, and the Routes Handler
102(5)
MVC: a.k.a. Model-View-Controller
107(9)
Alternatives to MVC
112(4)
Response Handler
116(3)
Summary
119(2)
Chapter 5 Working with Modules
121(52)
Our Alternatives
122(50)
Request/Response Handling
122(1)
Routes Handling
122(1)
Middleware
123(2)
Up-to-Date Documentation
125(1)
Hypermedia on the Response
125(1)
Response and Request Validation
125(1)
The List of Modules
125(47)
Summary
172(1)
Chapter 6 Planning Your REST API
173(18)
The Problem
173(16)
The Specifications
177(11)
Choosing the Right Modules for the Job
188(1)
Summary
189(2)
Chapter 7 Developing Your REST API
191(70)
Minor Changes to the Plan
192(2)
Simplification of the Store-Employee Relationship
192(1)
Adding Swagger UI
192(1)
Simplified Security
193(1)
A Small Backdoor for Swagger
193(1)
MVC
194(1)
Folder Structure
194(2)
The Source Code
196(63)
config
197(1)
Controllers
197(31)
Lib
228(9)
Models
237(6)
Request_Schemas
243(2)
Schemas
245(9)
Swagger-ui
254(1)
Root Folder
255(4)
Summary
259(2)
Chapter 8 Testing your API
261(22)
Testing 101
261(11)
The Definition
261(3)
The Tools
264(7)
Best Practices
271(1)
Testing with Node.js
272(10)
Testing Without Modules
272(3)
Mocha
275(7)
Summary
282(1)
Chapter 9 Deploying into Production
283(20)
Different Environments
283(8)
The Classical Development Workflow
283(3)
Tips for Your Production Environment
286(5)
Doing the Actual Deployment
291(11)
Shipit
292(3)
What about Continuous Integration?
295(1)
PM2
296(6)
Summary
302(1)
Chapter 10 Troubleshooting
303(12)
Asynchronous Programming
303(5)
The Controllers Action's Code
304(2)
The Middleware Functions
306(2)
Issues Configuring the Swagger UI
308(2)
CORS: a.k.a. Cross-Origin Resource Sharing
310(4)
Summary
314(1)
Index 315
Fernando Doglio has been working as a Web Developer for the past 10 years. In that time, he's come to love the web, and has had the opportunity of working with most of the leading technologies at the time, suchs as PHP, Ruby on Rails, MySQL, and Node. js, Angular.js, AJAX, REST APIs and others. In his spare time, he likes to tinker and learn new things, which is why his Github account keeps getting new repos every month. He's also a big Open Source supporter, trying to convert new people into it. He can be contacted on twitter at: @deleteman123. When not programming, he can be seen spending time with his family.