دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: G. Punathil
سری:
ISBN (شابک) : 9789391392338
ناشر:
سال نشر: 2022
تعداد صفحات: 422
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 7 Mb
در صورت تبدیل فایل کتاب Building Production-ready Web Apps with Node.js: A Practitioner’s Approach to produce Scalable, High-performant, and Flexible Web Components به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب ساختن برنامه های وب آماده تولید با Node.js: یک رویکرد پزشک برای تولید اجزای وب مقیاس پذیر، با کارایی بالا و انعطاف پذیر نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
توسعه اپلیکیشن وب را از طریق تفکر طراحی و موارد استفاده مصور یاد بگیرید. ویژگی های کلیدی ● از رهبر جامعه Node.js برای طراحی برنامه های کاربردی آماده یاد بگیرید. ● مثالها و موارد استفاده متعدد نشان میدهند که چگونه اجزای وب را به انتخاب خود ایجاد کنید. ● بهترین شیوههای نوشتن کدهای بدون خطا و با کارایی بالا برای مقیاسبندی برنامههای Node.js را پوشش میدهد. توضیحات "ساخت برنامه های وب آماده تولید با Node.js" به شما می آموزد که چگونه یک برنامه وب از درون به بیرون با تصاویر دقیق اجزای مختلف کار می کند. شما باید بتوانید از دانش خود برای توسعه برنامه های کاربردی وب جدید، بهبود برنامه های کاربردی موجود، یا معماری مجدد برنامه ها برای برآورده کردن ویژگی های بار کاری جدید یا سناریوهای استقرار استفاده کنید. این کتاب که توسط یک رهبر جامعه Node.js نوشته شده است، شما را در جنبههای مختلف یک برنامه کاربردی وب راهنمایی میکند، که با انتخاب پلتفرم شروع میشود و با تعیین مشکل تولید به پایان میرسد. این ویژگیهای منحصربهفرد Node.js را ارائه میدهد که باعث میشود در بارهای کاری IO عملکرد بالایی داشته باشد. سپس این کتاب شما را از طریق اجزای یک برنامه تحت وب، مانند بخش جلویی، بکاند، توابع میانافزار، پایگاه داده و خدمات شخص ثالث راهنمایی میکند. چندین مطالعه موردی در دنیای واقعی و مثال های گویا وجود دارد که به شما کمک می کند دانش را به راحتی درونی کنید. اگر این کتاب را بخوانید، باید بتوانید آنچه را که آموخته اید در موقعیت شغلی فعلی خود به کار ببرید. این کتاب توانایی درک و منطقی کردن ملاحظات طراحی فناوری های مدرن وب را در اختیار شما قرار می دهد. آنچه خواهید آموخت ● نحوه ایجاد اجزای برنامه وب را از صفر بیاموزید. ● راهنمایی متخصص در مورد بهینه سازی عملکرد اجزای پشتیبان دریافت کنید. ● توانایی تبدیل برنامه های کاربردی یکپارچه به میکروسرویس ها را توسعه دهید. ● از تکنیک های پیشرفته برای اختراع مجدد اجزای وب برای حداکثر قدرت تولید استفاده کنید. این کتاب برای چه کسی است. تجربه قبلی با برنامه نویسی جاوا اسکریپت ترجیح داده می شود اما الزامی نیست. فهرست مطالب 1. شروع به کار با اصول اولیه 2. راه اندازی محیط 3. مقدمه ای بر وب سرور 4. اولین برنامه ما: زمان سرور در روز 5. رابط های شبکه مشترک Node.js 6. اجزای اصلی وب سرور 7. تعامل با اجزای Backend 8. پیاده سازی ویژگی های رایج وب سایت 9. ساخت وب سایت ما درجه تولید 10. بهترین روش ها برای کد با عملکرد بالا 11. اشکال زدایی ناهنجاری های برنامه
Learn web application development through design thinking and illustrated use-cases. KEY FEATURES ● Learn from Node.js community leader to design production-ready applications. ● Numerous examples and use-cases demonstrate how to create web components of your choice. ● Covers best practices on writing error-free and high-performant codes for scaling Node.js apps. DESCRIPTION 'Building Production-ready Web Apps with Node.js' teaches you how a web application works from the inside out with detailed illustrations of the various components. You should be able to use the knowledge to develop new web applications, enhance existing applications, or re-architect applications to meet new workload characteristics or deployment scenarios. This book, written by a Node.js community leader, walks you through the various aspects of a web application, beginning with platform selection and ending with production problem determination. It offers unique Node.js features that make it a high-performer in IO workloads. The book then walks you through the components of a web application, such as the front-end, back-end, middleware functions, database, and third-party services. There are several real-world case studies and illustrative examples to help you internalize the knowledge easily. If you read this book, you should be able to apply what you've learned in your current job situation. This book will provide you with the ability to appreciate and rationalize the design considerations of modern web technologies. WHAT YOU WILL LEARN ● Learn how to create web app components from zero. ● Receive expert guidance on optimizing backend components' performance. ● Develop the ability to convert monolithic applications to microservices. ● Utilize cutting-edge techniques to reinvent web components for maximum production strength. WHO THIS BOOK IS FOR This book is intended for students, mobile developers, application developers, and architects who want to create and redesign web applications. Prior experience with JavaScript programming is preferred but not required. TABLE OF CONTENTS 1. Getting Started with the Fundamentals 2. Setting up the Environment 3. Introduction to Web Server 4. Our First program: Time of the Day Server 5. Common Networking Interfaces of Node.js 6. Major Web Server Components 7. Interacting with Backend Components 8. Implementing Common Website Features 9. Making our Website Production Grade 10. Best Practices for High Performant Code 11. Debugging Program Anomalies
Cover Page Title Page Copyright Page Dedication Page About the Author About the Reviewer Acknowledgement Preface Errata Table of Contents 1. Getting Started with the Fundamentals Structure Objective Introduction to event-driven architecture Calculator example Number sorting example Echo example Web page access example Web server example Windows event loop Messaging example Introduction to asynchronous programming Program interrupt example Multimedia example JavaScript web page example Operating system scheduler example Introduction to functional programming Function passed as a value Function returned as a result Function as assignment subject Closure functions Closure context Concurrency Cooking example Progress bar example Garbage collection Parallelism Distributed word counting example Concurrency versus parallelism Similarity Differences Concurrency and scalability Thread pooling Horizontal scaling Introduction to Node.js Latency in computer systems CPU bound and I/O bound operations Characteristics of web workload Bringing the context of scalability Bringing back the context of asynchronous programming Bring back the context of event-driven architecture Bring back the context of functional programming Core Node.js features Structure APIs Streams Small core philosophy npm Conclusion Points to remember 2. Setting Up the Environment Structure Objective Platform selection Node.js version selection Dependencies selection Resource requirements Code editor selection Conclusion 3. Introduction to Web Server Structure Objective Introduction to web server Core components Client Web layer Middleware Business logic layer The microservice layer Concerns and considerations of web servers Comparison of a desktop and a web server Similarities Differences Web server considerations: Architecture Microservice architecture Web server considerations: Performance Performance overheads Best practices Web server considerations: Security Security threat types Best practices Web server considerations: Reliability Examples of reliability issues Best practices Web server considerations: Extensibility Examples of extensibility Best practices Web server considerations: Maintainability Importance of maintainability Best practices Web server considerations: Serviceability Best practices Web server considerations: Observability Importance of observability Best practices Conclusion 4. Our First Program: Time of the Day Server Structure Objective A ‘hello world!’ server Running the program Accessing the server through the browser A Time of the Day Server Program sections Require statement The server loop The date The server response The server listen Conclusion Exercises Problem #1 Problem #2 5. Common Networking Interfaces of Node.js Structure Objective Network programming Why a protocol? At the calling function side At the called function side TCP/IP HTTP POST / verb HTTP/1.1 Host Content-Type Content-Length Node.js streams Node.js buffers Request and response objects Request Response Request and response life cycle Request life cycle ‘aborted’ ‘close’ ‘data’ ‘end’ Response life cycle ‘close’ ‘finish’ Server configuration ‘maxHeadersCount’ ‘timeout’ Server’s life cycle events ‘listening’ ‘connect’ ‘close’ Other networking APIs HTTPS HTTP 2 UDP Conclusion 6. Major Web Server Components Structure Objective Introduction A static file server Use case Definition Implementation HTTP verbs (request methods) Use case Definition Implementation Route Use case Definition Implementation Endpoints Cookie Use case Definition Implementation Cookie attributes Session Use case Definition Implementation Request forwarding Use case Definition Implementation Multipart form-data Use case Definition Implementation Body parser Use case Definition Implementation Cross-Origin Resource Sharing (CORS) Use case Definition Implementation Dynamic web page Use case Definition Implementation HTTP status codes Use case Definition Implementation Server security Use case Definition Implementation Data privacy and integrity Cross-Site Scripting (XSS) (Distributed or non-distributed) Denial of Service Brute force (weak authentication) Conclusion 7. Interacting with Backend Components Structure Objective Backend components: internal services Intent Design considerations Functional Performance Reliability Security Serviceability Backend components: external services Intent Design considerations Functional Performance Reliability Security Serviceability Backend components: database Intent Design considerations Functional Performance Database end Web server end Reliability Security Serviceability Conclusion 8. Implementing Common Website Features Structure Objective History of web pages Website – design considerations Usability Registered and unregistered views Navigation bar Articles Headers and footers Forms Search option Feedback forms Shopping carts Payment options Ease of use Consistent pages Short pages Short forms Home page Responsive web forms Website – elements and components By language HTML CSS JavaScript By elements DOM XMLHttpRequest WebSocket WebWorker By components Hyperlink Article Dialog Form Options/dropdown Table Image Audio Video Script Website: Advanced features Google APIs Embedding: Maps and social media Pagination Search Filters Geolocation indexing Authentication Admin dashboard User profile Conclusion 9. Making Our Website Production Grade Structure Objective Enterprise enabling components Performance Reliability Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Availability Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Issue Remediation Scalability Vertical scalability Issue Remediation Issue Remediation Horizontal scalability Observability Trace (also known as log) Profiling/monitoring Dumping/snapshotting Security Input validation Secure headers Secure sessions Authentication and authorization Data encryption Audit logging (aka logging for security) File system protection Shutdown unwanted ports Documentation Conclusion 10. Best Practices for High Performant Code Structure Objective Performance best practice: Hardware CPU Cache Disk Performance best practice: Network Performance best practice: Operating system Performance best practice: Runtime (Node.js) Garbage collection Event loop Concurrency: “sync” versus “async” Increasing concurrency Remove debug options Performance best practice: Application Content optimization Application decoupling HTTP caching API selection Miscellaneous Conclusion 11. Debugging Program Anomalies Structure Objective Debugging crash Preparation Symptom Useful data Problem determination Debugging low CPU Preparation Symptom Useful data Problem determination Debugging high CPU Preparation Symptom Useful data Problem determination Debugging memory Preparation Symptom Useful data Problem determination Debugging performance degradation Preparation Symptom Useful data Problem determination Conclusion End Index