Author: Sufyan Bin Uzayr
Publisher: Mastering Computer Science
ISBN: 9781032135090
Category : Computer programming
Languages : en
Pages : 326
Book Description
There is no shortage of programming languages and frameworks out there. But in the midst of all this, Ruby on Rails stands out. Despite losing out on the top spot to other contenders, Ruby on Rails has earned for itself a position of repute and a robust user base. Ever since its debut in 2004, Ruby on Rails has rapidly become one of the most impactful and popular tools for building dynamic web applications. Rails owes much of its success to its compact design and the usage of the underlying Ruby language. It effectively creates a domain-specific language for writing web applications. As a result, many common web programming tasks--such as generating HTML, making data models, and routing URLs--are easier with Rails. Although its outstanding capabilities have made Ruby on Rails one of the world's most popular web development frameworks, some might still find it challenging to learn and use. Mastering Ruby on Rails: A Beginner's Guide could be just the right solution for that. Whatever your previous web development experience is, Mastering Ruby on Rails can guide you to true Rails proficiency. It will help you to: Install and set up your Rails development environment Go beyond generated code to build Rails applications from scratch Effectively use the Model-View-Controller (MVC) pattern Master the Ruby programming skills all Rails developers need Define high-quality site layouts and data models Add social features and navigate Asynchronous Javascript and XML (Ajax) Mastering Ruby on Rails will walk you through Rails' inner workings and equip you to tackle complicated projects with solutions that are well-tested, adaptive, and easy to maintain. This book starts by explaining critical points behind object-oriented programming and builds toward creating a full Rails application within a few chapters. By the end of this book, besides in-depth knowledge of Rails, you will also have a basic understanding of many supporting technologies such as SQL, web frameworks, and Integrated Development Environment (IDE). You will be able to quickly grasp the Rails methodology by focusing on the development from the point of view of the beginner-level developer. Additionally, you will be provided with a reliable roadmap for migrating your applications, skill set, and development procedures to the newer, more flexible programming platform that Rails offers. Moreover, learning Rails development independently will let you use all the qualities like creativeness, critical thinking, and project management. Mastering Ruby on Rails serves as a complete guide to exploring Ruby on Rails, expanding your set of skills and experience that will only benefit you throughout your professional life. If you are looking to get into the fascinating world of Rails development, Mastering Ruby on Rails is the right pick for you! Learn more about our other Mastering titles at: https: //www.routledge.com/Mastering-Computer-Science/book-series/MCS
Mastering Ruby on Rails
Author: Sufyan Bin Uzayr
Publisher: Mastering Computer Science
ISBN: 9781032135090
Category : Computer programming
Languages : en
Pages : 326
Book Description
There is no shortage of programming languages and frameworks out there. But in the midst of all this, Ruby on Rails stands out. Despite losing out on the top spot to other contenders, Ruby on Rails has earned for itself a position of repute and a robust user base. Ever since its debut in 2004, Ruby on Rails has rapidly become one of the most impactful and popular tools for building dynamic web applications. Rails owes much of its success to its compact design and the usage of the underlying Ruby language. It effectively creates a domain-specific language for writing web applications. As a result, many common web programming tasks--such as generating HTML, making data models, and routing URLs--are easier with Rails. Although its outstanding capabilities have made Ruby on Rails one of the world's most popular web development frameworks, some might still find it challenging to learn and use. Mastering Ruby on Rails: A Beginner's Guide could be just the right solution for that. Whatever your previous web development experience is, Mastering Ruby on Rails can guide you to true Rails proficiency. It will help you to: Install and set up your Rails development environment Go beyond generated code to build Rails applications from scratch Effectively use the Model-View-Controller (MVC) pattern Master the Ruby programming skills all Rails developers need Define high-quality site layouts and data models Add social features and navigate Asynchronous Javascript and XML (Ajax) Mastering Ruby on Rails will walk you through Rails' inner workings and equip you to tackle complicated projects with solutions that are well-tested, adaptive, and easy to maintain. This book starts by explaining critical points behind object-oriented programming and builds toward creating a full Rails application within a few chapters. By the end of this book, besides in-depth knowledge of Rails, you will also have a basic understanding of many supporting technologies such as SQL, web frameworks, and Integrated Development Environment (IDE). You will be able to quickly grasp the Rails methodology by focusing on the development from the point of view of the beginner-level developer. Additionally, you will be provided with a reliable roadmap for migrating your applications, skill set, and development procedures to the newer, more flexible programming platform that Rails offers. Moreover, learning Rails development independently will let you use all the qualities like creativeness, critical thinking, and project management. Mastering Ruby on Rails serves as a complete guide to exploring Ruby on Rails, expanding your set of skills and experience that will only benefit you throughout your professional life. If you are looking to get into the fascinating world of Rails development, Mastering Ruby on Rails is the right pick for you! Learn more about our other Mastering titles at: https: //www.routledge.com/Mastering-Computer-Science/book-series/MCS
Publisher: Mastering Computer Science
ISBN: 9781032135090
Category : Computer programming
Languages : en
Pages : 326
Book Description
There is no shortage of programming languages and frameworks out there. But in the midst of all this, Ruby on Rails stands out. Despite losing out on the top spot to other contenders, Ruby on Rails has earned for itself a position of repute and a robust user base. Ever since its debut in 2004, Ruby on Rails has rapidly become one of the most impactful and popular tools for building dynamic web applications. Rails owes much of its success to its compact design and the usage of the underlying Ruby language. It effectively creates a domain-specific language for writing web applications. As a result, many common web programming tasks--such as generating HTML, making data models, and routing URLs--are easier with Rails. Although its outstanding capabilities have made Ruby on Rails one of the world's most popular web development frameworks, some might still find it challenging to learn and use. Mastering Ruby on Rails: A Beginner's Guide could be just the right solution for that. Whatever your previous web development experience is, Mastering Ruby on Rails can guide you to true Rails proficiency. It will help you to: Install and set up your Rails development environment Go beyond generated code to build Rails applications from scratch Effectively use the Model-View-Controller (MVC) pattern Master the Ruby programming skills all Rails developers need Define high-quality site layouts and data models Add social features and navigate Asynchronous Javascript and XML (Ajax) Mastering Ruby on Rails will walk you through Rails' inner workings and equip you to tackle complicated projects with solutions that are well-tested, adaptive, and easy to maintain. This book starts by explaining critical points behind object-oriented programming and builds toward creating a full Rails application within a few chapters. By the end of this book, besides in-depth knowledge of Rails, you will also have a basic understanding of many supporting technologies such as SQL, web frameworks, and Integrated Development Environment (IDE). You will be able to quickly grasp the Rails methodology by focusing on the development from the point of view of the beginner-level developer. Additionally, you will be provided with a reliable roadmap for migrating your applications, skill set, and development procedures to the newer, more flexible programming platform that Rails offers. Moreover, learning Rails development independently will let you use all the qualities like creativeness, critical thinking, and project management. Mastering Ruby on Rails serves as a complete guide to exploring Ruby on Rails, expanding your set of skills and experience that will only benefit you throughout your professional life. If you are looking to get into the fascinating world of Rails development, Mastering Ruby on Rails is the right pick for you! Learn more about our other Mastering titles at: https: //www.routledge.com/Mastering-Computer-Science/book-series/MCS
Metaprogramming Ruby 2
Author: Paolo Perrotta
Publisher:
ISBN: 9781941222126
Category : Object-oriented programming (Computer science)
Languages : en
Pages : 0
Book Description
Paolo Perrotta has fifteen years of experience as a developer, ranging from embedded to enterprise software, computer games, and web applications. Paolo lives a nomadic life, mentoring agile teams throughout Europe. He has a base camp in Bologna, Italy. He loves Ruby.
Publisher:
ISBN: 9781941222126
Category : Object-oriented programming (Computer science)
Languages : en
Pages : 0
Book Description
Paolo Perrotta has fifteen years of experience as a developer, ranging from embedded to enterprise software, computer games, and web applications. Paolo lives a nomadic life, mentoring agile teams throughout Europe. He has a base camp in Bologna, Italy. He loves Ruby.
Practical Object-oriented Design in Ruby
Author: Sandi Metz
Publisher: Pearson Education
ISBN: 0321721330
Category : Computers
Languages : en
Pages : 272
Book Description
The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications Ruby's widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples. This book focuses squarely on object-oriented Ruby application design. Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues. This guide will help you Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade Decide what belongs in a single Ruby class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Design cost-effective tests Solve common problems associated with poorly designed Ruby code
Publisher: Pearson Education
ISBN: 0321721330
Category : Computers
Languages : en
Pages : 272
Book Description
The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications Ruby's widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples. This book focuses squarely on object-oriented Ruby application design. Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues. This guide will help you Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade Decide what belongs in a single Ruby class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Design cost-effective tests Solve common problems associated with poorly designed Ruby code
The Rails Way
Author: Obie Fernandez
Publisher: Pearson Education
ISBN: 032163019X
Category : Computers
Languages : en
Pages : 951
Book Description
The expert guide to building Ruby on Rails applications Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value. Now, for the first time, there’s a comprehensive, authoritative guide to building production-quality software with Rails. Pioneering Rails developer Obie Fernandez and a team of experts illuminate the entire Rails API, along with the Ruby idioms, design approaches, libraries, and plug-ins that make Rails so valuable. Drawing on their unsurpassed experience, they address the real challenges development teams face, showing how to use Rails’ tools and best practices to maximize productivity and build polished applications users will enjoy. Using detailed code examples, Obie systematically covers Rails’ key capabilities and subsystems. He presents advanced programming techniques, introduces open source libraries that facilitate easy Rails adoption, and offers important insights into testing and production deployment. Dive deep into the Rails codebase together, discovering why Rails behaves as it does— and how to make it behave the way you want it to. This book will help you Increase your productivity as a web developer Realize the overall joy of programming with Ruby on Rails Learn what’s new in Rails 2.0 Drive design and protect long-term maintainability with TestUnit and RSpec Understand and manage complex program flow in Rails controllers Leverage Rails’ support for designing REST-compliant APIs Master sophisticated Rails routing concepts and techniques Examine and troubleshoot Rails routing Make the most of ActiveRecord object-relational mapping Utilize Ajax within your Rails applications Incorporate logins and authentication into your application Extend Rails with the best third-party plug-ins and write your own Integrate email services into your applications with ActionMailer Choose the right Rails production configurations Streamline deployment with Capistrano
Publisher: Pearson Education
ISBN: 032163019X
Category : Computers
Languages : en
Pages : 951
Book Description
The expert guide to building Ruby on Rails applications Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value. Now, for the first time, there’s a comprehensive, authoritative guide to building production-quality software with Rails. Pioneering Rails developer Obie Fernandez and a team of experts illuminate the entire Rails API, along with the Ruby idioms, design approaches, libraries, and plug-ins that make Rails so valuable. Drawing on their unsurpassed experience, they address the real challenges development teams face, showing how to use Rails’ tools and best practices to maximize productivity and build polished applications users will enjoy. Using detailed code examples, Obie systematically covers Rails’ key capabilities and subsystems. He presents advanced programming techniques, introduces open source libraries that facilitate easy Rails adoption, and offers important insights into testing and production deployment. Dive deep into the Rails codebase together, discovering why Rails behaves as it does— and how to make it behave the way you want it to. This book will help you Increase your productivity as a web developer Realize the overall joy of programming with Ruby on Rails Learn what’s new in Rails 2.0 Drive design and protect long-term maintainability with TestUnit and RSpec Understand and manage complex program flow in Rails controllers Leverage Rails’ support for designing REST-compliant APIs Master sophisticated Rails routing concepts and techniques Examine and troubleshoot Rails routing Make the most of ActiveRecord object-relational mapping Utilize Ajax within your Rails applications Incorporate logins and authentication into your application Extend Rails with the best third-party plug-ins and write your own Integrate email services into your applications with ActionMailer Choose the right Rails production configurations Streamline deployment with Capistrano
Ruby Best Practices
Author: Gregory T Brown
Publisher: "O'Reilly Media, Inc."
ISBN: 0596551231
Category : Computers
Languages : en
Pages : 328
Book Description
How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more. Ruby Best Practices will help you: Understand the secret powers unlocked by Ruby's code blocks Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly Discover the ins and outs of testing and debugging, and how to design for testability Learn to write faster code by keeping things simple Develop strategies for text processing and file management, including regular expressions Understand how and why things can go wrong Reduce cultural barriers by leveraging Ruby's multilingual capabilities This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.
Publisher: "O'Reilly Media, Inc."
ISBN: 0596551231
Category : Computers
Languages : en
Pages : 328
Book Description
How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more. Ruby Best Practices will help you: Understand the secret powers unlocked by Ruby's code blocks Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly Discover the ins and outs of testing and debugging, and how to design for testability Learn to write faster code by keeping things simple Develop strategies for text processing and file management, including regular expressions Understand how and why things can go wrong Reduce cultural barriers by leveraging Ruby's multilingual capabilities This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.
Polished Ruby Programming
Author: Jeremy Evans
Publisher: Packt Publishing Ltd
ISBN: 1801077916
Category : Computers
Languages : en
Pages : 434
Book Description
Elevate your Ruby skills to an advanced level by deepening your understanding of the design principles, best practices, and trade-offs involved in implementation approaches to future-proof your Ruby applications Key FeaturesLearn Ruby web application design principles and strategies for databases, security, and testing from a Ruby committer Understand the design principles behind polished Ruby code and trade-offs between implementation approachesUse metaprogramming and DSLs to reduce the amount of code needed without decreasing maintainabilityBook Description Anyone striving to become an expert Ruby programmer needs to be able to write maintainable applications. Polished Ruby Programming will help you get better at designing scalable and robust Ruby programs, so that no matter how big the codebase grows, maintaining it will be a breeze. This book takes you on a journey 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 refreshing Ruby fundamentals, such as correctly using core classes, class and method design, variable usage, error handling, and code formatting. Then you'll move on to 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 be a well rounded web developer with a deep understanding of Ruby. 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 learnUse Ruby's core classes and design custom classes effectivelyExplore the principles behind variable usage and method argument choiceImplement advanced error handling approaches such as exponential backoffDesign extensible libraries and plugin systems in RubyUse metaprogramming and DSLs to avoid code redundancyImplement different approaches to testing and understand their trade-offsDiscover design patterns, refactoring, and optimization with RubyExplore database design principles and advanced web app securityWho this book is for This book is for Ruby programmers who are comfortable in coding with Ruby but want to advance their skills by mastering the deeper principles and best practices behind writing maintainable, scalable, optimized, and well-structured Ruby code. This book won't teach you the basics of Ruby – you'll need intermediate knowledge and practical experience before you can dive in.
Publisher: Packt Publishing Ltd
ISBN: 1801077916
Category : Computers
Languages : en
Pages : 434
Book Description
Elevate your Ruby skills to an advanced level by deepening your understanding of the design principles, best practices, and trade-offs involved in implementation approaches to future-proof your Ruby applications Key FeaturesLearn Ruby web application design principles and strategies for databases, security, and testing from a Ruby committer Understand the design principles behind polished Ruby code and trade-offs between implementation approachesUse metaprogramming and DSLs to reduce the amount of code needed without decreasing maintainabilityBook Description Anyone striving to become an expert Ruby programmer needs to be able to write maintainable applications. Polished Ruby Programming will help you get better at designing scalable and robust Ruby programs, so that no matter how big the codebase grows, maintaining it will be a breeze. This book takes you on a journey 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 refreshing Ruby fundamentals, such as correctly using core classes, class and method design, variable usage, error handling, and code formatting. Then you'll move on to 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 be a well rounded web developer with a deep understanding of Ruby. 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 learnUse Ruby's core classes and design custom classes effectivelyExplore the principles behind variable usage and method argument choiceImplement advanced error handling approaches such as exponential backoffDesign extensible libraries and plugin systems in RubyUse metaprogramming and DSLs to avoid code redundancyImplement different approaches to testing and understand their trade-offsDiscover design patterns, refactoring, and optimization with RubyExplore database design principles and advanced web app securityWho this book is for This book is for Ruby programmers who are comfortable in coding with Ruby but want to advance their skills by mastering the deeper principles and best practices behind writing maintainable, scalable, optimized, and well-structured Ruby code. This book won't teach you the basics of Ruby – you'll need intermediate knowledge and practical experience before you can dive in.
Comprehensive Ruby Programming
Author: Jordan Hudgens
Publisher: Packt Publishing Ltd
ISBN: 1787287998
Category : Computers
Languages : en
Pages : 319
Book Description
This book will provide you with all of the tools you need to be a professional Ruby developer. Starting with the core principles, such as syntax and best practices, and up to advanced topics like metaprogramming and big data analysis. About This Book Provides the core skills required to become a Ruby programmer Covers how to use the most popular Ruby Gem libraries Includes details on regular expressions Who This Book Is For This is a complete course written from the ground up for beginners wanting to gain a solid understanding of the Ruby language. It starts at the beginning with how to install Ruby and work with it on multiple machines, so simply have a computer that's connected to the Internet and you'll be ready. What You Will Learn Learn how to use Ruby code effectively, picking the right tool for the job and not duplicating built-in functionality Gain best software development practices, and how to identify and fix common errors Absorb core programming skills, such as variables, strings, loops, conditionals, and much more Explore object-oriented programming and learn to create modular, reusable code that you can use across projects Build 10 practical Ruby programs as you work through the book on topics such as big data analysis and solving Euler equations In Detail Ruby is a powerful, general-purpose programming language that can be applied to any task. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this book is your comprehensive Ruby coding guide. Starting with the foundational principles, such as syntax, and scaling up to advanced topics such as big data analysis, this book will give you all of the tools you need to be a professional Ruby developer. A few of the key topics are: object-oriented programming, built-in Ruby methods, core programming skills, and an introduction to the Ruby on Rails and Sinatra web frameworks. You will also build 10 practical Ruby programs. Created by an experienced Ruby developer, this book has been written to ensure it focuses on the skills you will need to be a professional Ruby developer. After you have read this book, you will be ready to start building real-world Ruby projects. Style and approach This is a comprehensive course for learning the Ruby programming language that works methodically through everything that you need to know. It begins with the basics of the language and then works through some complete projects to apply your skills and ensure that you have fully absorbed them and can use them in the real world.
Publisher: Packt Publishing Ltd
ISBN: 1787287998
Category : Computers
Languages : en
Pages : 319
Book Description
This book will provide you with all of the tools you need to be a professional Ruby developer. Starting with the core principles, such as syntax and best practices, and up to advanced topics like metaprogramming and big data analysis. About This Book Provides the core skills required to become a Ruby programmer Covers how to use the most popular Ruby Gem libraries Includes details on regular expressions Who This Book Is For This is a complete course written from the ground up for beginners wanting to gain a solid understanding of the Ruby language. It starts at the beginning with how to install Ruby and work with it on multiple machines, so simply have a computer that's connected to the Internet and you'll be ready. What You Will Learn Learn how to use Ruby code effectively, picking the right tool for the job and not duplicating built-in functionality Gain best software development practices, and how to identify and fix common errors Absorb core programming skills, such as variables, strings, loops, conditionals, and much more Explore object-oriented programming and learn to create modular, reusable code that you can use across projects Build 10 practical Ruby programs as you work through the book on topics such as big data analysis and solving Euler equations In Detail Ruby is a powerful, general-purpose programming language that can be applied to any task. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this book is your comprehensive Ruby coding guide. Starting with the foundational principles, such as syntax, and scaling up to advanced topics such as big data analysis, this book will give you all of the tools you need to be a professional Ruby developer. A few of the key topics are: object-oriented programming, built-in Ruby methods, core programming skills, and an introduction to the Ruby on Rails and Sinatra web frameworks. You will also build 10 practical Ruby programs. Created by an experienced Ruby developer, this book has been written to ensure it focuses on the skills you will need to be a professional Ruby developer. After you have read this book, you will be ready to start building real-world Ruby projects. Style and approach This is a comprehensive course for learning the Ruby programming language that works methodically through everything that you need to know. It begins with the basics of the language and then works through some complete projects to apply your skills and ensure that you have fully absorbed them and can use them in the real world.
Practical Object-Oriented Design
Author: Sandi Metz
Publisher: Addison-Wesley Professional
ISBN: 0134445570
Category : Computers
Languages : en
Pages : 701
Book Description
The Complete Guide to Writing Maintainable, Manageable, Pleasing, and Powerful Object-Oriented Applications Object-oriented programming languages exist to help you create beautiful, straightforward applications that are easy to change and simple to extend. Unfortunately, the world is awash with object-oriented (OO) applications that are difficult to understand and expensive to change. Practical Object-Oriented Design, Second Edition, immerses you in an OO mindset and teaches you powerful, real-world, object-oriented design techniques with simple and practical examples. Sandi Metz demonstrates how to build new applications that can “survive success” and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples in the easy-to-understand Ruby programming language, all downloadable from the companion website, poodr.com. Fully updated for Ruby 2.5, this guide shows how to Decide what belongs in a single class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Whatever your previous object-oriented experience, this concise guide will help you achieve the superior outcomes you’re looking for. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Publisher: Addison-Wesley Professional
ISBN: 0134445570
Category : Computers
Languages : en
Pages : 701
Book Description
The Complete Guide to Writing Maintainable, Manageable, Pleasing, and Powerful Object-Oriented Applications Object-oriented programming languages exist to help you create beautiful, straightforward applications that are easy to change and simple to extend. Unfortunately, the world is awash with object-oriented (OO) applications that are difficult to understand and expensive to change. Practical Object-Oriented Design, Second Edition, immerses you in an OO mindset and teaches you powerful, real-world, object-oriented design techniques with simple and practical examples. Sandi Metz demonstrates how to build new applications that can “survive success” and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples in the easy-to-understand Ruby programming language, all downloadable from the companion website, poodr.com. Fully updated for Ruby 2.5, this guide shows how to Decide what belongs in a single class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Whatever your previous object-oriented experience, this concise guide will help you achieve the superior outcomes you’re looking for. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Eloquent Ruby
Author: Russ Olsen
Publisher: Addison-Wesley Professional
ISBN: 0321700279
Category : Computers
Languages : en
Pages : 446
Book Description
It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for. Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.
Publisher: Addison-Wesley Professional
ISBN: 0321700279
Category : Computers
Languages : en
Pages : 446
Book Description
It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for. Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.
Pro Active Record
Author: Chad Pytel
Publisher: Apress
ISBN: 1430202696
Category : Computers
Languages : en
Pages : 294
Book Description
Pro ActiveRecord for Ruby helps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. It walks you through every step from the basics of getting and installing the ActiveRecord library to working with legacy schema to using features specific to each of today's most popular database engines, including Oracle, MS SQL, and MySQL. You'll come to a deep understanding of ActiveRecord that will enable you to truly exploit all that Ruby, Rails, and your chosen database platform have to offer.
Publisher: Apress
ISBN: 1430202696
Category : Computers
Languages : en
Pages : 294
Book Description
Pro ActiveRecord for Ruby helps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. It walks you through every step from the basics of getting and installing the ActiveRecord library to working with legacy schema to using features specific to each of today's most popular database engines, including Oracle, MS SQL, and MySQL. You'll come to a deep understanding of ActiveRecord that will enable you to truly exploit all that Ruby, Rails, and your chosen database platform have to offer.