Ruby tutorials and tips

Source: Internet
Author: User
Tags ruby on rails
  Ruby is really better than Java?
Ruby on Rails Founder: Goodbye to Java
Two major events that have taken place around java over the past two weeks: eclipsecon and theserverside Java Symposium, which have sparked an endless debate in the industry over Java and dynamic languages. [Read more]

The father of Java is Php, Ruby, and C #.
When some people asked about the current threats to Java, Gosling gave this answer: "PHP and Ruby are good systems, but they are used as scripting languages to exert their power, it is limited to the web page." [Read more]
  Prophism Ruby programming skills
How to use Ruby without rails Java programmers
Ruby on Rails is only a factor that makes Ruby a great factor, just as EJB is only an integral part of the Java Enterprise platform. This article will discuss with you how to use only the functions that Ruby can implement as a Java developer. [Read more]

Use eclipse + RDT plug-in for Ruby Development
Ruby is a pure object-oriented language. Unlike Java, everything in ruby is an object. Ruby syntax mainly comes from smalltalk, Python and Ada. Ruby is a single-inherited language, but it provides some advanced features that are not implemented by Java technology. [Read more]

Create an XML application using Ruby + Builder
Since the advent of Ruby on Rails last year, interest in the ruby language has steadily increased. Rails has helped people see what Ruby is: a decent, easy-to-learn and fun-to-use language, and even suitable for the development of industrial application software. [Read more]
  Recent excellent topics

Who will pay for it?

Strength of code and aesthetics in American programming

Confession from an open-source worker who eats crabs

Where does Borland go after 20 years of Legend
  Ruby Program Design introductory lecture
1. installation and configuration
If you are engaged in software development as I do, we have a consensus: Although learning a new programming language may be interesting, after you have a deep understanding of it, you are qualified to look at the language with suspicion. [Read more]

2. Objects, methods, and classes
In Ruby, everything is an object. Instead of the original type in Java or C ++, strings are objects, and classes and methods are not objects. [Read more]

Third, variables and assignments
Have you noticed that there is something missing in all the Demo code above? Do you have to input constants, instance variables, or class variables? Absolutely not! This is part of Ruby's True Object-oriented nature. [Read more]

Lecture 4 class variables and class methods
Like most object-oriented languages, Ruby classes also agree to define class variables and methods. A class variable agrees to share a single variable among all instances of a class. In Ruby, two @ signs are used to indicate class variables. [Read more]

Lecture 5 method Access Control
When designing an application, you may want to implement a method that is used only within an object rather than other objects. [Read more]

Lecture 6 multi-Inheritance
Although multi-inheritance may become a powerful feature of a language, many object-oriented languages do not add it because it adds the complexity and ambiguity of the language. [Read more]

Lecture 7 numbers, strings, and others
When learning a new programming language, it is very practical to first understand the "standard" type provided by the language. Therefore, we will first discuss the numeric, String, Boolean, and other main Ruby data types. [Read more]

Lecture 8 Data Structure
Like many programming languages, Ruby also provides a complete data structure to store and manage data and objects. [Read more]

9. code blocks, iterations, and process objects
Everything in ruby is an object. Even a code block is an object! In Ruby, code objects are called code blocks. You can think of a code block as a small program unit. [Read more]

Lecture 10 Input and Output and standard library
A large number of Ruby standard output methods are used when writing Ruby code. Among them, the print and puts methods are most often used. [Read more]

11th a simple example
Based on the current Ruby knowledge and the help of the Ruby standard library, you should be able to build a real-world application. [Read more]
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.