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

Ruby 2.5
  • 13 Videos | 1h 14m 52s
  • Includes Assessment
  • Earns a Badge
Likes 7 Likes 7
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
    UP NEXT
  • Playable
    2. 
    Using Regular Expressions in Ruby
    6m 19s
  • Locked
    3. 
    Manipulating Strings Using Regular Expressions
    6m 40s
  • Locked
    4. 
    Opening, Accessing, and Closing Files
    5m 57s
  • Locked
    5. 
    Reading and Writing Data to a File
    9m 2s
  • Locked
    6. 
    Manipulating Files on a Drive
    3m 40s
  • Locked
    7. 
    Manipulating Directories on a Drive
    6m 37s
  • Locked
    8. 
    Working with a Database
    2m 39s
  • Locked
    9. 
    Creating a Client Connection
    3m 40s
  • Locked
    10. 
    Using CRUD Operations
    5m 19s
  • Locked
    11. 
    Using Select Statements
    5m 4s
  • Locked
    12. 
    Using Prepared Statements
    3m 26s
  • Locked
    13. 
    Exercise: Using Input/Output with Ruby
    6m 46s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE