Beginning Ruby on Rails
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Beginning Ruby on Rails
Beginning Ruby on Rails

Beginning Ruby on Rails

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Ruby on Rails is the revolutionary online programming tool that makes creating functional e-commerce web sites faster and easier than ever. With the intuitive, straightforward nature of Ruby and the development platform provided by Rails, you can put together full-fledged web applications quickly, even if you're new to web programming. You will find a thorough introduction to both Ruby and Rails in this book. You'll get the easy instructions for acquiring and installing both; understand the nature of conditionals, loops, methods, and blocks; and become familiar with Ruby's classes and objects. You'll learn to build Rails applications, connect to databases, perform necessary testing, and put the whole thing together to create real-world applications such as shopping carts and online catalogs--apps you can actually use right away. What you will learn from this book * How to install and use Ruby and Rails * Object-oriented programming with Ruby * Rails fundamentals and how to create basic online applications * How to work with HTML controls, use models in Rails applications, and work with sessions * Details on working with databases and creating, editing, and deleting database records * Methods for handling cookies and filters and for caching pages * How to connect Rails with Ajax Who this book is for This book is for anyone who wants to develop online applications using Ruby and Rails. A basic understanding of programming is helpful; some knowledge of HTML is necessary. Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.

Table of Contents:
Acknowledgments. Introduction. Chapter 1: Welcome to Ruby. Creating a First Web Application. Getting Started with Ruby. Checking the Ruby Documentation. Working with Numbers in Ruby. Working with Strings in Ruby. Storing Data in Variables. Creating Constants. Interpolating Variables in Double-Quoted Strings. Reading Text on the Command Line. Creating Symbols in Ruby. Working with Operators. Handling Operator Precedence. Working with Arrays. Using Two Array Indices. Working with Hashes. Working with Ranges. Chapter 2: Conditionals, Loops, Methods, and Blocks. It’s All about Making Choices: the if Statement. Using the case Statement. Using Loops. Creating and Calling a Method. Making Use of Scope. Working with Blocks. Chapter 3: Classes and Objects. All about Encapsulation. Creating a Class. Creating an Object. Basing One Class on Another. Understanding Ruby’s Object Access. Overriding Methods. Creating Class Variables. Creating Class Methods. Creating Modules. Creating Mixins. Chapter 4: Welcome to Rails. Putting Ruby on Rails. Introducing Model-View-Controller Architecture. Giving the View Something to Do. Mixing Ruby Code and HTML Inside the View. Passing Data from an Action to a View. Escaping Sensitive Text. Adding a Second Action. Chapter 5: Building Simple Rails Applications. Accessing Data the User Provides. Using Rails Shortcuts for HTML Controls. Working with Models. Tying Controls to Models. Initializing Data in Controls. Storing Data in Sessions. Chapter 6: Connecting to Databases. Tutorial on Databases. Creating a Data-Aware Rails Application. Creating the Database. Running the store Application. Adding Another Record. Beautifying the Display. Chapter 7: Working with Databases. Displaying Items to the Customer. Creating a Shopping Cart. Combining Purchases in the Cart. Clearing the Cart. Letting the User View the Cart Anytime. Chapter 8: Validating and Testing. Validating the Presence of Data. Validating if Data Is Numeric. Validating if Data Is Unique. Creating the Validator Application. Writing Your Own Validate Method. Testing Your Model. Testing Your Controller. Chapter 9: Controlling the Action with the Action Controller. Routing Refinements. Creating Cookies. Creating a Filter. Logging in with Filters. Using After Filters. Rendering Text Directly. Caching. Chapter 10: Getting the Big Picture with Views. Creating XML. Creating XML Attributes. Using View Helpers. Using View Pagination. Using Partial Templates. Passing Data to Partial Templates. Chapter 11: Ajax and Rails. Using Ajax. Getting Access to Ajax Data. Using XML and Ajax. Using HTML Controls and Ajax. Performing Ajax Searches. Performing Visual Effects. Appendix A: Answers to Exercises. Index.


Best Sellers


Product Details
  • ISBN-13: 9780470121085
  • Publisher: John Wiley & Sons Inc
  • Binding: Digital (delivered electronically)
  • No of Pages: 408
  • ISBN-10: 0470121084
  • Publisher Date: 27 Feb 2007
  • Language: English


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Beginning Ruby on Rails
John Wiley & Sons Inc -
Beginning Ruby on Rails
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Beginning Ruby on Rails

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!