Cantitate/Preț
Produs

CORS in Action

Autor Monsur Hossain
en Limba Engleză Paperback – 31 oct 2014

ABORDAREA PRACTICĂ: CORS in Action prioritizează implementarea imediată în detrimentul teoriei abstracte, oferind un flux de lucru bidirecțional. Notăm cu interes faptul că Monsur Hossain nu se limitează la simpla activare a accesului cross-domain, ci detaliază mecanismele interne ale browserului care blochează cererile sub politica „same-origin”. Subliniem structura logică a volumului: începe cu bazele cererilor client-side, avansează către configurarea antetelor pe server și culminează cu strategii avansate de debugging și securitate. Cititorul care a aplicat deja ideile de design din Mastering REST APIs va găsi aici piesa lipsă din puzzle-ul arhitectural: modul în care securizezi și expui aceste resurse către domenii terțe fără a compromite integritatea datelor. În timp ce API Security in Action oferă o privire de ansamblu asupra securității, volumul de față se concentrează chirurgical pe specificația CORS, explicând de ce cererile de tip „preflight” sunt esențiale și cum pot fi optimizate pentru a reduce latența. Analiza tehnică acoperă inclusiv gestionarea cookie-urilor și a antetelor de răspuns personalizate, elemente critice pentru aplicațiile mobile moderne unde suportul pentru CORS este nativ. Putem afirma că parcurgerea acestui ghid transformă o eroare frustrantă de consolă într-un instrument controlat de partajare a resurselor, oferind soluții concrete pentru scenariile în care infrastructura este distribuită pe mai multe domenii.

Citește tot Restrânge

Preț: 24285 lei

Preț vechi: 30355 lei
-20%

Puncte Express: 364

Carte tipărită la comandă

Livrare economică 01-15 iunie


Specificații

ISBN-13: 9781617291821
ISBN-10: 161729182X
Pagini: 240
Dimensiuni: 187 x 233 x 22 mm
Greutate: 0.43 kg
Editura: Simon & Schuster Distribution Clients

De ce să citești această carte

Recomandăm această carte dezvoltatorilor JavaScript care s-au lovit de restricțiile de securitate ale browserului în lucrul cu API-uri externe. Veți câștiga o înțelegere tehnică profundă a modului în care serverul și clientul negociază accesul la date, învățând să configurați corect antetele HTTP și să evitați vulnerabilitățile comune. Este un ghid esențial pentru a construi aplicații web moderne, scalabile și sigure.


Despre autor

Monsur Hossain este un inginer software de prestigiu în cadrul Google, unde a jucat un rol activ în dezvoltarea ecosistemului de interfețe de programare. Experiența sa profesională include lucrul la proiecte fundamentale precum Google JavaScript Client și APIs Discovery Service. Implicarea sa directă în implementarea suportului CORS pentru infrastructura Google îi oferă o perspectivă rară și extrem de tehnică asupra provocărilor de interoperabilitate web, făcându-l una dintre cele mai avizate voci în domeniu.


Notă biografică

AUTHOR BIO Monsur Hossain is a Software Engineer for Google, where he has worked on API-related projects such as the Google JavaScript Client, the APIs Discovery Service, and CORS-support for Google APIs. He maintains the site enable-cors.org.

Descriere scurtă


RETAIL SELLING POINTSCORS from the ground up
Best practices for building CORS APIs
Explains different cross-origin technologiesCORS security
AUDIENCE
This book is written for web developers with a working knowledge of JavaScript. No CORS experience is required.

Descriere

Summary CORS in Action introduces Cross-Origin Resource Sharing (CORS) from both the server and the client perspective. It starts with the basics: how to make CORS requests and how to implement CORS on the server. It then explores key details such as performance, debugging, and security. API authors will learn how CORS opens their APIs to a wider range of users. JavaScript developers will find valuable techniques for building rich web apps that can take advantage of APIs hosted anywhere. The techniques described in this book are especially applicable to mobile environments, where browsers are guaranteed to support CORS. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book Suppose you need to share some JSON data with another application or service. If everything is hosted on one domain, it's a snap. But if the data is on another domain, the browser's "same-origin" policy stops you cold. CORS is a new web standard that enables safe cross-domain access without complex server-side code. Mastering CORS makes it possible for web and mobile applications to share data simply and securely. CORS in Action introduces CORS from both the server and the client perspective. It starts with making and enabling CORS requests and then explores performance, debugging, and security. You'll learn to build apps that can take advantage of APIs hosted anywhere and how to write APIs that expand your products to a wider range of users. For web developers comfortable with JavaScript. No experience with CORS is assumed. What's Inside CORS from the ground upServing and consuming cross-domain dataBest practices for building CORS APIsWhen to use CORS alternatives like JSON-P and proxies About the Author Monsur Hossain is an engineer at Google who has worked on API-related projects such as the Google JavaScript Client, the APIs Discovery Service, and CORS support for Google APIs. Table of Contents PART 1 INTRODUCING CORSThe Core of CORSMaking CORS requestsPART 2 CORS ON THE SERVERHandling CORS requestsHandling preflight requestsCookies and response headersBest practicesPART 3 DEBUGGING CORS REQUESTSDebugging CORS requests APPENDIXESCORS referenceConfiguring your environmentWhat is CSRF?Other cross-origin techniques