《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第十章笔记——任务E:更智能的购物车

本章内容: 修改数据库模式与现有数据诊断和处理错误闪存日志 迭代E1:创建更智能的购物车 问题提出:保存与显示购物车中同一产品的数量 解决方案:修改line_items表,添加描述...
  • lissdy
  • lissdy
  • 2013年06月03日 16:43
  • 1180

Mastering Web Application Development with AngularJS-Packt 2013 读书笔记(不错的好书!)

Angular Zen Batarang Batarang is a Chrome developer tool extension for inspecting the AngularJ...
  • cteng
  • cteng
  • 2017年08月03日 14:29
  • 384

Agile Web Development with Rails 4

  • 2016年06月01日 11:38
  • 9.45MB
  • 下载

《Expert Cube Development with Microsoft SQL Server 2008 Analysis Services》读书笔记第九章:保护Cube(一)

SQL Server 2008中SQL应用系列及BI学习笔记系列--目录索引   对Analysis Services Cube而言,安全,是一个非常重要的问题。在某种形式的安全要求下,Cube中的数...

《Designing with Web Standard(Third Edition)》/《网页重构》读书笔记

---------------------------------------读书笔记·转载请注明---------------------------------------   学习前...
  • Hookc
  • Hookc
  • 2013年11月04日 00:54
  • 895

agile web development with rails2代码

  • 2008年08月05日 14:32
  • 1.83MB
  • 下载
您举报文章:《Agile Web Development with Rails》读书笔记(一)