From PHP to Ruby on Rails
Packt Publishing Limited (Verlag)
978-1-80461-009-1 (ISBN)
Key Features
Understand the notable differences between Ruby and PHP development
Gain practical experience and proficiency in Ruby by contrasting PHP examples with their equivalent Ruby counterparts
Explore how Ruby integrates into the Ruby on Rails framework and make insightful comparisons with PHP frameworks
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionAre you a PHP developer looking to take your first steps into the world of Ruby development? From PHP to Ruby on Rails will help you leverage your existing knowledge to gain expertise in Ruby on Rails. With a focus on bridging the gap between PHP and Ruby, this guide will help you develop the Ruby mindset, set up your local environment, grasp the syntax, master scripting, explore popular Ruby frameworks, and find out about libraries and gems.
This book offers a unique take on Ruby from the perspective of a seasoned PHP developer who initially refused to learn other technologies, but never looked back after taking the leap. As such, it teaches with a language-agnostic approach that will help you feel at home in any programming language without learning everything from scratch. This approach will help you avoid common mistakes such as writing Ruby as if it were PHP and increase your understanding of the programming ecosystem as a whole.
By the end of this book, you'll have gained a solid understanding of Ruby, its ecosystem, and how it compares to PHP, enabling you to build robust and scalable applications using Ruby on Rails.What you will learn
Set up a robust development environment by configuring essential tools and dependencies
Understand the MVC model and learn effective techniques for working with Ruby libraries and frameworks
Integrate authentication functionality into your Rails application by leveraging gems
Find out how to process data from forms, URLs, and sessions within a Ruby on Rails application
Gain proficiency in using functions and gems for debugging and troubleshooting your Rails project
Create a simple Rails application, run it, and debug it in production mode
Who this book is forThis book is for PHP developers new to Ruby and Ruby on Rails. Whether you're a seasoned PHP developer or just starting out, this book will show you how you can transfer your existing PHP knowledge to Ruby and build web applications using the powerful Ruby on Rails framework.
Bernard Pineda is a seasoned developer with 20 years of web development experience. Proficient in PHP, Ruby, Python, and other backend technologies, he has taught PHP and PHP-based frameworks through video courses on platforms like LinkedIn Learning. His extensive work with Ruby and Ruby on Rails, along with curiosity in frontend development and game development, bring a diverse perspective to this book. Currently working as a Site Reliability Engineer in Silicon Valley, Bernard is always seeking new adventures.
Table of Contents
Understanding the Ruby Mindset and Culture
Setting Up Our Local Environment
Comparing Basic Ruby Syntax to PHP
Ruby Scripting versus PHP Scripting
Libraries and Class Syntax
Libraries vs Gems
Ruby Class Syntax
Debugging Ruby
Bringing It All Together
Considerations for Hosting Rails Applications vs PHP Applications
Erscheinungsdatum | 28.07.2023 |
---|---|
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
ISBN-10 | 1-80461-009-7 / 1804610097 |
ISBN-13 | 978-1-80461-009-1 / 9781804610091 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich