2007年9月23日 星期日

Active Scaffold plugin demo


I make it work, try to change CSS to make different looks.

Mingderwang

Add Google Map to your Rails!

Cartographer

Ruby on Rails :: Google Maps plugin

http://cartographer.rubyforge.org/

I'm trying to make the test.

Moon Festival in Taiwa

Mingderwang



MySQL Administrator

Install MySQL and MySQL Administrator for win32.

create database XXXX command is required to create new database for your product.
Then Rails' model will generate rb file for create table for you.

So at least you need to know create database in MySQL.

(1) download MySQL with Administrator for Win32

http://dev.mysql.com/downloads/gui-tools/5.0.html

This is the MySQL GUI Tools Bundle for 5.0. It includes the following products.

Mingderwang

Netbeans 6.0 M10 + Ruby


If you are looking for a IDE for Ruby and RoR (Ruby on Rails), Netbeans is the one!

http://www.netbeans.org/kb/60/ruby-editing.html

Download 6.0 (M10 for example) with a Ruby build-in from here (http://www.netbeans.org/community/releases/60/index.html)


Mingderwang

Ruby on Rails with Active Scaffold plugin


It's fun to make a good looking GUI for Scaffold plugin in Rails.

http://activescaffold.com/
is the official website for activescaffold. Activescaffold is a plug-in, not a generator.

The concept of Scaffold is a code generator to generate viewers for you.
But the plug-in is not, it is called by "active_scaffold" command


class UsersController < ApplicationController
active_scaffold :user
end

is the way to generate users viewer pages





http://www.ibm.com/developerworks/linux/library/l-activescaffold/?S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw05RoRActiveScaffold
This paper from IBM is a good starting spot to learn more about it.


This examples source code change css file for better GUI looking as follows:

My Google Notebook about Ruby on Rails

A bookmark lists all URLs about Ruby and Ruby on Rails

I try to create a website framework with Goodle map and Flickr, MySQL, CSS, Ajax features
Let people easy to create dynamic websites as making a blog.

http://www.google.com/notebook/public/07454133468172869619/BDQGkIwoQ8bO518Ai

Mingderwang

Rails

After you know a little about Ruby Programming.

Checkout the Ruby on Rails (http://www.rubyonrails.org/)

Woo

You can learn how to use Ruby on Rails make a website for Flickr, Webblog, etc. in minutes.

Mingderwang

A Ruby A Day!

Ruby is a language of internet (or the future). I think most of Ruby fans agree with that.

Open a web browser (Firefox, Opera or Safari) and check out

"Programming Ruby
The Pragmatic Programmer's Guide"

from
http://www.ruby-doc.org/docs/ProgrammingRuby/

The best one day training course material can be download from

http://ruby.brian-schroeder.de/course/

The website called "

A ruby a day!


"
Mingderwang

Intrdoction RailsScaffold.blogspot.com

This is the way I try to join Google Code for Ruby->Rails->Scaffold->MySQL->svn (Subversion)->Google Map plugin, AjaxScaffold plugin, etc.

It's easy to find the source code of svn for download. But not the exe and installation file for SVN.

You can download easy install svn from the following URL:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91

Mingderwang