Very Xd Hw9

5,900 views

Published on

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

No Downloads
Views
Total views
5,900
On SlideShare
0
From Embeds
0
Number of Embeds
348
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Very Xd Hw9

  1. 1. VeryXD 2.0 VeryXD ...
  2. 2. Who is xdite ?
  3. 3. About Me
  4. 4. About Me
  5. 5. About Me Age : 26 ( 1983 - current ) BS Degree ( Applied Mathmatics ) BBS - System Admin (1998 - 2003) FreeBSD (1999 - current ) LAMP ( 2002 - current ) RoR ( 2006/11 - current )
  6. 6. What is VeryXD ?
  7. 7. ...
  8. 8. !!
  9. 9. VeryXD
  10. 10. Finally....
  11. 11. ... ! Serif.hatelabo.jp RoR
  12. 12. BLOG ....
  13. 13. 101
  14. 14. CODE =_=
  15. 15. attachment_fu RMagick JS Cropper
  16. 16. high
  17. 17. ... attchment_fu
  18. 18. !?
  19. 19. Pageview 16 (1 1200 1000 3600 ) 4000 29000 PV 20000+
  20. 20. ... ! Serif.hatelabo.jp RoR
  21. 21. ++++ -_- RoR
  22. 22. ... VeryXD VeryXD RoR ? RoR
  23. 23. VeryXD
  24. 24. / / PHP Rails
  25. 25. Resources 1 Web Server + 1 DB Server ( MySQL)
  26. 26. Resources 1 Web Server + 1 DB Server ( MySQL) 1-4 10M/2M VDSL ( Load Balancing ) ( !!! )
  27. 27. Resources 1 Web Server + 1 DB Server ( MySQL) 1-4 10M/2M VDSL ( Load Balancing ) ( !!! ) Apache Reverse Proxy ( 10 Mongrel Sever)
  28. 28. Resources 1 Web Server + 1 DB Server ( MySQL) 1-4 10M/2M VDSL ( Load Balancing ) ( !!! ) Apache Reverse Proxy ( 10 Mongrel Sever) WebAmp ( 40G/day static file caching)
  29. 29. Reason RoR & CPU 100Mbps Reverse Proxy
  30. 30. VeryXD
  31. 31. Base on ... Not having a ANNOYING boss. Have Web Developing experiences for several years. Use open-source resources. Ruby on Rails I BELIEVE I CAN MAKE IT!
  32. 32. Ruby on Rails
  33. 33. 2007 COSCUP thegiive
  34. 34. Ruby : Gem Rails : ActiveRecord ActionPack ActiveSupport ActionMailer ActionWebService ActionResources Plugin
  35. 35. attachment_fu RMagick JS Cropper
  36. 36. in php [ / Validate ] SQL ....blahblahblah...
  37. 37. in RoR class Photo < ActiveRecord::Base (Create Photo’s Model ) + has_attachment :content_type => :image, :storage => :file_system + :max_size => 300.kilobytes, :resize_to => '500x500>', :thumbnails => { :thumb => '60x60>' } :path_prefix => 'public/photos', :processor => :Rmagick validates_as_attachment
  38. 38. in php
  39. 39. in RoR (Create User’s Model ) (Create UserRole’s Model ) + class Gphotos Controller < ApplicationController before_filter :check_administrator_role, :only => [:destroy] before_filter :login_required, :except =>[:index, :list, :show, :reply, :random, :search] def blah do blah end
  40. 40. RoR plugin attchment_fu RMagick ( gem ) acts_as_authenicated acts_as_ferret
  41. 41. Ruby on Rails
  42. 42. 12 ( 5k / 2k / 1 mongrel ) ( 15k / 2k / 1 mongrel ) Myangelsays ( 7k / 2k / 1 mongrel) VeryXD.net ( 160k / 20k / 10 mongrel)
  43. 43. ( [ ])
  44. 44. RoR / ?
  45. 45. !
  46. 46. php V.S. RoR || V.S. ( )
  47. 47. RoR
  48. 48. RoR 2~3 LAMP LTMJ bug ( core team P.S. RoR
  49. 49. & VeryXD’s Features
  50. 50. Q& A Thanks a lot! http://blog.xdite.net http://veryxd.net
  51. 51. gotapi.com YUI oswd.org emule .....XD
  52. 52. RoR google:// RoR Apress - Practical Rails Project Apress - Pro ActiveRecord Lynda.com - RoR Beyond the basic

×