Caiwangqin 2007-11-24
<ul><li>Projects review </li></ul><ul><li>Production </li></ul><ul><ul><li>Apache + Mongrel </li></ul></ul><ul><ul><li>Lig...
<ul><li>Team meeting </li></ul><ul><ul><li>Team 1 demo </li></ul></ul><ul><ul><li>Team 2 demo </li></ul></ul><ul><ul><li>T...
<ul><li>Apache + Mongrel </li></ul><ul><ul><li>Apache2.2.4 </li></ul></ul><ul><ul><li>Mongrel(1.0.4, ruby 1.8.6) </li></ul...
<ul><li>Lighttpd + FactCGI </li></ul><ul><li>http://www.caiwangqin.com/post/231 </li></ul>
<ul><li>Install capistrano </li></ul><ul><ul><li>gem install capistrano </li></ul></ul><ul><li>Use  capistrano </li></ul><...
<ul><li>Rails Cache </li></ul><ul><ul><li>Page Caching </li></ul></ul><ul><ul><li>Action Caching </li></ul></ul><ul><ul><l...
<ul><li>Memcached </li></ul><ul><ul><li>Install memcaced (only linux) </li></ul></ul><ul><ul><li>Start </li></ul></ul><ul>...
<ul><li>OpenID </li></ul><ul><ul><li>1.install Ruby OpenID library </li></ul></ul><ul><ul><ul><li>gem install ruby-openid ...
<ul><li>Questions and Comments </li></ul>
<ul><li>Thank you </li></ul><ul><li>Resources </li></ul><ul><ul><li>Rails has a large enthusiastic community at  rubyonrai...
Upcoming SlideShare
Loading in …5
×

1st Chinaonrails Open Course 高级战略

1,371 views
1,323 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,371
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
98
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

1st Chinaonrails Open Course 高级战略

  1. 1. Caiwangqin 2007-11-24
  2. 2. <ul><li>Projects review </li></ul><ul><li>Production </li></ul><ul><ul><li>Apache + Mongrel </li></ul></ul><ul><ul><li>Lighttpd + FactCGI </li></ul></ul><ul><li>Auto Deploy </li></ul><ul><ul><li>Capistrano </li></ul></ul><ul><li>Cache </li></ul><ul><li>OPENID </li></ul><ul><li>Questions and Answers </li></ul>
  3. 3. <ul><li>Team meeting </li></ul><ul><ul><li>Team 1 demo </li></ul></ul><ul><ul><li>Team 2 demo </li></ul></ul><ul><ul><li>Team 3 demo </li></ul></ul>
  4. 4. <ul><li>Apache + Mongrel </li></ul><ul><ul><li>Apache2.2.4 </li></ul></ul><ul><ul><li>Mongrel(1.0.4, ruby 1.8.6) </li></ul></ul><ul><ul><ul><li>sudo gem install mongrel </li></ul></ul></ul><ul><ul><ul><li>$ cd myrailsapp </li></ul></ul></ul><ul><ul><ul><li>$ mongrel_rails start -d </li></ul></ul></ul><ul><li>http://www.caiwangqin.com/post/307 </li></ul><ul><li>http://mongrel.rubyforge.org/docs/apache.html </li></ul>
  5. 5. <ul><li>Lighttpd + FactCGI </li></ul><ul><li>http://www.caiwangqin.com/post/231 </li></ul>
  6. 6. <ul><li>Install capistrano </li></ul><ul><ul><li>gem install capistrano </li></ul></ul><ul><li>Use capistrano </li></ul><ul><ul><li>cap –apply-to x:/path/to/my/app MyApplicationName </li></ul></ul><ul><ul><li>Change config/deploy.rb </li></ul></ul><ul><li>http://www.caiwangqin.com/post/222 </li></ul>
  7. 7. <ul><li>Rails Cache </li></ul><ul><ul><li>Page Caching </li></ul></ul><ul><ul><li>Action Caching </li></ul></ul><ul><ul><li>Fragment Caching </li></ul></ul><ul><li>http://www.caiwangqin.com/post/372 </li></ul><ul><li>http://www.railsenvy.com/2007/3/20/ruby-on-rails-caching-tutorial-part-2 </li></ul>
  8. 8. <ul><li>Memcached </li></ul><ul><ul><li>Install memcaced (only linux) </li></ul></ul><ul><ul><li>Start </li></ul></ul><ul><ul><ul><li>/memcached -d -u root -m 10 -l 192.168.0.249 -p 11211 </li></ul></ul></ul><ul><li>Rails Application </li></ul><ul><ul><li>Install memcache-client </li></ul></ul><ul><li>http://www.caiwangqin.com/post/216 </li></ul>
  9. 9. <ul><li>OpenID </li></ul><ul><ul><li>1.install Ruby OpenID library </li></ul></ul><ul><ul><ul><li>gem install ruby-openid </li></ul></ul></ul><ul><ul><li>2.install OpenidLoginGenerator </li></ul></ul><ul><ul><ul><li>gem install openid_login_generator </li></ul></ul></ul><ul><ul><li>3.create rails application openid, don’t forget config you database, the generator weill be create user model for users table. </li></ul></ul><ul><ul><ul><li>rails openid </li></ul></ul></ul><ul><ul><li>4.run generator for openid_login </li></ul></ul><ul><ul><ul><li>./script/generate openid_login auth </li></ul></ul></ul><ul><li>http://www.caiwangqin.com/post/205 </li></ul>
  10. 10. <ul><li>Questions and Comments </li></ul>
  11. 11. <ul><li>Thank you </li></ul><ul><li>Resources </li></ul><ul><ul><li>Rails has a large enthusiastic community at rubyonrails.org </li></ul></ul><ul><ul><li>Ruby on Rails Chinese community at chinaonrails.com </li></ul></ul><ul><ul><li>I blog regularly about Rails and web 2.0 topics at caiwangqin.com </li></ul></ul><ul><ul><li>I love getting email: [email_address] </li></ul></ul>

×