徐祥军
xxj · 共 256 篇文章
2009/0217 links
Prefer Guard Clauses over nested conditionals: http://www.thechrisoshow.com/2009/2/16/using-guard-clauses-in-your-ruby-code http://www.refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html How to easily create an auto-expanding textarea http://tore.darell.no/posts/auto_expanding_tex…
2009-02-17 09:44 · links · 评论(0)
2008/11/07 links
如何使用 memcached 做快取: http://ihower.idv.tw/blog/archives/1768 Rockstar Memcaching: http://www.infoq.com/presentations/lutke-rockstar-memcaching 使用Mochiweb构建百万级Comet程序,第一篇: http://ro4tub.blogspot.com/2008/10/mochiwebcomet.html 使用Mochiweb构建百万级Comet程序,第二篇: http://ro4tub.blogspot.com/2008/10/mochiwebcome…
2008-11-07 10:07 · links · 评论(0)
2008/10/13 links
merbcamp: http://merbist.com/ http://www.merboverheard.com/ http://rubypond.com/articles/2008/10/11/merbcamp---notes-from-the-edge/ http://rubypond.com/articles/2008/10/12/merbcamp---day-2/ http://chinaonrails.com/topic/view/2095.html 运用Ruby纤程进行异步I/O:NeverBlock和Revactor http://www.infoq.com/cn/arti…
2008-10-13 09:18 · links · 评论(0)
2008/08/12 links
Ruby 1.9: What to Expect: http://slideshow.rubyforge.org/ruby19.html Migrating to Ruby 1.9: http://www.rubyinside.com/migrating-to-ruby-19-876.html
2008-08-13 09:13 · links · 评论(0)
Haml&Radius 不错
Haml http://haml.hamptoncatlin.com/ 今天花了点时间读了遍Reference:http://haml.hamptoncatlin.com/docs/rdoc/classes/Haml.html 对haml的印象彻底改变了,说句老实话,之前懒得看这个东西,一直认为它没啥意思,今天才发现,使用他,代码简洁多了,而且很容易上手,成本比较低。 !!! XML !!! %html %head/ %body #main .articles .article.title Hello World .article.date 2008-8-12 14:10:58 .artic…
2008-08-12 14:52 · Ruby&Rails · 评论(2)
2008/06/30 links
cheat sheets. http://cheat.errtheblog.com/ http://cheat.errtheblog.com/s/datamapper/ More Named Scope Awesomeness http://www.pathf.com/blogs/2008/06/more-named-scope-awesomeness/ Security (CAS and OpenID) with Ruby http://www.infoq.com/presentations/gehtland-security-and-identity BenchmarkForRails …
2008-06-30 09:22 · links · 评论(0)
2008/06/24 links
http://weblog.hypotheticalabs.com/ http://munin.projects.linpro.no/
2008-06-24 07:48 · links · 评论(0)
2008/06/23 links
Tidal Enterprise Job Scheduling Software http://www.tidalsoftware.com/products/enterpriseJobScheduling.asp Jing Project http://www.jingproject.com/ Splunk Your Distributed Logs in EC2 http://www.igvita.com/2008/06/19/splunk-your-distributed-logs-in-ec2/ 架构Twitter http://www.infoq.com/cn/news/2008/0…
2008-06-23 22:33 · links · 评论(0)
2008/06/19 links
RESTful AJAX with Forgery Protection http://www.metaskills.net/2008/6/18/restful-ajax-with-forgery-protection Functor http://functor.rubyforge.org/ Bulk insertion of data with ActiveRecord http://rubypond.com/articles/2008/06/18/bulk-insertion-of-data-with-activerecord/ Using jQuery with Ruby on Ra…
2008-06-19 10:02 · links · 评论(0)
2008/06/13 links
A Concise Guide to Using Thinking Sphinx http://freelancing-gods.com/posts/a_concise_guide_to_using_thinking_sphinx Merb → Mongrel, not Mongrel → Merb http://toolmantim.com/article/2008/5/30/merb_mongrel_not_mongrel_merb 可伸缩性最佳实践:来自eBay的经验 http://www.infoq.com/cn/articles/ebay-scalability-best-prac…
2008-06-13 10:56 · links · 评论(0)
DM & Merb 快速体验
发觉她们很有趣,今天开始学习并使用。 http://datamapper.org Why DataMapper? http://datamapper.org/why.html 一:通过irb快速体验DM 安装 gem sources -a http://gems.datamapper.org sudo gem install data_objects do_mysql dm-core dm-more 打开irb开始试用DM require 'rubygems' gem 'dm-core' require 'data_mapper' #我们把日志打到控制台里,方面看 DataMapper::L…
2008-06-05 16:13 · 评论(11)
开始使用 merb+dm
很帮,感觉很好。上次听了John的merb演讲,当时还没怎么感兴趣,今天自己试了一把,感觉来了 :D 于是乎决定开始使用。 merb+dm+thin(mongrel)。
2008-06-05 13:25 · 评论(0)
do_mysql problem
martin@martin-laptop:~/$ sudo gem install data_objects do_sqlite3 do_mysql dm-core dm-more ..... ..... Building native extensions. This could take a while... ERROR: Error installing do_mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb install data_objects do_sqlite3 do…
2008-06-05 11:16 · 评论(0)
2008/06/04 links
http://www.lycom.de/past/2008/6/5/rails-2-1-2008-06-04/ http://www.dcmanges.com/blog/rails-21-partial-updates-may-create-invalid-records
2008-06-05 09:59 · links · 评论(0)