《Agile Web Development with Rails》读书笔记(一)

原创 2007年09月19日 10:20:00

        I.              My way of Rails

Working as an embedded system developer, I never know much about web development. When I found my colleague build an website for ordering & managing the dinner for ours work day, I think this is so fantastic, and I want to build a website for myself—sharing & managing the collection of my ebooks.

I want to find a way to build the website quickly and the maintenance is easy to holding. At this point, I just try to learn a new programming language-ruby, and I found a framework for building website with agile method which is introduced by someone. So I just spend some time on it.

The book <<Agile Web Development with Rails>> give me a nice try to build my own website and It’s really so quickly.

The kernel of Rails is mature MVC patterns, maybe everyone who knows design patterns will know it, but Rails tell me what really MVC is.

Note: In order to build a website, you should have the basis of html and CSS, if you are not familiar with these, try to learn some concept and basic usage.

     II.              Install Rails

To get Rails running on windows system, I need the following:

a)        Ruby interpreter. The installation is normal.

b)        Rails. Because I can not install Rails directly via internet, I only can download the rails packet need to my disk, and install Rails through local driver. Change to the directory where you put the packets.

work>gem install rails

This cmd will inform you that you need other dependencies, you should download the packet followed the hint. Using gem install [packet name] to install the dependency first, then using the rails install cmd the get another dependency. Do this loop until the rails has been installed on you windows.

c)        MySQL. Mysql is the official recommended database, so I install it. It just as easy as ruby installation.( I did not create anther administrator, just use the default one, user: root, password: nil )

After this, all the preparation for Rails is completed!

 

Agile Web Development with Rails

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/topmvp - topmvpRails is ...
  • topmvp
  • topmvp
  • 2008年08月18日 22:52
  • 320

《Agile Web Development with Rails》读书笔记(四)

The Depot ApplicationI’ll take the creating a depot application of books for maintaining and buying ...
  • zqho
  • zqho
  • 2007年09月21日 14:44
  • 521

《Agile Web Development with Rails》读书笔记(二)

 Instant GratificationAfter the Rails environment has been established, I write a simple application...
  • zqho
  • zqho
  • 2007年09月19日 15:06
  • 449

《Agile Web Development with Rails》读书笔记(三)

Make Dynamic PagesIn order to get dynamic pages, I need to embed some ruby code into the *.rhtml in ...
  • zqho
  • zqho
  • 2007年09月19日 17:13
  • 357

Agile Web Development with Rails 翻译

1、用户导航到我们应用程序。我们要做是使用本地URL如http://localhost:3000/say/hello。2、Rails分析URL。say部分是“控制器”的名字,所以Rails创建一个Ru...
  • qiqiy
  • qiqiy
  • 2008年09月20日 22:47
  • 213

敏捷开发(Agile Development)简介

      敏捷开发(agile development)是一种以人为核心、迭代、循序渐进的开发方法。在敏捷开发中,软件项目的构建被切分成多个子项目,各个子项目的成果都经过测试,具备集成和可运行的特征...
  • wayne_ran
  • wayne_ran
  • 2007年05月08日 20:16
  • 4265

Agile Web Development with Rails 翻译(一)

Agile Web Development with Rails 翻译(一)第一章 前言 Ruby on Rails 是个更易于开发,配置,和管理Web应用程序的框架。当然,所有的Web框架都会这么说...
  • ajiva
  • ajiva
  • 2006年09月11日 14:25
  • 2049

Agile Web Development with Rails 翻译(五)

Agile Web Development with Rails 翻译(五)第四章最后的安装  让我们写个小web应用程序来确认你们机器是否正确地安装了Rails。这样,我们也可大致地浏览一下Rail...
  • ajiva
  • ajiva
  • 2006年09月11日 14:41
  • 2064

Agile Web Development with Rails 翻译(十八)

Agile Web Development with Rails 翻译(十八) 这里,唯一有趣的是和选择列表有关的代码。我们已经假定有效付款选项清单是Order model的一个属性--它将是mode...
  • ajiva
  • ajiva
  • 2006年09月11日 15:04
  • 2217

Agile Web Development with Rails 翻译(七)

Agile Web Development with Rails 翻译(七)1、用户导航到我们应用程序。我们要做是使用本地URL如http://localhost:3000/say/hello。2、R...
  • ajiva
  • ajiva
  • 2006年09月11日 14:46
  • 2096
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:《Agile Web Development with Rails》读书笔记(一)
举报原因:
原因补充:

(最多只允许输入30个字)