Interested in learning web development, new language or just want to keep yourself updated with what's happening in information technologies? This site brings you the vast collection of screencast / video from net that can help you learn new technology, keep you informed of what's new, provide how to video tutorials and help you advance in information technology field. Not to mention seeing is better then reading or listening.

Ruby WebServer 3

ERB (Embedded Ruby)! This addition to our Ruby web server application allows you to call web pages with Ruby code that execute on the fly (time of render). Check out these snippets: myfile = IO.readlines("chris.html") #@session.puts myfile template = ERB.new <<-EOF #{myfile} EOF @session.puts templat...

Ruby WebServer 2

This is a continuation of the BYO-WebServer application except rather than outputing static text, we will read and output an html file stored in the same directory. The new 2 lines of code are as follows: myfile = IO.readlines("chris.html") @session.puts myfile

Ruby WebServer 1

By popular demand, here's a screencast of a basic web server engine based on Ruby. Source by Suresh Mahadevan. require 'thread' require 'socket' class RequestHandler def initialize(session) @session = session end def process while @session.gets.chop.length != 0 end @session.puts "HTTP/1.1 200 OK" @se...