試験前の現実逃避にrailsでも。環境はDebian Lenny + Rails 2.3.5。 まず名前を決める。upia: UPloader for ImAges。...無理があるな。まあいいや。 名前を決めたら雛形をrailsに生成させる。 $ rails upia Railsのサーバーを起動させる。 $ cd upia $ script/server この状態でlocalhost:3000にアクセスすると"Ruby on Rails: Welcome aboard"というタイトルのページが見える。 次にデータベースの設計をする。とりあえず画像は次のようなテーブルで管理する事にする。 名前 型 id integer title string filename string content_type string description text file binary thumbnai