- عنوان کتاب: Programming WebRTC -Build Real-Time Streaming Applications for the Web
- نویسنده: Karl Stolley
- حوزه: برنامه نویسی وب
- سال انتشار: 2024
- تعداد صفحه: 260
- زبان اصلی: انگلیسی
- نوع فایل: pdf
- حجم فایل: 2.89 مگابایت
WebRTC—یا ارتباط بلادرنگ وب—یک API استاندارد است که در تمام مرورگرهای وب مدرن ارائه میشود. کنسرسیوم جهانی وب پس از یک دهه طولانی توسعه، مشخصات WebRTC را به عنوان یک توصیه کامل پذیرفت. 1 یک مشخصات کامل و پایدار را با پشتیبانی مرورگر از WebRTC از کاملاً مطمئن تا قابل استفاده ترکیب کنید، و خود را در محیطی عالی برای توسعه و استقرار برنامههای وب بلادرنگ در مرورگر خواهید یافت. مانند هر API وب، WebRTC از پیادهسازی کاملاً منطبق با مشخصات در هیچ مرورگری برخوردار نیست. اما این کتاب شما را در سفرتان به سمت توسعه برنامههای پخش بلادرنگ، همه چیز بر اساس قطعیت یک مشخصات پایدار، آغاز خواهد کرد. همچنین یاد خواهید گرفت که کدی زیبا و سازگار با نسخههای قبلی بنویسید تا برنامههای WebRTC شما در وسیعترین طیف ممکن از مرورگرهای جدید و مدرن کار کنند. دستگاههای رومیزی و تلفن همراه نیز همینطور. پشتیبانی از WebRTC در همه جا وجود دارد. سفر WebRTC شما سفر خود را با شروع مستقیم کار بر روی ساخت یک برنامه WebRTC اولیه برای پشتیبانی از تماس ویدیویی نظیر به نظیر آغاز خواهید کرد. فصل به فصل، شما آن برنامه و منطق اصلی آن را اصلاح خواهید کرد تا سپس برنامههای بیشتری مبتنی بر WebRTC ایجاد کنید که کاربران شما را قادر میسازد انواع دادهها را با یکدیگر به صورت بلادرنگ به اشتراک بگذارند. این کتاب WebRTC را به عنوان بخشی از پلتفرم وب در نظر میگیرد. برای مطالعه این کتاب یا برای کاربرانتان برای استفاده از برنامههای WebRTC که میسازید، نیازی به کتابخانههای شخص ثالث یا دانلودهای سنگین نیست: شما دانش خود را در مورد HTML، CSS و جاوا اسکریپت مدرن خواهید نوشت و تقویت خواهید کرد تا از APIهای WebRTC بومی مرورگر نهایت استفاده را ببرید. از بیرون، WebRTC بسیار دلهرهآور است. باشه، واقعاً دلهرهآور. من فقط به خاطر نگاهی اجمالی به این کتاب به شما افتخار میکنم. اما فقط به این دلیل که WebRTC شما را به چالش میکشد و مغزتان را به طرق عمیقی تغییر میدهد، آن را زمین نگذارید. این هم قابل انتظار است و هم کاملاً خوب. این بدان معناست که شما در مسیر هستید. ما با هم در آن قدم خواهیم زد. همه چیز از درون بهتر و قابل کنترلتر به نظر میرسد. این کتاب شما را در مسیر رسیدن به جایی که میخواهید با WebRTC بروید، قرار میدهد. در اینجا هیچ کد دور ریختنی یا مثالهای مبهم و گیجکنندهای پیدا نخواهید کرد. ما از ابتدا با هم برنامههای واقعی WebRTC را توسعه خواهیم داد. و از طریق همین برنامههای واقعی و کاربردی، نحوه کار WebRTC را بررسی خواهیم کرد. در پایان سفرتان، تمام مهارتها و دانش بنیادی مورد نیاز برای ساخت برنامههای بلادرنگ و خلاقانه خود را خواهید داشت. و از آنجا که کار بر روی مشخصات WebRTC ادامه دارد، همچنین یاد خواهید گرفت که چگونه از آخرین تغییرات و بحثها مطلع باشید. این کتاب برای طراحان و توسعهدهندگان وب سطح متوسط و پیشرفته که به دنبال کشف و پیادهسازی ویژگیهای ارتباطی بلادرنگ در برنامههای وب جدید یا موجود هستند، مناسب است. چه خود را طراح بدانید و چه توسعهدهنده، WebRTC یکی از آن APIهای وب نادری است که در آن طراحی و توسعه رو در رو به هم میرسند: نه فقط از نظر مفهومی، بلکه در کد واقعی که خواهید نوشت. WebRTC یک فناوری frontend است که فقط به کوچکترین و ریزترین مؤلفه سمت سرور نیاز دارد، که من آن را در پایگاه کد همراه این کتاب برای شما فراهم کردهام. تقریباً تمام کارهای شما مستقیماً در مرورگر اجرا و رندر میشوند. شما باید حداقل دانشی از جاوا اسکریپت، HTML و CSS داشته باشید. من تمام تلاشم را میکنم تا هرگونه خلأیی را که ممکن است برای شما پیش بیاید، پر کنم و کتابها و منابع دیگری را که ممکن است مفید بدانید، به شما معرفی کنم. در این کتاب، خود را در حال کار با سایر APIهای وب – نه فقط WebRTC – خواهید یافت. بسیاری از آنها دانش بیشتری را در اختیار شما قرار میدهند تا کار خود را در انواع برنامههای وب، چه شامل یک مؤلفه بلادرنگ باشند و چه نباشند، بهبود بخشید.
WebRTC—or Web Real-Time Communication—is a standardized API exposed in all modern web browsers. The World Wide Web Consortium accepted the WebRTC specification as a full recommendation after a long decade of development. 1 Couple a complete, stable specification with browser support for WebRTC ranging from rock-solid to serviceable, and you find yourself in a perfect environment for developing and deploying real-time web applications in the browser. Like any Web API, WebRTC doesn’t enjoy a perfectly spec-aligned implementation in any browser. But this book will start you on your journey to developing real-time streaming applications, all according to the certainty of a stable specification. You’ll also learn to write elegant, backward-compatible code to get your WebRTC apps working across the widest possible range of recent and modern browsers. Desktop and mobile devices, too. Support for WebRTC is everywhere. Your WebRTC Journey You’ll start your journey by getting straight to work on building a basic WebRTC application to support peer-to-peer video calling. Chapter by chapter, you’ll refine that app and its core logic to then spin up additional WebRTCpowered apps that will have your users sharing all manner of data with one another, all in real time. This book treats WebRTC as a part of the Web Platform. No third-party libraries or heavy downloads are required for you to make your way through this book, or for your users to use the WebRTC apps you build: you’ll be writing and strengthening your knowledge of modern HTML, CSS, and Java- Script to get the most out of browser-native WebRTC APIs. From the outside, WebRTC is pretty daunting. Okay, really daunting. I’m proud of you just for peeking inside this book. But don’t put it down just because WebRTC will challenge you and twist your brain around in some profound ways. That’s both expected and totally okay. It means you’re on the path. We’ll walk it together. Things look better and more manageable from the inside. This book will get you on the path to where you want to go with WebRTC right away. You won’t find any throwaway code or opaque, puzzling examples here. We’re going to be developing real WebRTC applications together from the outset. And it will be from those real, functioning applications that we will tease out how WebRTC works. By the end of your journey, you will have all the foundational skills and knowledge you need to build your own wildly imaginative real-time applications. And because work on the WebRTC specification continues, you will also learn how to stay on top of the latest changes and discussions. This book is aimed at intermediate and advanced web designers and developers looking to explore and implement real-time communication features in new or existing web applications. Whether you consider yourself a designer or a developer, WebRTC is one of those rare Web APIs where design and development converge head on: not just conceptually, but in the actual code you’ll be writing. WebRTC is a frontend technology that requires only the teeniest, tiniest server-side component, which I have provided for you in the codebase that accompanies this book. Almost all of your work will be run and rendered directly in the browser. You should have at least some knowledge of JavaScript, along with HTML and CSS. I’ll do my best to fill in any gaps that might arise for you and point out additional books and resources that you might find useful. You’ll find yourself working with other Web APIs in this book—not just WebRTC. Many of those will equip you with added knowledge to enhance your work on all kinds of web applications, whether or not they include a real-time component.
این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:
Download: Programming WebRTC
نظرات کاربران