Install Ruby, RubyGems, Rails, and the Ruby/Rails Oracle library

There are two pieces of software you’ll need in order to use Rails on Windows XP: the Ruby programming language with RubyGems installation package, Rails 2.3.2(the latest version of Rails), and the Ruby/Rails Oracle database library. To download and install Ruby with the Gems package installer, do the following:

Go to http://rubyinstaller.rubyforge.org/. Download the [...]

HR Schema on Rails

Oracle Database is a product with a distinguished past and a bright future. It boasts innovative, state-of-the-art features as well as a history that predates many modern technologies. Applications have come and gone, but the data of organizations has lived on in Oracle databases that have migrated through various versions. This has resulted in a technical challenge, due to the large number of legacy schemas that exist today. Many organizations are faced with the challenge of making this data more widely available to their user base.

Ruby on Rails (or simply “Rails”) is an exciting new framework that developers, DBAs, and system administrators can use to quickly develop Web applications. The framework is open source and rapidly gaining in popularity. It allows you to prototype and develop Web applications with database integration in a fraction of the time possible with other frameworks.

Most of the Rails examples and tutorials available today involve the creation of a new database schema with tables and columns that adhere to structures and naming conventions that the framework expects. These tutorials also assume a rather simple object-relational mapping that is not feasible when working with legacy schemas. However, both the framework and Oracle Database offer features that can be leveraged to allow the creation of Web applications that are integrated with legacy schemas.

This article describes the techniques for creating a Web front end to the Oracle demonstration schema HR. The code available for download with this article includes a complete Ruby on Rails Web Application that was developed on the HR schema running on Oracle Database 10g Express Edition (XE).

The downloaded application works on Windows or Linux. Linux users should convert all backslashes to forward slashes when performing commands described in this article.

Continue reading “HR Schema on Rails” »

บันทึกประจำตัว

บันทึกประจำตัว ฟันซี่ 8 ด้านขวา บน มันแตกนิดๆ ครั้งก่อนเป็นด้านซ้ายบน หรือว่าซี่นี้ก็จำไม่ได้ หรือว่ามันหลุดหรือป่าว

Kemtid for Android

Kemtid is community system to share travel experiences in Thailand. The system support users to watch interest trip, search another place in the system including display map and routing from user’s position to the searched place. Anyway users are interesting to share trip. Users can share by creating trip and upload picture including [...]

Developing Java ME on Mac OS X

To install and setup Netbeans on Mac is no problem. Running a J2EE or J2SE application would then be fairly similar to Windows. But running J2ME has a little problem.

To work with mobile application, one can follow the helpful Netbeans + Mobility + Mpowerplayer Guide. However, the guide did not cover how to add optional java package such as jsr75, which I would cover below.

Continue reading “Developing Java ME on Mac OS X” »