Ruby Full Stack Development: RegEx & I/O with Ruby

Ruby 2.5    |    Beginner
  • 13 videos | 1h 8m 52s
  • Includes Assessment
  • Earns a Badge
Rating 5.0 of 3 users Rating 5.0 of 3 users (3)
Most applications need to use input/output operations for files and databases. Explore how Ruby accesses and manipulates files on a disk and accesses information from databases. In this course, you will see how to define and use regular expressions to manipulate strings. Use the built-in File class to open, access, and close files. See how to write code that reads and writes data to a file, and manipulates files and directories on a drive. Learn how to run the MySQL2 Ruby Gem database connector, create a client connection, and execute CRUD operations, as well as select statements and prepared statements.

WHAT YOU WILL LEARN

  • Define and describe regular expressions and how they can be used
    Use regular expressions to evaluate if a value is valid in ruby
    Manipulate and modify strings using regular expressions in ruby
    Open, access, and close files and check if a file exists in ruby
    Read and write string, byte, and character data to a file in ruby
    Manipulate physical files on a drive by renaming, deleting, and copying files in ruby
    Create, rename, move, and delete directories from within ruby
  • Install the mysql2 ruby gem database connector
    Use the mysql2 client class to create a connection object to a mysql database
    Create, read, update, and delete data from a database
    Use sorting, grouping, and aggregation when reading data from a database
    Use prepared statements to safely pass data to the database
    Use file and database input and output operations to manipulate files and data stored in databases

IN THIS COURSE

  • 3m 45s
    In this video, you will define and describe regular expressions and how they can be used. FREE ACCESS
  • 6m 19s
    Find out how to use regular expressions to evaluate if a value is valid in Ruby. FREE ACCESS
  • Locked
    3.  Manipulating Strings Using Regular Expressions
    6m 40s
    In this video, learn how to use regular expressions to manipulate and modify strings in Ruby. FREE ACCESS
  • Locked
    4.  Opening, Accessing, and Closing Files
    5m 57s
    During this video, you will learn how to open, access, and close files and check if a file exists in Ruby. FREE ACCESS
  • Locked
    5.  Reading and Writing Data to a File
    9m 2s
    During this video, you will learn how to read and write string, byte, and character data from/to a file in Ruby. FREE ACCESS
  • Locked
    6.  Manipulating Files on a Drive
    3m 40s
    In this video, find out how to manipulate physical files on a drive by renaming, deleting, and copying files using Ruby. FREE ACCESS
  • Locked
    7.  Manipulating Directories on a Drive
    6m 37s
    Find out how to create, rename, move, and delete directories from within Ruby. FREE ACCESS
  • Locked
    8.  Working with a Database
    2m 39s
    In this video, learn how to install the MySQL2 Ruby Gem database connector. FREE ACCESS
  • Locked
    9.  Creating a Client Connection
    3m 40s
    Learn how to use the MySQL2 Client class to create a connection object to connect to a MySQL database. FREE ACCESS
  • Locked
    10.  Using CRUD Operations
    5m 19s
    In this video, you will learn how to create, read, update, and delete data from a database. FREE ACCESS
  • Locked
    11.  Using Select Statements
    5m 4s
    Find out how to use sorting, grouping, and aggregation when reading data from a database. FREE ACCESS
  • Locked
    12.  Using Prepared Statements
    3m 26s
    Find out how to use prepared statements to safely pass data to the database. FREE ACCESS
  • Locked
    13.  Exercise: Using Input/Output with Ruby
    6m 46s
    In this video, find out how to use file and database input and output operations to manipulate files and data stored in databases. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 8 users Rating 4.5 of 8 users (8)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.4 of 22 users Rating 4.4 of 22 users (22)