Ajax on Rails
In a few short months, Ajax has moved from an obscure and rarely used technology to the hottest thing since sliced bread. This article introduces the incredibly easy-to-use Ajax support that is part of the Ruby on Rails web application framework. This is not a step-by-step tutorial, and I assume that you know a little bit about how to organize and construct a Rails web application. If you need a quick refresher, check out Rolling with Ruby on Rails, Part 1 and Part 2.
All Aboard AJAX, HTML Canvas, and the Supertrain
In this article I'm going to walk through a less complex experiment, using canvas to graphically represent the real-time state of a fictional railway system. I'm not going to deconstruct the details of the JavaScript and Ruby code.
An Introduction to RubyCocoa, Part 1
This article can be considered the fourth and fifth in a series covering Ruby programming on Mac OS X. However, unlike the first three articles of this series, this tutorial can be used as a standalone piece. You only need some knowledge of the Ruby programming language with a little prior experience in Xcode to understand the content found here.
An Invitation to Ruby
Ruby is a an object oriented scripting language with a great deal of flexibility and power. This presentation is not a tutorial on Ruby (although we will see a lot of Ruby code), but a simple invitation to come check it out. Hopefully, you will be enticed.
Behavior-Driven Testing with RSpec
Testing fever has infected the Ruby programming community, and the infection is spreading. One of the most promising innovations in testing in the past year is the introduction and rapid growth of RSpec, a behavior-driven testing tool. Learn how RSpec can change the way you think about testing.
Blocks and Closures in Ruby
Yukihiro Matsumoto, the creator of the Ruby programming language, talks with Bill Venners about two kinds of nameless functions in Ruby: blocks and closures.
Build a Web Spider on Linux
Web spiders are software agents that traverse the Internet gathering, filtering, and potentially aggregating information for a user. This article shows you how to build spiders and scrapers for Linux to crawl a Web site and gather information, stock data, in this case. Using common scripting languages and their collection of Web modules, you can easily develop Web spiders.
Building Unix Tools with Ruby
This article demonstrates how to write Ruby scripts that work like typical, well-behaved Unix commands. To make it more fun and useful, we'll write a command-line tool for processing data stored in the comma separated values (CSV) file format. CSV (not CVS) is used to exchange data between databases, spreadsheets, and securities analysis software, as well as between some scientific applications. That format is also used by payment processing sites that provide downloadable sales data to vendors who use their services.
Create a Web Service with Ruby on Rails
Learn how to use a Web service to facilitate the communication between a Ruby on Rails client and an SCA component running on WebSphere Process Server. You can see how to expose the SCA component as a service, followed by the steps required to generate the Ruby client that will invoke the service.
Creating XML with Ruby and Builder
This article will walk you through how to install and then create XML documents with Builder, independent of Rails. It won't, of course, cover all the features of Builder, but it will cover enough to get some wind under your wings.
Deploy an application with Cerise Web server
This article shows you how to create a guestbook Web application with the Cerise Web server and the Ruby programming language. You'll use RSS 1.0 as the file format for the guestbook entries and XSLT for transforming files to HTML.
Distributing Rails Applications
In this tutorial, we'll go through the following steps:Setup the environment, Create the SQLite database, Develop the Rails application, Create the RBA (= Ruby archive) from the application with Tar2RubyScript, Create the standalone executable with RubyScript2Exe.
Dynamic Productivity with Ruby
Yukihiro Matsumoto, the creator of the Ruby programming language, talks with Bill Venners about morphing interfaces, using mix-ins, and the productivity benefits of being concise in Ruby.
Eliminate Ruby on Rails Drudgery with ActiveScaffold
Save time and headaches, and create a more easily maintainable set of pages, with the Ruby on Rails ActiveScaffold plugin. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.
Extending Ruby with C
Ruby, if you've never heard of it, is an object-oriented scripting language, similar in many ways to Perl and Python. It originates from Japan and is young, as far as programming languages go. There are many really good reasons you might want to use the Ruby language; I'm not going to go into all of them here, but the one at the core of this article is the ease with which you can write Ruby extensions in C.
Fast-track your Web apps with Ruby on Rails
Ruby on Rails is a recent entry into the world of Web application development that is rapidly gaining mindshare, even while still in beta versions. Rails succeeds by automating the creation of the most common types of Web applications while not straightjacketing you if you want to add custom or atypical requirements. Moreover, compared to many Free Software libraries that perform individual aspects of a Web application, Rails contains a nicely integrated set of tools for all aspects.
How to set up DRb over SSL
A guide to using SSL with DRb. This is the simplest way to use DRb with SSL. It works the same way that your web browser works when connecting to a banking site. The server has a key and certificate that has been signed by a CA, and the client has a copy of the CA's certificate, so the client can verify that the server is trustable. Here's a DRb Server that has been modified to use SSL with its server key. It will work out of the box with the QuickCert configuration above."
Introduction to Distributed Ruby (DRb)
DRb allows Ruby programs to communicate with each other on the same machine or over a network. DRb uses remote method invocation (RMI) to pass commands and data between processes.
Matz on Craftsmanship
Yukihiro Matsumoto, the creator of the Ruby language, talks with Bill Venners about becoming a better programmer through reading code, learning languages, focusing on fundamentals, being lazy, and considering interfaces.
Mocking and Stubbing in Ruby on Rails
Understand the basic foundations behind stubbing and mocking techniques and strategies with this hands-on walkthrough using the three most popular mocking frameworks for Ruby: RSpec, Mocha, and Flex Mock. Also, learn how the Ruby on Rails Web framework can help speed your development of DB2-based Web applications.
Read iCal Data with Ruby
Apple doesn't provide any APIs to read iCal's data, but you can do it yourself. This article presents a Ruby module to read iCal data and use in your own Ruby applications, including complete Cocoa applications written with RubyCocoa. In addition you'll learn how to read iCal data in any programming language you desire.
Riding the Rails with WebSphere Part 1
This article is the first of two that demonstrates how a Ruby on Rails application can be deployed inside of WAS V6.1, and how to integrate WAS existing features with Ruby on Rails applications. This marriage provides the best of both worlds: rapid development and testing while leveraging your investment in WAS.
Rolling with Ruby on Rails
This article steps through the development of a web application using Rails. It won't teach you how to program in Ruby, but if you already know another object-oriented programming language, you should have no problem following along
Rolling with Ruby on Rails, Part 2
Curt Hibbs shows off Ruby on Rails by finishing his sample application in 47 lines of code. Rails is a relatively young framework. As of this writing, it's been barely six months since the first public release. Yet it debuted with such a stunning feature set and solid stability that a vibrant developer community quickly sprang up around it. Within this time frame, several production web applications have been deployed that were built with Ruby on Rails.
Ruby off the Rails
Ruby on Rails is just one facet of what makes Ruby great, just like EJB is only part of the Java enterprise platform. Andrew Glover digs beneath the hype for a look at what Java developers can do with Ruby, all by itself. Ruby's syntax is quite different from that of the Java language, but it's amazingly easy to pick up. Moreover, some things are just plain easier to do in Ruby than they are in the Java language.
Ruby on Rails
Ruby on Rails is a recent entry into the world of Web application development that is rapidly gaining mindshare, even while still in beta versions. Rails succeeds by automating the creation of the most common types of Web applications while not straightjacketing you if you want to add custom or atypical requirements. Moreover, compared to many Free Software libraries that perform individual aspects of a Web application, Rails contains a nicely integrated set of tools for all aspects.
Ruby on Rails and J2EE: Is there room for both?
Ruby on Rails is a relatively new Web application framework built on the Ruby language. It is billed as an alternative to existing enterprise frameworks, and its goal, in a nutshell, is to make your life -- or at least the Web development aspects of it -- easier. This article will contrast the Rails framework against a typical J2EE implementation using common open source tools that are regularly found in enterprise applications.
Ruby on Rails on Debian
Most of you have probably heard of Ruby on Rails and may be wondering what exactly it does and how you can try it for yourself. Put simply, Rails is a web application framework that uses the model-view-controller software design pattern to allow for rapid development of web applications. This article will cover how to install Rails on Debian and how to configure it to work with Apache and a relational database of your choice.
Ruby on Rails Proves It Deserves the Hype
The Ruby programming language and Rails framework have both been around for a few years, but the two technologies have recently been combined to create a new development environment. This new environment, dubbed Ruby on Rails, has simplified web application development. Learn how it can improve programming productivity at your organization.
Ruby/Tk Primer, Part 2
This is the second article in a multi-part series in which we use Ruby and the Tk toolkit to develop a GUI front end for the cron task scheduler. In the first article, we learned the basics of programming in Ruby, and in the process we created the back end for the GUI we're working on. If you have no prior experience in Ruby, or if you need a refresher, please go back and read over the first tutorial.
Ruby/Tk Primer, Part 3
In this third and final installment of this multi-part series on Ruby/Tk programming, Christopher Roach pulls together all the pieces and shows you how to complete your demo application.
Ruby/Tk Primer: Creating a cron GUI Interface with Ruby/Tk
This article is the first in a three-part series that teaches you how to use Ruby and Tk on your Mac OS X system. During the course of this tutorial, I hope to convince you of the advantages of using Ruby and the Tk toolkit by creating a program that will act as a GUI-based front end to the cron daemon.
Starter Toolkit for DB2 on Rails
Users starting with Ruby and Rails are faced with the task of downloading source code, obtaining compilers, compiling code, and finding a relational database to use. Starter Toolkit for DB2 on Rails is a set of tools that enables rapid building of Web applications with Ruby on Rails and DB2.
Take the Ruby on Rails Train to XML
It looks like Rails is here to stay, and to everyone's benefit. Ruby plays very nicely with XML. In this tutorial, you will build a Rails application, discuss some basics about the way that Rails works, how it's structured and how to use it, and then you'll move on to working with XML.
Testing with DB2 and Ruby on Rails
This third article from the DB2 and Ruby on Rails series shows you how testing works in a DB2 on Rails environment, and how easy it is to write tests within the Ruby on Rails framework. In Part 1, we introduce the IBM_DB Ruby driver, Rails migration, and a Team Room application. In Part 2, you can learn how to build on the existing Team Room application to take advantage of DB2 pureXML support in a Rails application.
The Philosophy of Ruby
Yukihiro Matsumoto, the creator of the Ruby programming
language, talks with Bill Venners about Ruby's design
philosophy, including design imperfection, the danger of
orthogonality, and the importance of the human in computer
endeavors.
Using the Ruby MySQL Module
Programs that access MySQL databases can be written in the Ruby scripting language by using Tomita Masahiro's MySQL module. This module provides a Ruby client API; it is implemented as a wrapper around the MySQL C client API. This article describes how to install the MySQL module and use it to write MySQL-based Ruby scripts. A related article describes the Ruby DBI module that provides a higher-level interface that is more abstract and database-independent.
Variable Bindings in Ruby
Bindings In Ruby, bindings are explicitly made available in a Binding object. Invoking the binding method will produce a Binding object for the current local variables.
Why Ajax Works So Well with Ruby
The hype for Ajax, a technique for making Web pages more interactive, is in overdrive. In this article, find out why Ajax works so well with the flourishing Ruby on Rails framework to make Ajax on Rails a powerful combination.
Why You Might Want to Try Ruby
Ruby. Perhaps you've heard of it? "Oh, yeah, I think it's one of those new object oriented scripting languages", you say. I know a lot of you might be thinking "Not another new language! I'm perfectly happy with [COBOL|C|cshell|awk|Perl|...]; why does the world need another programming language?!", while a few others are thinking "Cool, a new language to explore".
XST: a Ruby Experiment
It's probably time to see whether any of the Ruby IDEs out there are worth using, as the state of the art has advanced a lot since last I worked with the language. The language itself is up to version 1.8.2, and the marvelous Pickaxe book is twice the size of the old one. And my copy is autographed by Dave Thomas himself!
Computer Graphics World Computer graphics professionals turn to Computer Graphics World to them decide which computer graphics products to purchase to make their job more cost effective! ...
subscribe now