More Related Content Similar to Very Xd Hw9 (20) More from Yi-Ting Cheng (8) Very Xd Hw95. 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 ) 13. ...
!
Serif.hatelabo.jp RoR 24. Pageview 16 (1
1200
1000 3600 )
4000 29000
PV 20000+ 26. ...
!
Serif.hatelabo.jp RoR 32. Resources
1 Web Server + 1 DB Server ( MySQL)
1-4 10M/2M VDSL ( Load Balancing )
( !!! ) 33. Resources
1 Web Server + 1 DB Server ( MySQL)
1-4 10M/2M VDSL ( Load Balancing )
( !!! )
Apache Reverse Proxy ( 10 Mongrel Sever) 34. 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) 37. 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! 40. Ruby : Gem
Rails :
ActiveRecord ActionPack
ActiveSupport ActionMailer
ActionWebService ActionResources
Plugin 42. in php
[ / Validate ]
SQL
....blahblahblah... 43. 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 45. 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 46. RoR plugin
attchment_fu
RMagick ( gem )
acts_as_authenicated
acts_as_ferret 48. 12
( 5k / 2k / 1 mongrel )
( 15k / 2k / 1 mongrel )
Myangelsays ( 7k / 2k / 1 mongrel)
VeryXD.net ( 160k / 20k / 10 mongrel) 54. RoR
2~3 LAMP LTMJ
bug (
core team
P.S. RoR 56. Q& A
Thanks a lot!
http://blog.xdite.net
http://veryxd.net