The Ruby Programming Language

Everything You Need to Know

Author: David Flanagan,Yukihiro Matsumoto

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596554651

Category: Computers

Page: 448

View: 4628

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team: David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository. Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book. why the lucky stiff, artist and Ruby programmer extraordinaire. This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules. The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities. The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.
Posted in Computers

Die Programmiersprache Ruby

Author: David Flanagan,Yukihiro Matsumoto

Publisher: O'Reilly Germany

ISBN: 3897218747

Category: Object-oriented programming (Computer science)

Page: 464

View: 6203

"Die Programmiersprache Ruby" ist das magebliche Handbuch zu Ruby mit einer umfassenden Beschreibung der Sprachversionen 1.8 und 1.9. Es wurde fur erfahrene Programmierer geschrieben, die sich neu in Ruby einarbeiten wollen, und fur Ruby-Programmierer, die ihr Wissen erweitern und Ruby besser beherrschen wollen. Dieses Buch dokumentiert Ruby umfassend, jedoch ohne den Formalismus einer Sprachspezifikation. Ruby vom Feinsten Dieses Handbuch beginnt mit einem Tutorial zum Schnelleinstieg in die Sprache Ruby und erklart sie dann detailliert auf allen Ebenen: Lexikalische und syntaktische Struktur von Ruby-Programmen, Datentypen und Objekte, Ausdrucke und Operatoren, Anweisungen und Kontrollstrukturen, Methoden, Procs, Lambdas und Closures, Klassen und Module, Reflection und Metaprogrammierung und die Ruby-Plattform API der Ruby-Plattform Die Programmiersprache Ruby beinhaltet eine umfassende Einfuhrung in die machtige API der Ruby-Plattform und stellt - mit ausfuhrlich kommentiertem Code - die Moglichkeiten von Ruby in Bezug auf Textbearbeitung, mathematische Berechnungen, Collections, Ein-/Ausgabe, Netzwerkverarbeitung und Concurrency vor. Wenn Sie Ruby wirklich verstehen wollen, ist dies das Buch, das Sie brauchen.
Posted in Object-oriented programming (Computer science)

Programmieren mit Ruby

Author: David Thomas,Andrew Hunt

Publisher: Pearson Deutschland GmbH

ISBN: 9783827319654

Category:

Page: 681

View: 3414

Posted in

Learning Ruby

The Language that Powers Rails

Author: Michael Fitzgerald

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596555320

Category: Computers

Page: 260

View: 9048

You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book -- a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road. Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book: Outlines many of the most important features of Ruby Demonstrates how to use conditionals, and how to manipulate strings in Ruby. Includes a section on regular expressions Describes how to use operators, basic math, functions from the Math module, rational numbers, etc. Talks you through Ruby arrays, and demonstrates hashes in detail Explains how to process files with Ruby Discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP) Introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics Acquaints you with some of the essentials of Rails, and includes a short Rails tutorial. Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, Learning Ruby holds the keys.
Posted in Computers

Java in a nutshell

deutsche Ausgabe für Java 1.4

Author: David Flanagan

Publisher: O'Reilly Germany

ISBN: 9783897213326

Category: Java (Computer program language)

Page: 1084

View: 3643

Posted in Java (Computer program language)

Comprehensive Ruby Programming

Author: Jordan Hudgens

Publisher: Packt Publishing Ltd

ISBN: 1787287998

Category: Computers

Page: 330

View: 2716

This book will provide you with all of the tools you need to be a professional Ruby developer. Starting with the core principles, such as syntax and best practices, and up to advanced topics like metaprogramming and big data analysis. About This Book Provides the core skills required to become a Ruby programmer Covers how to use the most popular Ruby Gem libraries Includes details on regular expressions Who This Book Is For This is a complete course written from the ground up for beginners wanting to gain a solid understanding of the Ruby language. It starts at the beginning with how to install Ruby and work with it on multiple machines, so simply have a computer that's connected to the Internet and you'll be ready. What You Will Learn Learn how to use Ruby code effectively, picking the right tool for the job and not duplicating built-in functionality Gain best software development practices, and how to identify and fix common errors Absorb core programming skills, such as variables, strings, loops, conditionals, and much more Explore object-oriented programming and learn to create modular, reusable code that you can use across projects Build 10 practical Ruby programs as you work through the book on topics such as big data analysis and solving Euler equations In Detail Ruby is a powerful, general-purpose programming language that can be applied to any task. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this book is your comprehensive Ruby coding guide. Starting with the foundational principles, such as syntax, and scaling up to advanced topics such as big data analysis, this book will give you all of the tools you need to be a professional Ruby developer. A few of the key topics are: object-oriented programming, built-in Ruby methods, core programming skills, and an introduction to the Ruby on Rails and Sinatra web frameworks. You will also build 10 practical Ruby programs. Created by an experienced Ruby developer, this book has been written to ensure it focuses on the skills you will need to be a professional Ruby developer. After you have read this book, you will be ready to start building real-world Ruby projects. Style and approach This is a comprehensive course for learning the Ruby programming language that works methodically through everything that you need to know. It begins with the basics of the language and then works through some complete projects to apply your skills and ensure that you have fully absorbed them and can use them in the real world.
Posted in Computers

Ruby For Kids For Dummies

Author: Christopher Haupt

Publisher: John Wiley & Sons

ISBN: 1119055997

Category: Computers

Page: 352

View: 7198

The fun way to introduce coding with Ruby to kids If you don't have the chance to take coding classes at school orin camp—or if you just want to learn on yourown—Ruby For Kids gears you up to expand yourtechnology skills and learn this popular programming language.Written in a way that's easy to follow—and keeping the supertech-heavy stuff to a minimum—it quickly and easily shows youhow to use Ruby to create web and mobile applications with noexperience required. Ruby is considered one of the best and simplest languages tostart with when you're learning coding. This fun and friendly guidemakes it even easier. Broken down into simple projects designed toappeal to younger programmers, Ruby For Kids gets you up andrunning with core coding concepts in no time. Before you know it,you'll be tackling hands-on projects, enjoying the support of avibrant community, and feeling a sense of accomplishment as youcomplete projects. Navigate the basics of coding with the Ruby language Use Ruby to create your own applications and games Find help from other Ruby users Offers tips for parents and teachers helping kids learnRuby So what are you waiting for? Ruby For Kids has everythingyou need to get in on one of the most popular topics around!
Posted in Computers

Ruby for Beginners

Your Guide to Easily Learn Ruby Programming in 7 Days

Author: iCode Academy

Publisher: Independently Published

ISBN: 9781521367704

Category: Ruby (Computer program language)

Page: 123

View: 7574

Are You Ready To Learn Ruby Easily? This book aims to guide a complete novice in Ruby programming. This book is carefully crafted to aid the new or inexperienced programmer in learning to write a code in Ruby language. If you are someone who somehow developed a fear to explore the unknown and still interested in learning Ruby programming, then this book can truly help you. This book covers everything that a beginner in Ruby programming should learn. Understand that programming offers an infinite amount of information and knowledge. However, this book understands that it may overwhelm a mere beginner in programming if it tackles even the advanced features of the Ruby language. This book can help you build a solid, basic knowledge in programming that can help you a lot when you begin to write your own program in Ruby language. You can use the acquired knowledge to pursue or learn more about Ruby's advanced concepts later on. For now, just concentrate on the basics and make sure to absorb every lesson before you go to the next one. Practice makes perfect and this book provides a lot of practice programs or exercises that can help you enhance your experience in Ruby programming. The exercises are simple and easy to understand to help you comprehend the lesson quickly. You also need to take note of the error messages that you may encounter. Let them serve as your guide so you can avoid the same mistake in the future or help you resolve the same error when you encounter them once more. Learning Ruby programming in 7 days is not something impossible to accomplish. Even a person with a little or no experience with any programming language can learn it within those days. As you go through each lesson, you will notice that it is quite easy to understand. It becomes much simpler when you have patience and discipline. Understand that you will be able to learn the Ruby basics in 7 days, but that won't make you an instant expert. You still need to practice and work your way in discovering the cool things that you can do with Ruby as you go along. Even expert programmers need to spend ample time in honing their programming skills. Before you know it, you are ready to create a more complex program.This book presents everything that a novice may need in understanding the basic Ruby programming. It is presented in such a way that anyone without prior programming knowledge will find it easy to understand - most technical jargons were kept to minimal, and they are the terminologies that you will likely encounter once you have started writing your program. Here's What You'll Learn From This Ruby For Beginners Book: ✓ Chapter 1: Getting acquainted with ruby ✓ Chapter 2: Initial Preparations ✓ Chapter 3: Start with the Basics ✓ Chapter 4: Ruby Variables ✓ Chapter 5: All About Methods ✓ Chapter 6: Flow Control ✓ Chapter 7: Iterators and Loops ✓ Chapter 8: More on Arrays and Hashes What Are You Waiting For? Start Coding Ruby Right Now!
Posted in Ruby (Computer program language)

Perl-Kochbuch

Author: Tom Christiansen,Nathan Torkington

Publisher: O'Reilly Germany

ISBN: 9783897213661

Category: Perl (Computer program language)

Page: 990

View: 5074

Posted in Perl (Computer program language)

JavaScript kurz & gut

Author: David Flanagan

Publisher: O'Reilly Germany

ISBN: 3868993894

Category: Computers

Page: 288

View: 8842

JavaScript ist eine mächtige, objektorientierte Skriptsprache, deren Code in HTML-Seiten eingebettet und vom Browser interpretiert und ausgeführt wird. Richtig eingesetzt, eignet sie sich aber auch für die Programmierung komplexer Anwendungen und hat im Zusammenhang mit HTML5 noch einmal an Bedeutung gewonnen. Diese Kurzreferenz ist ein Auszug aus der überarbeiteten und ergänzten Neuauflage von JavaScript – Das umfassende Referenzwerk, 6. Auflage, der JavaScript-Bibel schlechthin. JavaScript kurz & gut befasst sich in den ersten neun Kapiteln mit der neuesten Version des Sprachkerns (ECMAScript 5) und behandelt die Syntax der Sprache, Typen, Werte, Variablen, Operatoren und Anweisungen sowie Objekte, Arrays, Funktionen und Klassen. All dies ist nicht nur für die Verwendung von JavaScript in Webbrowsern, sondern auch beim Einsatz von Node auf der Serverseite relevant. In den folgenden fünf Kapiteln geht es um die Host-Umgebung des Webbrowsers. Es wird erklärt, wie Sie clientseitiges JavaScript für die Erstellung dynamischer Webseiten und -applikationen verwenden und mit JavaScript auf die HTML5-APIs zugreifen. Diese Kapitel liefern Informationen zu den wichtigsten Elementen von clientseitigem JavaScript: Fenster, Dokumente, Elemente, Stile, Events, Netzwerke und Speicherung.
Posted in Computers

Ruby Programming for the Absolute Beginner

Author: Jerry Lee Ford

Publisher: Course Technology PTR

ISBN: 9781598633979

Category: Computers

Page: 358

View: 4871

A guide to Ruby programming covers such topics as working with objects, strings, and variables; implementing conditional logic; working with Regular Expressions; object-oriented programming; and debugging.
Posted in Computers

Practical Ruby Projects

Ideas for the Eclectic Programmer

Author: Christopher Cyll

Publisher: Apress

ISBN: 9781430204718

Category: Computers

Page: 328

View: 2871

Revitalized by Ruby on Rails, the Ruby language continues to grow in popularity. Books like this are necessary to fill the demand. Here is a classic of its kind; required reading for Ruby programmers who have already mastered the basics and want to learn higher level techniques. Practical Ruby Projects presents nine diverse projects that will teach new and innovative techniques in a learn-by-example fashion. They include a turn-based adventure game and a generative music creator. While there are many other Ruby titles, none of them take this unique project-based approach to teaching.
Posted in Computers

Routineaufgaben mit Python automatisieren

Praktische Programmierlösungen für Einsteiger

Author: Al Sweigart

Publisher: dpunkt.verlag

ISBN: 3864919932

Category: Computers

Page: 576

View: 8396

Wenn Sie jemals Stunden damit verbracht haben, Dateien umzubenennen oder Hunderte von Tabelleneinträgen zu aktualisieren, dann wissen Sie, wie stumpfsinnig manche Tätigkeiten sein können. Wie wäre es, den Computer dazu zu bringen, diese Arbeiten zu übernehmen? In diesem Buch lernen Sie, wie Sie mit Python Aufgaben in Sekundenschnelle erledigen können, die sonst viel Zeit in Anspruch nehmen würden. Programmiererfahrung brauchen Sie dazu nicht: Wenn Sie einmal die Grundlagen gemeistert haben, werden Sie Python-Programme schreiben, die automatisch alle möglichen praktischen Aufgaben für Sie abarbeiten: • eine oder eine Vielzahl von Dateien nach Texten durchsuchen • Dateien und Ordner erzeugen, aktualisieren, verschieben und umbenennen • das Web durchsuchen und Inhalte herunterladen • Excel-Dateien aktualisieren und formatieren • PDF-Dateien teilen, zusammenfügen, mit Wasserzeichen versehen und verschlüsseln • Erinnerungsmails und Textnachrichten verschicken • Online-Formulare ausfüllen Schritt-für-Schritt-Anleitungen führen Sie durch jedes Programm und Übungsaufgaben am Ende jedes Kapitels fordern Sie dazu auf, die Programme zu verbessern und Ihre Fähigkeiten auf ähnliche Problemstellungen zu richten. Verschwenden Sie nicht Ihre Zeit mit Aufgaben, die auch ein gut dressierter Affe erledigen könnte. Bringen Sie Ihren Computer dazu, die langweilige Arbeit zu machen!
Posted in Computers

Rails Kochbuch

Author: Rob Orsini

Publisher: O'Reilly Germany

ISBN: 3897217147

Category: Ruby (Computer program language)

Page: 545

View: 6324

Posted in Ruby (Computer program language)

The Ruby Way

Solutions and Techniques in Ruby Programming

Author: Hal Fulton,André Arko

Publisher: Addison-Wesley Professional

ISBN: 0132480379

Category: Computers

Page: 816

View: 1574

For more than a decade, Ruby developers have turned to The Ruby Way for reliable “how-to” guidance on effective Ruby programming. Now, Hal Fulton and André Arko have thoroughly updated this classic guide to cover new language enhancements and developers’ experiences through Ruby 2.1. The new edition illuminates Ruby 2.1 through 400+ examples, each answering the question: “How do I do this in Ruby?” For each example, they present both a task description and realistic technical constraints. Next, they walk step-by-step through presenting one good solution, offering detailed explanations to promote deeper understanding. Conveniently organized by topic, The Ruby Way, Third Edition makes it easier than ever to find the specific solution you want—and to write better code by reflecting Ruby’s unique philosophy and spirit. Coverage includes Ruby 2.1 overview: terminology, philosophy, and basic principles Best practices for strings and regular expressions Efficiently internationalizing your code Performing calculations (including trigonometry, calculus, statistics, and time/date calculations) Working with “Rubyesque” objects such as symbols and ranges Using arrays, hashes, stacks, queues, trees, graphs, and other data structures Efficiently storing data with YAML, JSON, and SQLite3 Leveraging object-oriented and dynamic features, from multiple constructors to program inspection Building GUIs with Shoes 4, Ruby/Tk, Ruby/GTK3, QtRuby, and other toolkits Improving thread performance by understanding Ruby’s synchronization methods and avoiding its pitfalls Automating system administration with Ruby Data formats: JSON, XML, RSS, Atom, RMagick, PDF, and more Testing and debugging with RSpec, Minitest, Cucumber, byebug, and pry Measuring Ruby program performance Packaging and distributing code, and managing dependencies with Bundler Network programming: clients, time servers, POP, SMTP, IMAP, Open-URI Web applications: HTTP servers, Rails, Sinatra, HTML generation, and more Writing distributed Ruby software with drb Choosing modern development tools that maximize your productivity All source code for this book may be downloaded at www.rubyhacker.com. informit.com/aw informit.com/ruby rubyhacker.com/therubyway therubyway.io
Posted in Computers

Rails Crash Course

A No-Nonsense Guide to Rails Development

Author: Anthony Lewis

Publisher: No Starch Press

ISBN: 1593275722

Category: Computers

Page: 296

View: 8304

Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure. In Part I, you’ll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you’ll learn how to: * Craft persistent models with Active Record * Build view templates with Embedded Ruby * Use Git to roll back to previous versions of your code base * Deploy applications to Heroku In Part II, you’ll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails’s Active Record. You’ll learn how to: * Implement an authentication system to identify authorized users * Write your own automated tests and refactor your code with confidence * Maximize performance with the asset pipeline and turbolinks * Secure your app against SQL injection and cross-site scripting * Set up a server and deploy applications with Capistrano Each chapter is packed with hands-on examples and exercises to reinforce what you’ve learned. Whether you’re completely new to Ruby or you’ve been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.
Posted in Computers

Learning Rails

Author: Simon St. Laurent,Edd Dumbill

Publisher: "O'Reilly Media, Inc."

ISBN: 0596554214

Category: Computers

Page: 448

View: 9701

While most books written about Rails cater to programmers looking for information on data structures, Learning Rails targets web developers whose programming experience is tied directly to the Web. Rather than begin with the inner layers of a Rails web application--the models and controllers--this unique book approaches Rails development from the outer layer: the application interface. You'll learn how to create something visible with Rails before reaching the more difficult database models and controller code. With Learning Rails, you can start from the foundations of web design you already know, and then move more deeply into Ruby, objects, and database structures. This book will help you: Present web content by building an application with a basic view and a simple controller, while learning Ruby along the way Build forms and process their results, progressing from the simple to the more complex Connect forms to models by setting up a database, and use Rails' ActiveRecord to create code that maps to database structures Use Rails scaffolding to build applications from a view-centric perspective Add common web application elements such as sessions, cookies, and authentication Build applications that combine data from multiple tables Create simple but dynamic interfaces with Rails and Ajax Once you complete Learning Rails, you'll be comfortable working with the Rails web framework, and you'll be well on your way to becoming a Rails guru.
Posted in Computers

Ruby Wizardry

An Introduction to Programming for Kids

Author: Eric Weinstein

Publisher: No Starch Press

ISBN: 159327663X

Category: Computers

Page: 352

View: 3346

The Ruby programming language is perfect for beginners: easy to learn, powerful, and fun to use! But wouldn't it be more fun if you were learning with the help of some wizards and dragons? Ruby Wizardry is a playful, illustrated tale that will teach you how to program in Ruby by taking you on a fantastical journey. As you follow the adventures of young heroes Ruben and Scarlet, you’ll learn real programming skills, like how to: –Use fundamental concepts like variables, symbols, arrays, and strings –Work with Ruby hashes to create a programmable breakfast menu –Control program flow with loops and conditionals to help the Royal Plumber –Test your wild and crazy ideas in IRB and save your programs as scripts –Create a class of mini-wizards, each with their own superpower! –Organize and reuse your code with methods and lists –Write your own amazing interactive stories using Ruby Along the way, you’ll meet colorful characters from around the kingdom, like the hacker Queen, the Off-White Knight, and Wherefore the minstrel. Ruby Wizardry will have you (or your little wizard) hooked on programming in no time. For ages 10+ (and their parents!)
Posted in Computers

Web Services on Rails

Author: Kevin Marshall

Publisher: "O'Reilly Media, Inc."

ISBN: 0596527969

Category: Computers

Page: 32

View: 1083

This PDF will show you how your small business or enterprise can publish its APIs (application programming interface) to a developer community just like the behemoths of the Internet--Google, Yahoo!, eBay, and Amazon. These giants already offer their APIs to other programmers and allow for add-on services and mash-ups to develop from them--but until recently, the capability for most enterprises to do the same was limited by a myriad of competing standards and a lack of easy-to-use tools to accomplish the task. Ruby on Rails levels the playing field for companies by simplifying the process of building web services and documenting APIs. Now with Rails, enterprise-quality tools are available for all developers. In this document, we'll look at how Ruby on Rails makes building web service clients and servers simple and fun. Along the way, we'll give working examples and code details so you can see just how everything works.
Posted in Computers