<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d4684235500622716427\x26blogName\x3dCaiwangqin\x27s+blog\x26publishMode\x3dPUBLISH_MODE_HOSTED\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://blog.caiwangqin.com/search\x26blogLocale\x3dzh_CN\x26v\x3d2\x26homepageUrl\x3dhttp://blog.caiwangqin.com/\x26vt\x3d3393395200455623441', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Caiwangqin's blog

Focus on Life, Cloud Service, Smart Hardware, Architecture, Technic and beyond…

Rails源代码学习

2007年4月11日星期三

 


4月8日参加了Kevin Yang组织的Rails源代码学习聚会,很高兴见到了慕名已久了人。


1)  如何获得Rails源代码
ruby 一键安装下载地址: ftp://ftp.kr.freebsd.org/pub/ruby/binaries/mswin32/

                                          http://rubyforge.org/frs/?group_id=167

radrails 下载地址: http://www.aptana.com/download_radrails.php

Rails SVN Trunk地址:


2) Rails内部模块的划分


    active_record

    active_support

    action_controller

    action_view

    action_mailer

    actioin_web_service

   

3) 如何debugRails源代码



4) ActiveRecord底层的数据库连接



5) ActiveRecord底层的row到object的map机理



6) Association是什么?



7) Rails是如何加载各种组件?


标签:

posted by Caiwangqin, 07:00

0 Comments:

发表评论

订阅 博文评论 [Atom]

<< 主页