|
Rails for PHP Developers: Refining Web Applications
As a PHP developer, you have some great tools for developing
web applications. Ruby on Rails is another key tool to add
to your web development toolbox. Rails is a high-level web
development framework that emphasizes high productivity and
clean code. However, the Ruby language and Rails framework
take a different approach from
the way many PHP developers
write applications.
Ruby lies at the foundation of Rails, and we'll teach you
the Ruby language from the beginning by building on your
existing foundation of PHP. We'll explore Ruby through
parallel code examples that illustrate the differences
between the languages, and help you understand the Ruby
idioms and how they differ from popular PHP code and style.
You'll then learn the Rails framework by iteratively
building a complete application, starting from the home page
through to a finished product. Along the way, you'll build
your skills as a Rails developer by learning the Rails
fundamentals such as MVC structure, domain modeling, and
testing.
In addition to serving as a guide to learning both Ruby and
Rails from a PHP developer's perspective, this book includes
two extensive reference chapters. They map the most common
PHP tasks to their equivalents in the Ruby and Rails world,
giving you at-a-glance information that you'll refer to
often.
CONTENTS:
Preface
Part 1: From PHP To Rails
Chapter 1: Getting Started With Rails
Chapter 2: Beginning Ruby Code
Chapter 3: Embracing The Ruby Philosophy
Part 2: Building A Rails Application
Chapter 4: Modelling The Domain
Chapter 5: Working With Controllers And Views
Chapter 6: Validating And Testing Models
Chapter 7: Authenticating Users
Chapter 8: Defining Associations
Chapter 9: Preparing To Launch
Chapter 10: Deploying The Application
Part 3: PHP To Ruby At A Glance
Chapter 11: PHP To Ruby Basics Reference
Chapter 12: PHP To Ruby Advanced Reference
Chapter 13: PHP To Rails Reference
Bibliography
Index
|