توضیحات
Become an accomplished Ruby programmer by understanding the design principles, best practices, and trade-offs involved in implementation approaches to keep your Ruby applications maintainable in the long term
Key Features
- Understand the design principles behind polished Ruby code and trade-offs between implementation approaches
- Use metaprogramming and DSLs to reduce the amount of code needed without decreasing maintainability
- Learn Ruby web application design principles and strategies for databases, security, and testing
Book Description
Most successful Ruby applications become difficult to maintain over time as the codebase grows in size. Polished Ruby Programming provides you with recommendations and advice for designing Ruby programs that are easy to maintain in the long term.
This book takes you through implementation approaches for many common programming situations, the trade-offs inherent in each approach, and why you may choose to use different approaches in different situations. You’ll start by learning fundamental Ruby programming principles, such as correctly using core classes, class and method design, variable usage, error handling, and code formatting. Moving on, you’ll learn higher-level programming principles, such as library design, use of metaprogramming and domain-specific languages, and refactoring. Finally, you’ll learn principles specific to web application development, such as how to choose a database and web framework, and how to use advanced security features.
By the end of this Ruby programming book, you’ll have gained the skills you need to design robust, high-performance, scalable, and maintainable Ruby applications.
While most code examples and principles discussed in the book apply to all Ruby versions, some examples and principles are specific to Ruby 3.0, the latest release at the time of publication.
What you will learn
- Use Ruby’s core classes and design custom classes effectively
- Explore the principles behind variable usage and method argument choice
- Implement advanced error handling approaches such as exponential backoff
- Design extensible libraries and plugin systems in Ruby
- Use metaprogramming and DSLs to avoid code redundancy
- Implement different approaches to testing and understand their trade-offs
- Discover design patterns, refactoring, and optimization with Ruby
- Explore database design principles and advanced web app security
Who this book is for
If you already know how to program in Ruby and want to learn more about the principles and best practices behind writing maintainable, scalable, optimized, and well-structured Ruby code, then this Ruby book is for you. Intermediate to advanced-level working knowledge of the Ruby programming language is expected to get the most out of this book.
Table of Contents
- Getting the Most out of Core Classes
- Designing Useful Custom Classes
- Proper Variable Usage
- Methods and Their Arguments
- Handling Errors
- Formatting Code for Easy Reading
- Designing Your Library
- Designing For Extensibility
- Metaprogramming and When to Use It
- Designing Useful Domain-Specific Languages
- Testing to Ensure Your Code Works
- Handling Change
- Using Common Design Patterns
- Optimizing Your Library
- The Database Is Key
- Web Application Design Principles
- Robust Web Application Security
————————————————————–
ترجمه ماشینی :
با درک اصول طراحی، بهترین روشها و معاوضههای مربوط به رویکردهای پیادهسازی برای حفظ برنامههای Ruby خود در طولانی مدت، به یک برنامهنویس موفق Ruby تبدیل شوید
Key ویژگی ها
- درک اصول طراحی پشت کد روبی صیقلی و مبادله بین رویکردهای پیاده سازی
- استفاده از فرابرنامه نویسی و DSL ها برای کاهش مقدار کد مورد نیاز بدون کاهش قابلیت نگهداری
- اصول و استراتژی های طراحی اپلیکیشن وب روبی را برای پایگاه داده، امنیت و آزمایش بیاموزید
توضیحات کتاب
به مرور زمان نگهداری از اکثر برنامه های کاربردی موفق روبی دشوار می شود. پایگاه کد در اندازه رشد می کند. برنامه نویسی Polished Ruby به شما توصیه ها و توصیه هایی را برای طراحی برنامه های Ruby ارائه می دهد که نگهداری آنها در دراز مدت آسان است.
این کتاب شما را از طریق روش های پیاده سازی برای بسیاری از موقعیت های برنامه نویسی رایج، معاوضه های ذاتی هر یک راهنمایی می کند. رویکرد، و اینکه چرا ممکن است در موقعیت های مختلف از رویکردهای مختلف استفاده کنید. شما با یادگیری اصول اساسی برنامه نویسی Ruby مانند استفاده صحیح از کلاس های اصلی، طراحی کلاس و روش، استفاده از متغیرها، مدیریت خطا و قالب بندی کد شروع خواهید کرد. در ادامه، اصول برنامه نویسی سطح بالاتری را یاد خواهید گرفت، مانند طراحی کتابخانه، استفاده از فرابرنامه نویسی و زبان های خاص دامنه، و refactoring. در نهایت، اصول خاص توسعه برنامه های کاربردی وب، مانند نحوه انتخاب پایگاه داده و چارچوب وب، و نحوه استفاده از ویژگی های امنیتی پیشرفته را خواهید آموخت.
در پایان این کتاب برنامه نویسی Ruby، شما مهارتهایی را که برای طراحی برنامههای Ruby قوی، با کارایی بالا، مقیاسپذیر و قابل نگهداری نیاز دارید، کسب کردهاید.
در حالی که بیشتر نمونههای کد و اصول مورد بحث در کتاب برای همه نسخههای Ruby اعمال میشوند، برخی از مثالها و اصول عبارتند از مخصوص Ruby 3.0، آخرین نسخه در زمان انتشار.
آنچه یاد خواهید گرفت
- از کلاس های اصلی Ruby استفاده کنید و کلاس های سفارشی را به طور موثر طراحی کنید
- اصول پشت استفاده متغیر و انتخاب آرگومان روش را کاوش کنید
- رویکردهای مدیریت خطای پیشرفته مانند عقب نشینی تصاعدی را اجرا کنید
- طراحی کتابخانه های قابل گسترش و سیستم های افزونه در Ruby
- استفاده فرابرنامهنویسی و DSL برای جلوگیری از افزونگی کد
- رویکردهای مختلف برای آزمایش و درک معاوضههای آنها را اجرا کنید
- کشف الگوهای طراحی، بازسازی و بهینهسازی با Ruby
- Explore اصول طراحی پایگاه داده و امنیت پیشرفته برنامه های وب
این کتاب برای چه کسی است
اگر قبلاً نحوه برنامه نویسی در Ruby را می دانید و می خواهید در مورد اصول و بهترین ها بیشتر بدانید تمرینات پشت نوشتن کدهای Ruby قابل نگهداری، مقیاس پذیر، بهینه سازی شده و با ساختار خوب، پس این کتاب روبی برای شما مناسب است. انتظار می رود دانش کاری سطح متوسط تا پیشرفته از زبان برنامه نویسی Ruby بیشترین بهره را از این کتاب ببرید.
فهرست محتوا
- بهترین بهره را از کلاس های اصلی ببرید.
- طراحی کلاس های سفارشی مفید
- استفاده مناسب از متغیر
- روش ها و استدلال های آنها
- بررسی خطاها
- کد قالب بندی برای خواندن آسان
- طراحی کتابخانه شما
- طراحی برای توسعه پذیری
- فرابرنامه نویسی و زمان استفاده از آن
- طراحی زبان های مفید مختص دامنه< /li>
- آزمایش برای اطمینان از کارکرد کد شما
- بررسی تغییر
- استفاده از الگوهای طراحی رایج
- بهینه سازی کتابخانه شما
- پایگاه داده کلیدی است
- اصول طراحی برنامه های کاربردی وب
- امنیت قوی برنامه های کاربردی وب
tag : دانلود کتاب برنامه نویسی Polished Ruby: نرم افزار بهتری با کد Ruby بصری تر، قابل نگهداری تر، مقیاس پذیرتر و با کارایی بالا بسازید. , Download برنامه نویسی Polished Ruby: نرم افزار بهتری با کد Ruby بصری تر، قابل نگهداری تر، مقیاس پذیرتر و با کارایی بالا بسازید. , دانلود برنامه نویسی Polished Ruby: نرم افزار بهتری با کد Ruby بصری تر، قابل نگهداری تر، مقیاس پذیرتر و با کارایی بالا بسازید. , Download Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code Book , برنامه نویسی Polished Ruby: نرم افزار بهتری با کد Ruby بصری تر، قابل نگهداری تر، مقیاس پذیرتر و با کارایی بالا بسازید. دانلود , buy برنامه نویسی Polished Ruby: نرم افزار بهتری با کد Ruby بصری تر، قابل نگهداری تر، مقیاس پذیرتر و با کارایی بالا بسازید. , خرید کتاب برنامه نویسی Polished Ruby: نرم افزار بهتری با کد Ruby بصری تر، قابل نگهداری تر، مقیاس پذیرتر و با کارایی بالا بسازید. , دانلود کتاب Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code , کتاب Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code , دانلود Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code , خرید Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code , خرید کتاب Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code ,

نقد و بررسیها
هنوز بررسیای ثبت نشده است.