매뉴얼
Table of Contents
- 매뉴얼
- 1 CakePHP 시작하기
- 2 CakePHP 기본 원리
- 3 CakePHP 개발
- 3.1 요구사항
- 3.2 설치 준비
- 3.3 설치
- 3.4 구성
- 3.4.1 Database Configuration
- 3.4.2 핵심 설정
- 3.4.3 설정 클래스
- 3.4.4 The App Class
- 3.4.5 Routes Configuration
- 3.4.6 Custom Inflections
- 3.4.7 Bootstrapping CakePHP
- 3.5 콘트롤러
- 3.6 Components
- 3.7 Models
- 3.8 Behaviors
- 3.9 Views
- 3.10 Helpers
- 3.11 Scaffolding
- 3.12 The CakePHP Console
- 3.13 Plugins
- 3.14 Global Constants and Functions
- 4 Common Tasks With CakePHP
- 4.1 Data Validation
- 4.1.1 Simple Rules
- 4.1.2 One Rule Per Field
- 4.1.3 Multiple Rules per Field
- 4.1.4 Built-in Validation Rules
- 4.1.5 Custom Validation Rules
- 4.1.6 Validating Data from the Controller
- 4.2 Data Sanitization
- 4.3 Error Handling
- 4.4 Debugging
- 4.5 Caching
- 4.6 Logging
- 4.7 Testing
- 4.8 Localization & Internationalization
- 4.9 Pagination
- 4.10 REST
- 4.1 Data Validation
- 5 Core Components
- 5.1 Access Control Lists
- 5.2 Authentication
- 5.3 Cookies
- 5.4 Email
- 5.5 Request Handling
- 5.6 Security Component
- 5.6.1 Configuration
- 5.6.2 Methods
- 5.6.2.1 requirePost()
- 5.6.2.2 requireSecure()
- 5.6.2.3 requireAuth()
- 5.6.2.4 requireLogin()
- 5.6.2.5 loginCredentials(string $type)
- 5.6.2.6 loginRequest(array $options)
- 5.6.2.7 parseDigestAuthData(string $digest)
- 5.6.2.8 generateDigestResponseHash(array $data)
- 5.6.2.9 blackHole(object $controller, string $error)
- 5.6.3 Usage
- 5.6.4 Basic HTTP Authentication
- 5.7 Sessions
- 6 Core Behaviors
- 7 Core Helpers
- 7.1 AJAX
- 7.2 Cache
- 7.3 Form
- 7.3.1 Creating Forms
- 7.3.2 Closing the Form
- 7.3.3 Automagic Form Elements
- 7.3.3.1 Field naming convention
- 7.3.3.2 $options[‘type’]
- 7.3.3.3 $options[‘before’], $options[‘between’], $options[‘separator’] and $options[‘after’]
- 7.3.3.4 $options[‘options’]
- 7.3.3.5 $options[‘multiple’]
- 7.3.3.6 $options[‘maxLength’]
- 7.3.3.7 $options[‘div’]
- 7.3.3.8 $options[‘label’]
- 7.3.3.9 $options['legend']
- 7.3.3.10 $options[‘id’]
- 7.3.3.11 $options[‘error’]
- 7.3.3.12 $options[‘selected’]
- 7.3.3.13 $options[‘rows’], $options[‘cols’]
- 7.3.3.14 $options[‘empty’]
- 7.3.3.15 $options[‘timeFormat’]
- 7.3.3.16 $options[‘dateFormat’]
- 7.3.3.17 $options['minYear'], $options['maxYear']
- 7.3.4 File Fields
- 7.3.5 Form Element-Specific Methods
- 7.4 HTML
- 7.5 Javascript
- 7.6 Number
- 7.7 Paginator
- 7.8 RSS
- 7.9 Session
- 7.10 Text
- 7.11 Time
- 7.12 XML
- 8 Core Utility Libraries
- 9 Core Console Applications
- 10 Example Applications
- 10.1 Blog
- 10.1.1 Getting Cake
- 10.1.2 Creating the Blog Database
- 10.1.3 Cake Database Configuration
- 10.1.4 Optional Configuration
- 10.1.5 A Note on mod_rewrite
- 10.1.6 Create a Post Model
- 10.1.7 Create a Posts Controller
- 10.1.8 Creating Post Views
- 10.1.9 Adding Posts
- 10.1.10 Data Validation
- 10.1.11 Deleting Posts
- 10.1.12 Editing Posts
- 10.1.13 Routes
- 10.1.14 Conclusion
- 10.2 Simple User Authentication
- 10.3 Simple Acl controlled Application
- 10.1 Blog
- 11 Appendices
