Merb Book

Merb Community



1. 머리말
2. 서문
3. 공헌자들
4. Ruby 언어
4.1. 기원 ##{: #origin}
4.2. 채택 ##{: #adoption}
4.3. 필수요소들 ##{: #key-elements}
4.4. 코드예제 ##{: #code-examples}
4.5. Merb와 Ruby ##{: #merb-and-ruby}
4.6. Merb 웹프레임웍
4.7. DataMapper ORM
5. RSpec 테스팅 프레임웍
5.1. 소개{: #introduction}
5.2. 역사{: #history}
5.3. Behavior Driven Development{: #behavior_driven_development}
5.4. 구현{: #implematation}
6. 설치 방법
6.1. OS X{: #os_x}
6.1.1. 필요 조건{: #osx_prerequisites}
6.1.2. Ruby & RubyGems{: #osx_rubygems}
6.1.3. Merb{: #osx_merb}
6.2. Linux{: #linux}
6.2.1. 필요 조건{: #linux_prerequisites}
6.2.2. Ruby & RubyGems{: #linux_rubygems}
6.2.3. Merb{: #linux_merb}
6.3. Windows{: #windows}
7. 어플리케이션 생성하기
7.1. 타입들{: #types}
7.1.1. App{: #app}
7.1.2. Core{: #core}
7.1.3. Flat{: #flat}
7.1.4. Very Flat{: #very_flat}
8. 프로젝트 구조
8.1. app{: #app}
8.1.1. controllers{: #controllers}
8.1.2. models{: #models}
8.1.3. views{: #views}
8.2. config{: #config}
8.2.1. environments{: #environments}
8.3. gems{: #gems}
8.4. public{: #public}
8.4.1. images{: #images}
8.4.2. javascripts{: #javascripts}
8.4.3. stylesheets{: #stylesheets}
8.5. spec{: #spec}
8.6. tasks{: #tasks}
9. MVC
10. Controllers
10.1. 컨트롤러 생성하기 {: #generating_controllers}
10.1.1. 표준 컨트롤러{: #a_standard_controller}
10.1.2. REStful 컨트롤러{: #a_restful_controller}
10.2. REST{: #rest}
10.2.1. 기본 라우팅 스타일{: #the_default_routing_style}
10.2.2. RESTful 스타일{: #the_restful_style}
10.2.3. 메소드들을 추가, 삭제하기{: #adding_and_removing_methods}
10.3. 컨트롤러들과 함께 merb-gen 사용하기{: #using_merbgen_with_controllers}
10.4. 컨트롤러 액션 메소드들{: #controller_action_methods}
10.4.1. 렌더링하고 디스플레이하기{: #render_and_display}
10.4.2. 모델과의 상호작용{: #interaction_with_model}
10.4.3. 요청에 의한 정보 : paramsrequest해시{: #information_from_the_request_the_params_and_request_hashes}
10.4.4. 클라이언트에 대한 지속적인 정보 : 세션과 쿠키{: #persistant_information_about_the_client_sessions_and_cookies}
10.4.5. 리다이렉팅{: #redirecting}
10.4.6. 예외와 상태 코드들{: #exceptions_and_status_codes}
10.5. 컨트롤러 확장하기{: #extending_controllers}
10.5.1. 포멧들{: #formats}
10.5.2. Before and After 필터들{: #before_and_after_filters}
10.5.3. Application의 사용{: #use_of_application}
10.5.4. 프라이빗 메소드들{: #private_methods}
11. 뷰
11.1. 폼 헬퍼{: #form_helpers}
11.2. 날짜와 시간 헬퍼{: #date_and_time_helpers}
12. 모델
12.1. 어트리뷰트{: #attributes}
12.2. 검증{: #validations}
12.3. 관계(Associations){: #associations}
12.4. 콜백{: #callbacks}
13. 요청 경로
13.1. 클라이언트에서 문앞까지{: #from_the_client_to_our_doorstep}
13.2. 리버스 프록시(optional){: #reverse_proxy_optional}
13.3. 웹서버{: #web_server}
13.4. Rack과 Merb{: #rack_and_merb}
13.5. 라우터{: #router}
13.6. 컨트롤러 액션{: #controller_action}
13.7. 문 밖{: #out_the_door}
13.8. 캐싱{: #caching}
14. 라우터
15. DataMapper 세팅
15.1. DataMapper 세팅 설정
15.1.1. 모든 환경이 MySQL일 경우
15.1.2. Production에서만 MySQL을 사용할 경우
15.2. 모델
15.2.1. 모델 생성
15.2.2. 모델 열기
15.2.3. 속성들 정의하기
15.2.4. 타입들
15.2.5. 마이그레이션
16. 데이터베이스 쿼리
16.1. Create
16.1.1. New
16.1.2. 속성들 설정
16.1.3. 저장하기
16.1.4. 유효성 검증 결과
16.2. 데이터 읽기
16.2.1. String
16.2.2. 속성(들)에 의한 방법
16.2.3. Get Many
16.3. Update
16.3.1. Update
16.3.2. Change Attributes and Update at Once
16.4. Destroy
17. Model Relationships
17.1. DB Creation and Setup
17.2. Altering later
17.2.1. BEWARE
17.2.2. Default Values
17.2.3. DM-Migrations
17.3. 테스트 타입들{: #types_of_tests}
17.3.1. 모델{: #models}
17.3.2. 리퀘스트{: #requests}
17.3.3. 통합{: #integration}
18. 모델 테스팅
19. 리퀘스트 테스팅
20. Cucumber를 사용한 통합테스팅
20.1. Merb와 Cucumber{: #merb_and_cucumber}
20.2. 새로운 feature 만들기{: #creating_new_features}
21. 인증
21.1. Merb-auth gems{: #merbauth_gems}
21.1.1. merb-auth-core{: #merbauthcore}
21.1.2. merb-auth-more{: #merbauthmore}
21.1.3. merb-auth-slice-password{: #merbauthslicepassword}
21.2. Merb스택에서의 인증{: #authentication_in_merb_stack}
21.3. 인증된 Hello World{: #authenticated_hello_world}
21.3.1. 어플리케이션 생성하기{: #generate_an_application}
21.3.2. 보호하기 위한 무언가를 생성하기{: #generate_something_to_protect}
21.3.3. 라우트 보호하기{: #protect_the_route}
21.3.4. 컨트롤러 보호하기{: #protect_the_controller}
21.3.5. 기본 뷰 덮어쓰기{: #overwrite_the_default_views}
21.4. 인증된 요청 테스트 해보기{: #testing_an_authenticated_request}
22. 메일러
23. 캐싱
24. 예외처리
25. 슬라이스
26. 간단한 블로그
27. 블로그 슬라이스 만들기
28. Passenger
28.1. Ruby Enterprise Edition (REE) 설치하기{: #installing_ruby_enterprise_edition_ree}
28.1.1. REE 다운로드{: #download_ree}
28.1.2. 설치{: #install}
28.2. Passenger 설치{: #installing_passenger}
28.3. 설정{: #configuration}
28.3.1. config.ru{: #configru}
28.4. Capistrano 태스크{: #capistrano_task}
29. Nginx
29.1. 설치{: #installation}
29.1.1. Mac OS X (requires [MacPorts][]){: #mac_os_x_requires_macports}
29.1.2. 데비안/ 우분투 리눅스{: #debian__ubuntu_linux}
29.1.3. 젠투 리눅스{: #gentoo_linux}
29.2. 설정{: #configuration}
29.2.1. /etc/nginx/nginx.conf{: #etcnginxnginxconf}
29.3. Capistrano 태스크{: #capistrano_task}
29.4. Monit{: #monit}
30. JRuby와 Glassfish
31. 어플리케이션 번들링
32. 힌트와 팁
33. 사용가능한 슬라이스들
34. 유용한 Gem들
n
Next Page
p
Previos Page
h
Book Home
u
Go Up One Level
?
Press ? for Help
esc
Hide Help
Your Ad Here