Index

images  A

Ant

images  B

Build document composing

    build.xml

    copy task

        attributes

        overwrite attribute

        tofile attribute

    delete task

    echo task, msg attribute

    fileset data type

        excludes attribute

        fileset element attribute

        includes attribute

    filterchain element

        build/lib/Config.php

        PHP comment

        replacetokens element

        src/lib/Config.php

        StripPhpComments

        todir attribute

        XSLT transformations

    input task

    patternset element

        attributes

        exc_test

        inc_code

        refid attribute

    phing command

    project element attributes

    property element

        condition task

        dbname

        dbpass

        -D flag property

        ${env.DBPASS}

        if attribute

        name

        override attribute

        propertyfile option

        target element attributes

        unless attribute

        value

    target

    -v flag

images  C

Continuous integration (CI)

    code coverage

    coding standards

    definition

    documentation

    Jenkins

        building link

        definition

        Fedora distribution

        Git public key

        plugins

        project installation

        report configuration

        triggering builds

    PEAR package

    phing

    sample project

    unit tests

    Version control

images  D

Database patterns

    Data layer

    Data Mapper (see Data Mapper)

    domain object factory (see Domain object factory)

    Identity Map (see Identity Map)

    Identity Object

        addTest() method

        classes

        client code

        consequences

        $enforce array

        Field object

        new class

        operator and value elements

        problem

        query criteria

        subclasses

        WHERE clause

    Lazy Load (see Lazy Load)

    selection and update factory (see Selection and update factory patterns)

    Unit of Work

        addDirty() method

        and addNew() method

        consequences

        debug code

        DomainObject class

        finder() method

        getFinder() method

        HelperFactory

        Mapper class

        markDirty() method

        ObjectWatcher object

        performOperations() method

        problem

        Venue and Space

images  E

Enterprise system

    business logic layer

        addVenue() method

        ApplicationRegistry class

        database fiddle-faddling

        design and planning

        Domain Model extract

        errors

        prepareStatement() method

        relational database tables

        Space and Event classes

        $space array

        static property

        superclass

        VenueManager class

        Venue object

    command/control layer

    controller pattern

    data layer

    feature

    presentation layer (see Presentation layer)

    registry pattern

        abstract class

        ApplicationHelper class

        ApplicationRegistry

        associative array

        class code

        clear() method

        configuration file

        get() function

        get() method

        getRequest() method

        implementation

        instance() method

        isEmpty() method

        isPopulated() method

        key-based system

        PHP

        production-quality code

        Request object

        scope

        serialization/unserialization

        session_start() method

        set() method

        setRequest() method

        tradeoff

        TreeBuilder/Conf object

    SOAP/RESTful API

    testing

    view layer

Error handling

    Conf class

    error flag

    error-prone method

    exception

        advantage

        benefit

        catch clause

        catch clauses

        __construct() and write() classes

        fatal error

        LibXmlError class

        libxml_get_last_error()

        PEAR_Error class

        public methods

        throw exception

        try/catch clauses

        write() method

    getBacktrace method

    getCode method

    getErrorClass()and getErrorMethod()

    getMessage method

    PEAR_Exception method

    PEAR::isError method

    PEAR packages

    SimpleXml extension

    simplexml_load_file()

images  F

images  G

Git server

    adding and removing directory

    adding and removing files

    installation

    project

        command/FeedbackCommand.php file

        commit command

        FeedbackCommand

        git branch command

        git checkout

        git clone command

        git pull

        git status command

        user registration

    remote repository

        --bare_flag

        local users

        megaquiz project

        shell access

        SSH access

    tagging

    updating and committing

        class user

        conflicting information

        git add command

        git commit

        git pull

        git push

        git status command

        quizobjects/User.php file

    version control

images  H

images  I

Interpreter pattern

    add() method

    BooleanAndExpression

    Boolean logic

    BooleanOrExpression class

    class diagram

    composite (collection) parsers

    code listing

        CharacterParse class

        CollectionParse class

        Context class

        Parser class

    disadvantages

    discard()

    doInterpret()

    Domain Specific Language (DSL)

    doScan()

    eatWhiteSpace()

    EqualsExpression class

    EqualsExpression objects

    equals operator

    Expression class

    Expression implementation

    Extended Backus-Naur Form (EBNF)

    getKey() method

    getState()

    grammar description

    handleMatch()

    interface design

    Interpreter classes

    InterpreterContext class

    interpret() method

    invocation internals

    invokeHandler() method

    isSpaceChar() method

    isWordChar() method

    lookup() method

    MarkLogic grammar elements

    MarkLogic interpreter

    Metsker, Steven

    minilanguages

    next() method

    nextToken() method

    OperatorExpression class

    Parser objects

    push() method

    replace() method

    scan() method

    Scanner class, code listing

    ScannerState class

    security and complexity issues

    setHandler() method

    setState() method

    setValue() method

    term() method

    terminal parsers

    tokens

    trigger() method

    VariableExpression class coding

    VariableExpression object

images  J, K

images  L

images  M

images  N

images  O

Object generation

    abstract factory pattern

        abstract creator and product

        applications

        benefits of

        BloggsCal and MegaCal formats

        implementation

        make() method

        parallel family

    delegate object instantiation

    factory, definition of

    factory method pattern

        ApptEncoder class

        BloggsCal

        code duplication

        CommsManager class

        CommsManager::getApptEncoder()method

        generalizations

        getFooterText() method

        getHeaderText()method

        implementation

        MegaCal format

        overview

        product hierarchy

        terminology

    getInstance() method

    hard-code configuration

    init() method

    NastyBoss::addEmployee() method

    NastyBoss class

    polymorphism

    protocol types

    prototype pattern

        benefits

        civilization-style web game

        __clone() method

        handling terrain

        implementation

        $navigability property

        parallel inheritance hierarchy

        PHP’s clone keyword

        product hierarchy

        terrain type

    recruit()method

    singleton pattern

        class interfaces

        collision, risk of

        DSN strings

        global variable

        implementation

        Preferences object

        system design

        well-designed systems

    static method

    string and instantiate

Object-oriented design

    abstract base class

    addParam()method

    aesthetics

    classes

    code design

    Cohesion

    coupling

    decoupling

    delegation

    encapsulation

    file extension

    getInstance() method

    illustrative code

    interface

    orthogonality

    persistence method

    polymorphism

        abstract base class

        abstract superclass

        conditional statement

        definition

        return type

        subclasses

    procedural code

    readParams function

    responsibility

    reusability

    signposts

        code duplication

        conditional statements

        global variables

        responsibility

    static method

    UML (see Unified modeling language (UML)

    write() and read() methods

    writeParams() function

    XML mode

Object-oriented features

    abstract class

        empty array

        implementations

        method signature

        ShopProductWriter class

        write() method

    callbacks, anonymous functions and closures

        classes

        code action

        create_function()

        creation

        is_callable()

        ProcessSale consists

        registerCallback()

        sale() method

        use clause

        warnAmount() method

    __clone() method

        Account object

        by-value copy

        $id property

        implementation

        Person class

        reference

        variables

    constant properties

    destructor methods

    error handling (see Error handling)

    final class and methods

    interceptors

        Address::$streetaddress property

        __call() method

        composite property

        __get() method

        __isset() method

        methods

        $name property

        overloading

        Person class

        __set(), 68__set() method

        __unset() method

        setName() method

    interfaces

        addChargeableItem method

        CdProduct class

        Chargeable interface

        Consultancy class

        getPlayLength() method

        $prod object

        ShopProduct

    late static bindings

        abstract classes

        create() method

        definition

        DomainObject class

        getGroup() method

        self keyword

        SpreadSheet class

    static factory method

    static methods and properties

        characteristics

        classes

        factory

        getInstance()method

        object context

        parent keyword

        PDO class

        products table

        StaticExample class

        $this pseudo-variable

    __toString()method

    traits

        abstract method

        access rights

        calculateTax() method

        host class

        insteadof operator

        interfaces

        overridden methods

        PriceUtilities and IdentityTrait

        ShopProduct and UtilityService

        static methods

    write() method

Objects

    advocacy

    agnosticism

    basics

    Facebook

    features

    Gutmans, Andi

    hint type

    inheritance

        accessor methods

        constructors and

        description

        $discount property

        elements of the base class

        getProducer() method

        getSummaryLine() method

        overridden method

        problem

        public, private, or protected access

        ShopProduct classes

        $title property

    methods

        constructor method

        getProducer() method

        method body

        object variable

    naming scope

    object-oriented support

    pass-by-reference

    PHP/FI

    primitive types

        and checking functions

        example

    setting properties

    Suraski, Zeev

    Yahoo

    Zend engine

Object tools

    autoload

        behavior

        function, 89–91mechanisms

        PEAR approach

        replaceUnderscores() function

        ShopProduct class

        spl_autoload() function

        spl_register_function()

        spl_unregister_function()

    class and object functions

        BookProduct/CdProduct class

        class_exists() function

        get_class() function

        get_declared_classes() function

        getProduct() function

        inheritance

        method invocation

        method name

        properties

        string reference qualification

    packages and namespaces

        alias explicit

        braces syntax

        classes, functions, and variables

        code repository

        collisions

        Debug class

        file system

        include paths

        method

        namespaced code

        __NAMESPACE__ constant

        organization or project identifier

        PEAR way

        URL and filepaths

    reflection API

        application

        classes

        cloneable method

        examination method

        examination method argument

        execute() method

        handleMethod()

        implementation

        init() method loops

        module interface

        module object’s setter methods

        ModuleRunner’s init() method

        multidimensional array

        $params array argument

        quick-and-dirty method

        ReflectionClass::isInterface() method

        ReflectionClass::isSubclassOf() method

        ReflectionClass::isUserDefined() method

        ReflectionClass object

        ReflectionMethod::invoke() method

        static export() method

        var_dump() function

images  P

Pattern principles

    composition and inheritance

        brute-force solution

        chargeType() and cost() methods

        child classes

        class diagram

        cost() method

        CostStrategy object

        Lesson class

        specializations

        strategy pattern

    concept

    decoupling

        client code

        encapsulation

        implementation

        Lesson system

        Mailer class

        MDB2 class

        MySQL database

        notifier classes

        Notifier::getNotifier() method

        PEAR::MDB2 package

        reusability

        tight coupling

    eXtreme Programming (XP)

    interface

    objects and classes

    pattern catalog

    revelation

    task-oriented patterns

    unnecessary/inappropriate

Phing

    Ant

    build documentation (see Build document composing)

    build.xml

    definition

    getting and installation

    isset element

    PEAR packages

    PHP application

    PHP tool

    propertyfile option

    target

        default attribute

        depends attribute

        description attribute

        housekeeping function

        main target

        name attribute

        -projecthelp

        runfirst

        runsecond

    tar/gzipped package

    tasks

    used documentation

    XML comments

    XML file

PHP Extension and Application Repository (PEAR)

    beyond code

    building

    config-get subcommand

    config-show subcommand

    continuous integration (CI)

    definition

    description

    documentation

    package creation

        dependency

        Dialekt

        Dialekt.php

        dir and file elements

        file role

        for shipment

        ini_set()function

        package.xml file

        phprelease element

        setup, channel

    package installation

        -a flag

        channel

        Config package

        dialekt

        error handling (see Error handling)

        error logging

        log package

        -o flag

        package elements

        tarred and gzipped

        wget

        XML format

    Phing

    software testing

    updated channel page

    version control system

    with pyrus

PHPUnit testing

    assertion method

    constraints

    creation, Bergmann

    exceptions

    functional tests

    getUser () method

    mocks and stubs object

        behavior verification

        expects() method

        fluent interface

        getMock() method

        matcher methods

        setUp() method

        tearDown() method

        UserStore class

        will()method

    note of caution

    Sunit framework

    test case creation

    testing by hand

    test suites running

    UserStore class

    writing web tests

        refactoring web applications

        selenium (see Selenium)

        simple method

    xUnit family

Presentation layer

    application controller

        AddSpace command

        AddVenue command

        $classroot property

        Command base class

        command string

        concrete command

        configuration file

        ControllerMap class

        $forwardMap property

        FrontController

        getCommand() method

        getResource() method

        high-level process

        implementation

        parsing XML

        pattern

        results

        $viewMap property

    front controller

        ApplicationHelper class

        Command base class

        CommandResolver

        controller class

        implementation

        index.php

        operation

        request object

        run() method

        serialization

    page controller pattern

        AddVenueController class

        base class

        error.php

        errors

        new venue system

        RequestRegistry classes

        results

        Venue objects

        view element

    template view/view helper pattern

        errors

        implementation

        results

images  Q

images  R

images  S

images  T

images  U

Unified modeling language (UML)

    class diagrams

        abstract classes

        aggregation

        association

        attributes

        clarification

        composition

        inheritance and implementation

        interfaces

        named box

        operations

        relationship

    constraints

    definition

    sequence diagram

images  V

images  W

images  X, Y, Z

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.169.139