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

Ruby 2.5    |    Beginner
  • 13 videos | 1h 8m 52s
  • Includes Assessment
  • Earns a Badge
Likes 9 Likes 9
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

  • Playable
    1.  Defining Regular Expressions
    3m 45s
    In this video, you will define and describe regular expressions and how they can be used. FREE ACCESS
  • Playable
    2.  Using Regular Expressions in Ruby
    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.