Beginning Ruby: From Novice to Professional (2nd Edition) by Peter Cooper

By Peter Cooper

Preview

Based at the best-selling first version, Beginning Ruby: From beginner to expert, moment Edition is the prime advisor for all sorts of reader who desires to study Ruby from the floor up.

the recent version of this publication offers an analogous very good advent to Ruby because the first variation plus updates for the most recent model of Ruby, together with the addition of the Sinatra and Ramaze internet program frameworks and a bankruptcy on GUI improvement so builders can reap the benefits of those new traits.

Beginning Ruby begins by way of explaining the foundations in the back of object-oriented programming and inside a couple of chapters builds towards making a complete Ruby software. by means of the top of the booklet, as well as in-depth wisdom of Ruby, you'll even have simple figuring out of many ancillary applied sciences resembling SQL, XML, internet frameworks, and networking.
* Introduces readers to the Ruby programming language
* Takes readers from uncomplicated programming abilities to net improvement with issues like Ruby-based frameworks and GUI programming
* Covers many ancillary applied sciences so that it will supply a broader photograph (e.g., databases, XML, community daemons)
<h3>What you'll learn</h3> * comprehend the fundamentals of Ruby and object-oriented construction blocks.
* paintings with Ruby libraries, gem stones, and documentation.
* paintings with documents and databases.
* Write and installation Ruby applications.
* discover Ruby net frameworks and features of community programming with Ruby.
* increase laptop and GUI functions with Ruby.
<h3>Who is that this ebook for?</h3>
Beginning programmers, programmers new to Ruby, and internet builders drawn to understanding the rules of the language

---
Alt. ISBN:9781430223634

Show description

Read or Download Beginning Ruby: From Novice to Professional (2nd Edition) PDF

Best software development books

Error Control Coding: Fundamentals and Applications (Prentice-Hall Computer Applications in Electrical Engineerin)

Utilizing at the very least arithmetic, this quantity covers the basics of coding and the functions of codes to the layout of genuine mistakes keep an eye on structures.

Agile Software Construction

Introduces the center suggestions, evaluates how profitable they are often, in addition to what difficulties should be encountered Dispels a number of myths surrounding agile improvement

Fathom 2: Eine Einführung (German Edition)

Fathom 2 ist eine einzigartige dynamische Stochastik- und Datenanalysesoftware, die den besonderen Bedürfnissen der schulischen und universitären Lehre gerecht wird und die hier erstmals in deutscher Adaption vorgelegt wird. Die Einführung in Fathom 2 bietet einen schnellen und erfolgreichen Einstieg in diese Werkzeugsoftware anhand zahlreicher Beispiele zur statistischen Datenanalyse, zur stochastischen Simulation und zu mathematischen Aspekten der Stochastik.

Building Web Apps for Google TV

Via integrating the internet with conventional television, Google television bargains builders an incredible new channel for content material. yet developing apps for Google television calls for studying a few new skills—in truth, what you'll already find out about cellular or computer net apps isn't really fullyyt appropriate. development net Apps for Google television might help you are making the transition to Google television as you study the instruments and strategies essential to construct refined net apps for this platform.

Extra resources for Beginning Ruby: From Novice to Professional (2nd Edition)

Example text

As you start this book, be prepared to think in new ways, and to feel motivated to start coding for both fun and profit. Ruby has helped a lot of jaded developers become productive once again, and whether you’re a beginner to programming or one of those jaded programmers, it’s almost inevitable that you’ll see how Ruby can be both fun and productive for you. Last, if you’re coming from other modern scripting languages such as Perl, PHP, or Python, you might want to jump to Appendix A before reading Chapter 1.

Think about how you would create methods for the other Pet classes or the Pet class itself. Are there any methods that are generic to all pets? If so, they’d go in the Pet class. Are there methods specific to cats? They’d go in the Cat class. Everything Is an Object In this chapter, we’ve looked at how Ruby can understand concepts in the form of classes and objects. We created virtual cats and dogs, gave them names, and triggered their methods (the bark method, for example). These basic concepts form the core of object-oriented programming, and you’ll use them constantly throughout this book.

Type in the preceding code and give it a try if you like. However, creating the classes in this way would miss out on one of the best features of object-oriented programming: inheritance. Inheritance allows different classes to relate to one another and group concepts by their similarities. In this case, cats, dogs, and snakes are all pets. Inheritance allows you to create a “parent” Pet class, and then let your Cat, Dog, and Snake classes inherit the features that all pets have. Almost everything in real life exists in a similar structure to your classes.

Download PDF sample

Rated 4.30 of 5 – based on 46 votes