📚 Programming Tutorial

Scripting Languages

Scripting languages are high-level languages used to automate tasks, process text and build web and GUI applications. This tutorial covers Ruby, Perl, TCL and Tk, from the basics to advanced topics such as web programming, extensions and security.

Scripting Languages Tutorial Index

83 Topics

📜 Scripting Languages

📜

Introduction

Get an introduction to scripting languages and the subject.

💎 Ruby

💎

Introduction

Learn what Ruby is, its features and where it is used.

⬇️

Installing Ruby

Learn how to download and install Ruby on Windows, Linux and macOS.

🏗️

The structure and Execution of Ruby Programs

Learn how a Ruby program is structured and how it is run.

💬

Comments in Ruby

Learn how to write single-line and multi-line comments in Ruby.

🧮

Variables in Ruby

Learn about local, instance, class and global variables and naming rules.

🔢

Datatypes in Ruby

Learn the data types of Ruby: numbers, strings, symbols, arrays, hashes and ranges.

⌨️

Input and output statements in Ruby

Learn how to read input and display output using gets, puts, print and p.

➕

Operators in Ruby

Learn the arithmetic, comparison, logical, assignment and other operators of Ruby.

🔀

Conditional statements in Ruby

Learn decision making in Ruby with if, elsif, else, unless and case.

🔁

Loop statements in Ruby

Learn looping in Ruby with while, until, for, each and loop.

⚙️

Methods in Ruby

Learn how to define and call methods, pass arguments and return values.

📦

Package Management with RubyGems

Learn how to find, install and manage libraries using RubyGems.

🌐 Ruby and Web

🚆

Rails

Get an introduction to Ruby on Rails, the web application framework.

📝

Writing CGI scripts

Learn how to write CGI scripts in Ruby using the cgi library.

🍪

Cookies

Learn how to create, read and manage cookies in Ruby web programs.

🖥️

Choice of Web servers

Learn about the web servers that can be used to run Ruby web applications.

🔌

SOAP and web services

Learn how to build and use SOAP and web services in Ruby.

🪟 RubyTk

🪟

Simple Tk Application

Learn how to create a simple GUI application using Ruby/Tk.

🧩

Widgets

Learn the widgets of Ruby/Tk such as labels, buttons, entries and frames.

🖱️

Binding events

Learn how to bind events such as clicks and key presses to actions.

🖌️

Canvas

Learn how to draw shapes, lines and text on the Tk canvas.

↕️

Scrolling

Learn how to add scrollbars and scroll widgets in Ruby/Tk.

🧬 Extending Ruby

🧱

Ruby Objects in C

Learn how Ruby objects are represented and accessed from C code.

🎵

The Jukebox extension

Work through the Jukebox example of writing a Ruby extension in C.

💾

Memory allocation

Learn how memory is allocated and managed in Ruby extensions.

🏷️

Ruby Type System

Learn about the Ruby type system and how types are checked in extensions.

🔗

Embedding Ruby to Other Languages

Learn how Ruby can be embedded in programs written in other languages.

🧠

Embedding a Ruby Interpreter

Learn how to embed the Ruby interpreter in a C application.

📃 Scripting

📃

Scripts and Programs

Learn the difference between scripts and programs.

🕰️

Origin of Scripting

Learn how scripting started and evolved.

📆

Scripting Today

Learn the role of scripting in modern software development.

⭐

Characteristics of Scripting Languages

Learn the main characteristics that define scripting languages.

🛠️

Uses for Scripting Languages

Learn where scripting languages are commonly used.

🕸️

Web Scripting

Learn how scripting languages are used for web development.

🌌

The universe of Scripting Languages

Get an overview of the popular scripting languages.

🐪 PERL

🏷️

Names and Values

Learn about names, literals and values in Perl.

🧮

Variables

Learn about scalar, array and hash variables in Perl.

➗

Scalar Expressions

Learn how to build expressions with scalar values and operators.

🔀

Control Structures

Learn decision making and looping in Perl.

🗝️

Hashes

Learn how to create and use hashes (associative arrays) in Perl.

🔤

Strings

Learn how to create and manipulate strings in Perl.

🔍

Pattern and regular expressions

Learn pattern matching and regular expressions in Perl.

⚙️

Subroutines

Learn how to define and call subroutines in Perl.

🚀 Advanced perl

🔁

Finer points of looping

Learn the finer points of looping in Perl such as last, next, redo and labels.

📦

Pack and unpack

Learn how to convert data to and from binary form with pack and unpack.

🗂️

Filesystem

Learn how to work with files, directories and the filesystem in Perl.

🧪

eval

Learn how eval evaluates code and traps errors in Perl.

🧱

Data structures

Learn how to build complex data structures using references in Perl.

📦

Packages

Learn how packages create separate namespaces in Perl.

🖥️

Interfacing to the operating system

Learn how Perl programs interact with the operating system.

🌐

Creating Internet ware applications

Learn how to create Internet-aware applications in Perl.

🛠️

Dirty Hands Internet Programming

Learn hands-on Internet programming with Perl sockets.

🔒

Security Issues

Learn the security issues in Perl programs and how to handle them.

🪶 TCL

📐

Syntax

Learn the syntax rules of TCL: commands, words, substitution and quoting.

🧮

Variables and Data in TCL

Learn how variables and data are handled in TCL.

⌨️

Input/output

Learn how to read input and display output in TCL.

⚙️

Procedures

Learn how to define and call procedures in TCL.

🔤

Strings

Learn how to create and manipulate strings in TCL.

🔍

Patterns

Learn pattern matching in TCL with glob patterns and regular expressions.

🚀 Advance TCL

🧪

eval

Learn how eval builds and runs commands dynamically in TCL.

📄

Source

Learn how the source command loads and runs script files.

⏫

Exec and uplevel commands

Learn the exec and uplevel commands of TCL.

🧭

Name spaces

Learn how namespaces organize commands and variables in TCL.

⚠️

Trapping errors

Learn how to trap and handle errors in TCL.

⚡

Event driven programs

Learn how to write event driven programs in TCL.

🌐

Making applications internet aware

Learn how to make TCL applications Internet aware.

🔩

Nuts and Bolts Internet Programming

Learn the basics of Internet programming with TCL sockets.

🔒

Security Issues

Learn the security issues in TCL programs and how to handle them.

🪟 Tk

🧰

Visual Tool Kits

Learn what visual toolkits are and why they are used.

📘

Fundamental Concepts of Tk

Learn the fundamental concepts of Tk: widgets, geometry and options.

🖱️

Events and Binding

Learn how events are bound to actions in Tk.

🔍

No topics found
Try another search term.