menu.php 8.31 KB
Newer Older
zYne's avatar
zYne committed
1 2 3
Getting started
    Requirements
    Installation
4
        Include and autoload
zYne's avatar
zYne committed
5 6 7 8 9 10
    Compiling
    Starting new project
    Working with existing databases
        Introduction
        Making the first import
        Import options
zYne's avatar
zYne committed
11 12 13
    Exporting classes
        Introduction
        Export options
zYne's avatar
zYne committed
14
Connection management
zYne's avatar
zYne committed
15
    DSN, the Data Source Name
zYne's avatar
zYne committed
16 17 18 19 20 21 22
    Opening a new connection
    Lazy-connecting to database
    Managing connections
    Connection-component binding
Object relational mapping
    Introduction
    Table and class naming
23
    Table options
zYne's avatar
zYne committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
    Columns
        Column naming
        Column aliases
        Default values
        Data types
            Introduction
            Type modifiers
            Boolean
            Integer
            Float
            String
            Array
            Object
            Blob
            Clob
            Timestamp
            Time
            Date
            Enum
            Gzip
        About type conversion
    Constraints and validators
zYne's avatar
zYne committed
46
        Introduction
zYne's avatar
zYne committed
47
        Notnull
zYne's avatar
zYne committed
48
        Unique
zYne's avatar
zYne committed
49
        Check
zYne's avatar
zYne committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
    Record identifiers
        Introduction
        Autoincremented
        Natural
        Composite
        Sequence
    Indexes
        Introduction
        Adding indexes
        Index options
        Special indexes
    Relations
        Introduction
        Relation aliases
        Foreign key associations
            One-to-One
            One-to-Many, Many-to-One
            Tree structure
        Join table associations
            One-to-One
            One-to-Many, Many-to-One
            Many-to-Many
            Self-referencing
        Inheritance
            One table many classes
            One table one class
            Column aggregation
zYne's avatar
zYne committed
77 78 79
        Foreign key constraints
            Introduction
            Constraint actions
zYne's avatar
zYne committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
    Hierarchical data
        Introduction
            About
            Setting up
            Node interface
            Tree interface
            Traversing or Walking Trees
            Read me
        Adjacency list
            Introduction
        Nested set
            Introduction
            Setting up
            Tree options
            Node support
            Tree support
            Read me
        Materialized path
            Introduction
        Examples
Working with objects
    Dealing with relations
        Creating related records
        Retrieving related records
        Updating related records
        Deleting related records
        Working with associations
    Component overview
        Manager
            Introduction
            Opening a new connection
            Managing connections
        Connection
            Introduction
            Available drivers
            Getting a table object
            Flushing the connection
            Querying the database
            Getting connection state
        Record
            Introduction
            Creating new records
            Retrieving existing records
            Accessing properties
            Updating records
            Deleting records
            Getting record state
            Getting object copy
            Serializing
            Checking Existence
            Callbacks
        Collection
            Introduction
            Accessing elements
            Adding new elements
            Getting collection count
            Saving the collection
            Deleting collection
            Key mapping
            Loading related records
            Collection expanding
        Table
            Introduction
            Getting table information
            Finder methods
            Custom table classes
            Custom finders
            Getting relation objects
    Fetching objects    
Configuration
    Introduction
    Levels of configuration
    Setting attributes
        Portability
        Identifier quoting
        Table creation
        Fetching strategy
        Batch size
        Session lockmode
        Event listener
        Validation
        Offset collection limit
Advanced components
    Eventlisteners
        Introduction
        Creating new listener
        List of events
        Listening events
        Chaining
        AccessorInvoker
        Creating a logger
    Validators
        Introduction
        More Validation
        Valid or Not Valid
        List of predefined validators
    View
        Intoduction
        Managing views
        Using views
    Cache
        Introduction
        Query cache
    Locking Manager
        Introduction
        Examples
        Planned
        Technical Details
        Maintainer
    Db_Profiler
        Introduction
        Basic usage
        Advanced usage
    Hook
        Introduction
        Building queries
        List of parsers
    Query
        Introduction
        selecting tables
        limiting the query results
        setting query conditions
        HAVING conditions
        sorting query results
    RawSql
        Introduction
        Using SQL
        Adding components
        Method overloading
    Db
        Introduction
        Connecting to a database
        Using event listeners
        Chaining listeners
    Exceptions
        Overview
        List of exceptions
DQL (Doctrine Query Language)
    Introduction
    SELECT queries
        DISTINCT keyword
        Aggregate values
    UPDATE queries
    DELETE queries
    FROM clause
    WHERE clause
    Conditional expressions
        Literals
        Input parameters
        Operators and operator precedence
        Between expressions
        In expressions
        Like Expressions
        Null Comparison Expressions
        Empty Collection Comparison Expressions
        Collection Member Expressions
        Exists Expressions
        All and Any Expressions
        Subqueries
    Functional Expressions
        String functions
        Arithmetic functions
        Datetime functions
        Collection functions
244 245 246 247 248 249 250 251 252
    Subqueries
        Introduction
        Comparisons using subqueries
        Conditional expressions
            ANY, IN and SOME
            ALL
            EXISTS and NOT EXISTS
        Correlated subqueries
        Subqueries in FROM clause
zYne's avatar
zYne committed
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345
    GROUP BY, HAVING clauses
    ORDER BY clause
        Introduction
        Sorting by an aggregate value
        Using random order
    LIMIT and OFFSET clauses
        Introduction
        Driver portability
        The limit-subquery-algorithm
    Examples
    BNF
Native SQL
    Scalar queries
    Component queries
    Fetching multiple components
Transactions
    Introduction
    Unit of work
    Nesting
    Savepoints
    Locking strategies
        Pessimistic locking
        Optimistic locking
    Lock modes
    Isolation levels
    Deadlocks
Caching
    Introduction
    Availible options
    Drivers
        Memcache
        APC
        Sqlite
Database abstraction
    Modules
        Export
            Introduction
            Creating new table
            Altering table
        Import
            Introduction
            Getting table info
            Getting foreign key info
            Getting view info
        Util
            Using explain
        DataDict
            Getting portable type
            Getting database declaration
            Reserved keywords
    Drivers
        Oracle
            Making unsuported functions work
        Mysql
            Tips and tricks
Technology
    Architecture
    Design patterns used
    Speed
    Internal optimizations
        DELETE
        INSERT
        UPDATE
Real world examples
    User management system
    Forum application
    Album lister
Coding standards
    Overview
        Scope
        Goals
    PHP File Formatting
        General
        Indentation
        Maximum line length
        Line termination
    Naming Conventions
        Classes
        Interfaces
        Filenames
        Functions and methods
        Variables
        Constants
        Record columns
    Coding Style
        PHP code demarcation
        Strings
        Arrays
        Classes
        Functions and methods
        Control statements
        Inline documentation
    Testing
zYne's avatar
zYne committed
346
        Writing tests