Certificate in Introduction to Ruby Programming Online CourseCourses For Success
Price on request
What you'll learn on the course
Object oriented training
The Ruby programming language uses simple, easy-to-remember syntax, along with a host of special functions that perform many time-consuming programming jobs for you. These features make it an excellent choice for creating dynamic Web pages. We'll start the course by examining what Ruby is all about, including Ruby on Rails, which allows you to incorporate Ruby code directly in your HTML code. Throughout the course, we'll use Ruby on Rails to develop a full-blown blogging application called the Restaurant Review. Then you'll be able to take what you learned and use it to develop other dynamic applications. Today, you'll take the first step in creating your own dynamic Web site by installing a Ruby on Rails server on your computer.
Using Data in Ruby Programs
In this lesson, we'll look at the basics of the Ruby programming language. You'll learn how to store and manipulate data in Ruby programs and how to use some of the built-in functions Ruby provides. Data is crucial to any programming application, and understanding how Ruby processes data will make it much easier to complete our course project.
Structured Commands and Loops
Today we'll look at three features that are crucial to the operation of just about every Ruby program you'll ever create. First, we'll look at structured commands, which allow you to alter the flow of a program based on values within the data, such as a variable. Following that, we'll discuss using loops in Ruby. Loops are a common way to process multiple data items with a minimum amount of code. Finally, we'll see how Ruby can use arrays to hold values of similar data and explore how to extract those values from the arrays.
One of the main features of the Ruby programming language is that it's object-oriented. We'll start this lesson by looking at the general principles behind object-oriented programming (OOP) and how it differs from the regular programming you may be familiar with. Then we'll see how Ruby implements OOP features and start playing with some object-oriented code. We'll finish by digging a little deeper into Ruby coding as we explore how you can customize pre-built objects.
Using Ruby on Rails Scaffolding
Today you'll find out about the Ruby on Rails concept of scaffolding. The scaffolding process automatically produces generic code for most of the common features contained in Web applications. You'll generate the scaffolding code for your Restaurant Review project and examine its features.
Modify Scaffolding Code
In this lesson, you'll learn exactly how to modify the scaffolding code to customize your Web pages. We'll start by looking at the database model code. We'll add some features that make the code more meaningful for our application, and we'll see how we can easily modify the database tables in the project. Finally, we'll start actually rearranging code in the scaffolding files by altering how the Web pages for the Restaurant Review display data.
Customize the Scaffolding Layout and Style
It's important to liven up your Web site using common HTML features, as well as Cascading Style Sheets (CSS). Today we'll walk through the steps necessary to modify the main application Web page layout, and you'll see how to incorporate an external CSS style sheet file to add color to the Restaurant Review project.
Add New Data Using Table Models and Partials
In this lesson, we'll discuss how to add new features to the generic ones that Ruby on Rails generated. You'll see how to add new data tables to the project, as well as the Web pages necessary to interact with them. We'll also look at how to create the Ruby code necessary to incorporate the new data on every page in the application by just creating a single file!
Adding Data Searching to Your Applications
Thanks to the popularity of Google and Yahoo!, Web surfers expect every good Web site to provide data searching features. Our Restaurant Review blog will be no different. Today we'll examine common searching algorithms and see how they affect the performance of the application. You'll find out how to use some SQL tricks along with Ruby coding to incorporate searching in your Web site.
Control User Access to the Application
Just saying the word security can send Web application administrators into a frenzy. Any dynamic site that allows visitors to post data needs to include some level of security. In this lesson, we'll look at what we can do to protect our Restaurant Review application from vandals and comment spammers. You'll learn how to use Ruby on Rails to control who can post reviews by creating a login system and tracking visitors.
Test Your Ruby on Rails Application
Testing your application is a crucial part of the development process. You want to make sure that everything works as it's supposed to before turning it loose on the Internet. Fortunately, Ruby on Rails provides excellent features for automatically testing applications. In this lesson, we'll look at those features and how to use and customize them. You'll see how to use testing to narrow down where a problem occurs so that it's easy to find it and fix it.
Running Your Rails Server in Production Mode
Today we'll take a closer look at how Rails handles our data with the default SQLite database. You'll see how you can view and manipulate data outside of the Rails application. And we'll also discuss how Rails provides a production environment geared for performance—instead of the development environment we've been using.
Through well-crafted lessons, expert online instruction and interaction with your tutor, participants in these courses gain valuable knowledge at their convenience. They have the flexibility to study at their own pace combined with enough structure and support to complete the course. And they can access the classroom 24/7 from anywhere with an Internet connection.
New sessions of each course run every month. They last six weeks, with two new lessons being released weekly (for a total of 12). The courses are entirely Web-based with comprehensive...