Skip to content

makersacademy/student-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Directory

In this week we are aiming to get you ready with a lot of basic concepts and practices that will be the base for your further development as a web developer. Although they might look simple, it is really important that you grasp these concepts. We are going to build a simple terminal based student directory. Exciting, huh?

Make sure that you go through the knowledge pills (:pill:) when you struggle.

Overview

The goal of this tutorial is not only to show you the Ruby code that you'll need to write (that's the easy bit) but to show you the process of creating a project from scratch. Most importantly we'll explain what to do, in what order and why do it at all.

The script will be invoked from the command-line and it will only use pure Ruby, that is, there will be no external libraries to use. It will have text-based interface that will not look particularly exciting but it's really important to understand how to build basic things before trying to create sophisticated websites.

Challenges

  1. Setting up your environment
  2. Printing the list of students
  3. Refactoring (cleaning the code)
  4. Arrays
  5. Methods
  6. Adding more information about the student
  7. Asking for user input
  8. Exercises
  9. Adding an interactive menu
  10. More refactoring
  11. Saving the data to a file
  12. Loading the data from the file
  13. Taking arguments from the command line
  14. Extra exercises

Releases

No releases published

Packages

No packages published