Everything you need to learn programming with Ruby

Since I first looked at the Ruby programming language, I have admired it for its smooth, powerful and fun programming language. As for the reason I do not rely on it yet in a project, it is that I have not seriously needed it yet, as I often get what I want quickly with PHP, especially since at the level of small websites, getting web hosting with PHP programmed remains easier and cheaper.


As usual; Necessity is the mother of invention. Yukihiro Matsumoto was looking for a programming language that would increase his productivity, one that would make him enjoy coding. He did not find it, so he started thinking about creating a new programming language in 1993 called Ruby, and he launched the first public version of it in December 1995.

Ruby took advantage of the advantages of other programming languages ​​and brought new concepts to increase the productivity of programmers and make them feel the joy of programming, so the language achieved great success in Japan, but despite that, and because its documents were not translated into English, it was not able to arouse the interest of programmers from outside Japan until the year 2000, and it needed After that for another five years before it became a global phenomenon after the Danish programmer David Heinemeyer Hanson came, in 2005, with his creativity that changed many concepts of developing websites and web services; Ruby on Rails software framework.

Yukihiro Matsumoto says Ruby is designed for productivity and fun, and it focuses on human needs, not computers: “Often times people, especially computer engineers, focus on computers. They think, “By doing this, the device will run faster. By doing this, the device will run more efficiently. Through that, the device will be and be.” But in reality we need to focus on people and how we write and understand programs. Or apps running on the device. We are the masters (humans). They are slaves (the device). '' Therefore the expressions of the language are simple, easy to understand and more humane. Always the result: elegant scripts that are easy to read and understand. With unlimited fun during programming.

The best sources for learning Ruby

I can say that I have read a lot of technology and programming books, on different programming languages, by different writers and from different publishers. But the best book ever to explain and teach a programming language was “Beginning Ruby: From Novice to Professional”, starting from the beginning; It explains the basic concepts and then gradually delves into it to take you from beginner to professional level, in an easy and fun way. For me, if the author (Peter Cooper) wrote any other book, on technology or programming, I would definitely buy it whatever its topic. He is a creative and energetic person in the technical field. He edits a weekly newsletter on Ruby, in which he collects the most important news, educational articles and new Ruby software libraries.

After this book, you can move on to Programming Ruby 1.9 & 2.0 which dives deep into the details of the language and explains all of its main programming units. This book is a reference manual that you can refer to at any time you need familiarity with a particular detail of the language, and there is no need to read it completely from cover to cover.

The programming library abounds with many books explaining the Ruby programming language, but these two books are enough to take you from the level of a novice programmer to an expert who is familiar with all the details of Ruby. You do not need to read other books. You can read the help documents on the official website, and follow the newsletter, edited by Peter Cooper, to stay up-to-date on language news and the highlights of what is written about it.

The best resource for learning Ruby on Rails

There is no doubt that the credit for the global spread of Ruby is due to the Ruby On Rails programmatic framework, which revolutionized the field of web application development during the boom in Web 2.0 applications, as the framework helped everyone who has an idea and the ability to learn programming - even a little. To implement the idea very quickly and launch the site for use within a few days or weeks.

If you want to take a quick look at the Rails framework, and learn it to implement a small project, you will find no better than the book "Ruby on Rails Tutorial: Learn Web Development with Rails", which provides everything a newcomer to the Rails world needs, from installing the system to uploading a website. To the internet. The book is available for free reading from the Internet. Or, you can simply check out a tutorial provided by the Rails Guides team.

When you need to deepen your knowledge of Rails, or be proficient at programming, the best book is "Agile Web Development with Rails", which was the first and best book out of Rails, and perhaps still the best. The book starts directly with a practical step-by-step model for building a web application with ample explanation of each stage. Then in the second part of the book it takes you to delve deeper into the finer details.

In contrast to the books I cited here, there are a number of video lessons for Rails and Ruby, in addition to many educational articles. But I did not see it, as I am mainly amateurs of learning from books, so I did not mention these sources and I was satisfied with mentioning the books, which I see as the best ever.

No comments:

Powered by Blogger.