Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
From PHP to Ruby on Rails

You're reading from   From PHP to Ruby on Rails Transition from PHP to Ruby by leveraging your existing backend programming knowledge

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781804610091
Length 244 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Bernard Pineda Bernard Pineda
Author Profile Icon Bernard Pineda
Bernard Pineda
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Part 1:From PHP to Ruby Basics
2. Chapter 1: Understanding the Ruby Mindset and Culture FREE CHAPTER 3. Chapter 2: Setting Up Our Local Environment 4. Chapter 3: Comparing Basic Ruby Syntax to PHP 5. Chapter 4: Ruby Scripting versus PHP Scripting 6. Chapter 5: Libraries and Class Syntax 7. Chapter 6: Debugging Ruby 8. Part 2:Ruby and the Web
9. Chapter 7: Understanding Convention over Configuration 10. Chapter 8: Models, DBs, and Active Record 11. Chapter 9: Bringing It All Together 12. Chapter 10: Considerations for Hosting Rails Applications versus PHP Applications 13. Index 14. Other Books You May Enjoy

What this book covers

Chapter 1, Understanding the Ruby Mindset and Culture, provides an introduction to the way Ruby developers think and write code.

Chapter 2, Setting Up Our Local Environment, provides a short guide to installing Ruby to allow you to follow along with the exercises in this book.

Chapter 3, Comparing Basic Ruby Syntax to PHP, provides a comparison between PHP and Ruby syntax as a way to ease your entry into the language, its similarities, and its differences.

Chapter 4, Ruby Scripting versus PHP Scripting, compares PHP scripts with Ruby scripts with the intent of taking advantage of Ruby’s syntax to write more readable code.

Chapter 5, Libraries and Class Syntax, provides an introduction to Ruby’s libraries (gems) and their installation and usage. This chapter also provides an introduction to object-oriented programming in the Ruby realm.

Chapter 6, Debugging Ruby, provides an introduction to the tools we have available in Ruby to fix bugs and errors in scripts that we may encounter at runtime. This chapter also provides a guide to installing and using these tools.

Chapter 7, Understanding Convention over Configuration, provides an introduction to the Ruby on Rails web framework, its installation, and the simplest of examples to start using it.

Chapter 8, Models, DBs, and Active Record, provides an introduction to handling databases with Ruby on Rails through models. It also covers the basics of database actions using ActiveRecord.

Chapter 9, Bringing It All Together, provides a guide to generate a simple Ruby on Rails application using everything we’ve learned so far in the book, but via a more practical example.

Chapter 10, Considerations for Hosting Rails Applications versus PHP Applications, provides a short guide to the factors that you must take into account when publishing a Rails application in a real-life scenario, a.k.a. production.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime