Phalcon
Welcome to Phalcon framework, a new approach on PHP frameworks. Our mission is to give you an advanced tool for developing web sites and applications without worrying about framework performance.
Table of Contents
- Installation
- Tutorial 1: Let’s learn by example
- Tutorial 2: Explaining INVO
- Tutorial 3: Creating a Simple REST API
- List of examples
-
Dependency Injection/Service Location
- Our approach
- Registering services in the Container
- Resolving Services
- Shared services
- Manipulating services individually
- Instantiating classes via the Service Container
- Automatic Injecting of the DI itself
- Avoiding service resolution
- Organizing services in files
- Accessing the DI in a static way
- Factory Default DI
- Service Name Conventions
- Implementing your own DI
- The MVC Architecture
- Using Controllers
-
Working with Models
- Creating Models
- Understanding Records To Objects
- Finding Records
- Initializing/Preparing fetched records
- Relationships between Models
- Virtual Foreign Keys
- Generating Calculations
- Hydration Modes
- Creating Updating/Records
- Skipping Columns
- Deleting Records
- Validation Failed Events
- Behaviors
- Transactions
- Independent Column Mapping
- Operations over Resultsets
- Record Snapshots
- Models Meta-Data
- Pointing to a different schema
- Setting multiple databases
- Logging Low-Level SQL Statements
- Profiling SQL Statements
- Injecting services into Models
- Disabling/Enabling Features
- Stand-Alone component
- Phalcon Query Language (PHQL)
- Caching in the ORM
- ODM (Object-Document Mapper)
- Using Views
- View Helpers
- Assets Management
-
Volt: Template Engine
- Introduction
- Activating Volt
- Basic Usage
- Variables
- Filters
- Comments
- List of Control Structures
- Assignments
- Expressions
- Tests
- Macros
- Using Tag Helpers
- Functions
- View Integration
- Template Inheritance
- Autoescape mode
- Setting up the Volt Engine
- Extending Volt
- Caching view fragments
- Inject Services into a Template
- Stand-alone component
- External Resources
- MVC Applications
-
Routing
- Defining Routes
- Matching Routes
- Naming Routes
- Usage Examples
- Default Behavior
- Setting the default route
- Not Found Paths
- Setting default paths
- Dealing with extra/trailing slashes
- Match Callbacks
- Hostname Constraints
- URI Sources
- Testing your routes
- Annotations Router
- Registering Router instance
- Implementing your own Router
- Dispatching Controllers
-
Micro Applications
- Creating a Micro Application
- Defining routes
- Working with Responses
- Making redirections
- Generating URLs for Routes
- Interacting with the Dependency Injector
- Not-Found Handler
- Models in Micro Applications
- Micro Application Events
- Middleware events
- Using Controllers as Handlers
- Returning Responses
- Rendering Views
- Related Sources
- Working with Namespaces
- Events Manager
- Request Environment
- Returning Responses
- Cookies Management
- Generating URLs and Paths
- Flashing Messages
- Storing data in Session
- Filtering and Sanitizing
- Contextual Escaping
- Validation
- Cancelling Validations
- Forms
- Reading Configurations
- Pagination
- Improving Performance with Cache
- Security
- Encryption/Decryption
- Access Control Lists ACL
- Multi-lingual Support
- Universal Class Loader
- Logging
- Annotations Parser
- Command Line Applications
- Queueing
-
Database Abstraction Layer
- Database Adapters
- Database Dialects
- Connecting to Databases
- Setting up additional PDO options
- Finding Rows
- Binding Parameters
- Inserting/Updating/Deleting Rows
- Transactions and Nested Transactions
- Database Events
- Profiling SQL Statements
- Logging SQL Statements
- Describing Tables/Views
- Creating/Altering/Dropping Tables
- Internationalization
- Database Migrations
- Debugging Applications
- Phalcon Developer Tools
- Increasing Performance: What’s next?
- Unit testing
-
API Indice
- Abstract class Phalcon\Acl
- Abstract class Phalcon\Acl\Adapter
- Class Phalcon\Acl\Adapter\Memory
- Class Phalcon\Acl\Exception
- Class Phalcon\Acl\Resource
- Class Phalcon\Acl\Role
- Abstract class Phalcon\Annotations\Adapter
- Class Phalcon\Annotations\Adapter\Apc
- Class Phalcon\Annotations\Adapter\Files
- Class Phalcon\Annotations\Adapter\Memory
- Class Phalcon\Annotations\Adapter\Xcache
- Class Phalcon\Annotations\Annotation
- Class Phalcon\Annotations\Collection
- Class Phalcon\Annotations\Exception
- Class Phalcon\Annotations\Reader
- Class Phalcon\Annotations\Reflection
- Class Phalcon\Assets\Collection
- Class Phalcon\Assets\Exception
- Class Phalcon\Assets\Filters\Cssmin
- Class Phalcon\Assets\Filters\Jsmin
- Class Phalcon\Assets\Filters\None
- Class Phalcon\Assets\Manager
- Class Phalcon\Assets\Resource
- Class Phalcon\Assets\Resource\Css
- Class Phalcon\Assets\Resource\Js
- Class Phalcon\CLI\Console
- Class Phalcon\CLI\Console\Exception
- Class Phalcon\CLI\Dispatcher
- Class Phalcon\CLI\Dispatcher\Exception
- Class Phalcon\CLI\Router
- Class Phalcon\CLI\Router\Exception
- Class Phalcon\CLI\Task
- Abstract class Phalcon\Cache\Backend
- Class Phalcon\Cache\Backend\Apc
- Class Phalcon\Cache\Backend\File
- Class Phalcon\Cache\Backend\Libmemcached
- Class Phalcon\Cache\Backend\Memcache
- Class Phalcon\Cache\Backend\Memory
- Class Phalcon\Cache\Backend\Mongo
- Class Phalcon\Cache\Backend\Xcache
- Class Phalcon\Cache\Exception
- Class Phalcon\Cache\Frontend\Base64
- Class Phalcon\Cache\Frontend\Data
- Class Phalcon\Cache\Frontend\Igbinary
- Class Phalcon\Cache\Frontend\Json
- Class Phalcon\Cache\Frontend\None
- Class Phalcon\Cache\Frontend\Output
- Class Phalcon\Cache\Multiple
- Class Phalcon\Config
- Class Phalcon\Config\Adapter\Ini
- Class Phalcon\Config\Adapter\Json
- Class Phalcon\Config\Adapter\Php
- Class Phalcon\Config\Exception
- Class Phalcon\Crypt
- Class Phalcon\Crypt\Exception
- Class Phalcon\DI
- Class Phalcon\DI\Exception
- Class Phalcon\DI\FactoryDefault
- Class Phalcon\DI\FactoryDefault\CLI
- Abstract class Phalcon\DI\Injectable
- Class Phalcon\DI\Service
- Class Phalcon\DI\Service\Builder
- Abstract class Phalcon\Db
- Abstract class Phalcon\Db\Adapter
- Abstract class Phalcon\Db\Adapter\Pdo
- Class Phalcon\Db\Adapter\Pdo\Mysql
- Class Phalcon\Db\Adapter\Pdo\Oracle
- Class Phalcon\Db\Adapter\Pdo\Postgresql
- Class Phalcon\Db\Adapter\Pdo\Sqlite
- Class Phalcon\Db\Column
- Abstract class Phalcon\Db\Dialect
- Class Phalcon\Db\Dialect\Mysql
- Class Phalcon\Db\Dialect\Oracle
- Class Phalcon\Db\Dialect\Postgresql
- Class Phalcon\Db\Dialect\Sqlite
- Class Phalcon\Db\Exception
- Class Phalcon\Db\Index
- Class Phalcon\Db\Profiler
- Class Phalcon\Db\Profiler\Item
- Class Phalcon\Db\RawValue
- Class Phalcon\Db\Reference
- Class Phalcon\Db\Result\Pdo
- Class Phalcon\Debug
- Abstract class Phalcon\Dispatcher
- Class Phalcon\Escaper
- Class Phalcon\Escaper\Exception
- Class Phalcon\Events\Event
- Class Phalcon\Events\Exception
- Class Phalcon\Events\Manager
- Class Phalcon\Exception
- Class Phalcon\Filter
- Class Phalcon\Filter\Exception
- Abstract class Phalcon\Flash
- Class Phalcon\Flash\Direct
- Class Phalcon\Flash\Exception
- Class Phalcon\Flash\Session
- Abstract class Phalcon\Forms\Element
- Class Phalcon\Forms\Element\Check
- Class Phalcon\Forms\Element\Date
- Class Phalcon\Forms\Element\Email
- Class Phalcon\Forms\Element\File
- Class Phalcon\Forms\Element\Hidden
- Class Phalcon\Forms\Element\Numeric
- Class Phalcon\Forms\Element\Password
- Class Phalcon\Forms\Element\Radio
- Class Phalcon\Forms\Element\Select
- Class Phalcon\Forms\Element\Submit
- Class Phalcon\Forms\Element\Text
- Class Phalcon\Forms\Element\TextArea
- Class Phalcon\Forms\Exception
- Class Phalcon\Forms\Form
- Class Phalcon\Forms\Manager
- Class Phalcon\Http\Cookie
- Class Phalcon\Http\Cookie\Exception
- Class Phalcon\Http\Request
- Class Phalcon\Http\Request\Exception
- Class Phalcon\Http\Request\File
- Class Phalcon\Http\Response
- Class Phalcon\Http\Response\Cookies
- Class Phalcon\Http\Response\Exception
- Class Phalcon\Http\Response\Headers
- Abstract class Phalcon\Image
- Abstract class Phalcon\Image\Adapter
- Class Phalcon\Image\Adapter\GD
- Class Phalcon\Image\Adapter\Imagick
- Class Phalcon\Image\Exception
- Class Phalcon\Kernel
- Class Phalcon\Loader
- Class Phalcon\Loader\Exception
- Abstract class Phalcon\Logger
- Abstract class Phalcon\Logger\Adapter
- Class Phalcon\Logger\Adapter\File
- Class Phalcon\Logger\Adapter\Firephp
- Class Phalcon\Logger\Adapter\Stream
- Class Phalcon\Logger\Adapter\Syslog
- Class Phalcon\Logger\Exception
- Abstract class Phalcon\Logger\Formatter
- Class Phalcon\Logger\Formatter\Firephp
- Class Phalcon\Logger\Formatter\Json
- Class Phalcon\Logger\Formatter\Line
- Class Phalcon\Logger\Formatter\Syslog
- Class Phalcon\Logger\Item
- Class Phalcon\Logger\Multiple
- Class Phalcon\Mvc\Application
- Class Phalcon\Mvc\Application\Exception
- Class Phalcon\Mvc\Collection
- Class Phalcon\Mvc\Collection\Document
- Class Phalcon\Mvc\Collection\Exception
- Class Phalcon\Mvc\Collection\Manager
- Abstract class Phalcon\Mvc\Controller
- Class Phalcon\Mvc\Dispatcher
- Class Phalcon\Mvc\Dispatcher\Exception
- Class Phalcon\Mvc\Micro
- Class Phalcon\Mvc\Micro\Collection
- Class Phalcon\Mvc\Micro\Exception
- Class Phalcon\Mvc\Micro\LazyLoader
- Abstract class Phalcon\Mvc\Model
- Abstract class Phalcon\Mvc\Model\Behavior
- Class Phalcon\Mvc\Model\Behavior\SoftDelete
- Class Phalcon\Mvc\Model\Behavior\Timestampable
- Class Phalcon\Mvc\Model\Criteria
- Class Phalcon\Mvc\Model\Exception
- Class Phalcon\Mvc\Model\Manager
- Class Phalcon\Mvc\Model\Message
- Abstract class Phalcon\Mvc\Model\MetaData
- Class Phalcon\Mvc\Model\MetaData\Apc
- Class Phalcon\Mvc\Model\MetaData\Files
- Class Phalcon\Mvc\Model\MetaData\Memory
- Class Phalcon\Mvc\Model\MetaData\Session
- Class Phalcon\Mvc\Model\MetaData\Strategy\Annotations
- Class Phalcon\Mvc\Model\MetaData\Strategy\Introspection
- Class Phalcon\Mvc\Model\MetaData\Xcache
- Class Phalcon\Mvc\Model\Query
- Class Phalcon\Mvc\Model\Query\Builder
- Abstract class Phalcon\Mvc\Model\Query\Lang
- Class Phalcon\Mvc\Model\Query\Status
- Class Phalcon\Mvc\Model\Relation
- Abstract class Phalcon\Mvc\Model\Resultset
- Class Phalcon\Mvc\Model\Resultset\Complex
- Class Phalcon\Mvc\Model\Resultset\Simple
- Class Phalcon\Mvc\Model\Row
- Class Phalcon\Mvc\Model\Transaction
- Class Phalcon\Mvc\Model\Transaction\Exception
- Class Phalcon\Mvc\Model\Transaction\Failed
- Class Phalcon\Mvc\Model\Transaction\Manager
- Class Phalcon\Mvc\Model\ValidationFailed
- Abstract class Phalcon\Mvc\Model\Validator
- Class Phalcon\Mvc\Model\Validator\Email
- Class Phalcon\Mvc\Model\Validator\Exclusionin
- Class Phalcon\Mvc\Model\Validator\Inclusionin
- Class Phalcon\Mvc\Model\Validator\Numericality
- Class Phalcon\Mvc\Model\Validator\PresenceOf
- Class Phalcon\Mvc\Model\Validator\Regex
- Class Phalcon\Mvc\Model\Validator\StringLength
- Class Phalcon\Mvc\Model\Validator\Uniqueness
- Class Phalcon\Mvc\Model\Validator\Url
- Class Phalcon\Mvc\Router
- Class Phalcon\Mvc\Router\Annotations
- Class Phalcon\Mvc\Router\Exception
- Class Phalcon\Mvc\Router\Group
- Class Phalcon\Mvc\Router\Route
- Class Phalcon\Mvc\Url
- Class Phalcon\Mvc\Url\Exception
- Class Phalcon\Mvc\User\Component
- Class Phalcon\Mvc\User\Module
- Class Phalcon\Mvc\User\Plugin
- Class Phalcon\Mvc\View
- Abstract class Phalcon\Mvc\View\Engine
- Class Phalcon\Mvc\View\Engine\Php
- Class Phalcon\Mvc\View\Engine\Volt
- Class Phalcon\Mvc\View\Engine\Volt\Compiler
- Class Phalcon\Mvc\View\Exception
- Class Phalcon\Mvc\View\Simple
- Class Phalcon\Paginator\Adapter\Model
- Class Phalcon\Paginator\Adapter\NativeArray
- Class Phalcon\Paginator\Adapter\QueryBuilder
- Class Phalcon\Paginator\Exception
- Class Phalcon\Queue\Beanstalk
- Class Phalcon\Queue\Beanstalk\Job
- Final class Phalcon\Registry
- Class Phalcon\Security
- Class Phalcon\Security\Exception
- Abstract class Phalcon\Session\Adapter
- Class Phalcon\Session\Adapter\Files
- Class Phalcon\Session\Bag
- Class Phalcon\Session\Exception
- Class Phalcon\Tag
- Class Phalcon\Tag\Exception
- Abstract class Phalcon\Tag\Select
- Abstract class Phalcon\Text
- Abstract class Phalcon\Translate\Adapter
- Class Phalcon\Translate\Adapter\NativeArray
- Class Phalcon\Translate\Exception
- Class Phalcon\Validation
- Class Phalcon\Validation\Exception
- Class Phalcon\Validation\Message
- Class Phalcon\Validation\Message\Group
- Abstract class Phalcon\Validation\Validator
- Class Phalcon\Validation\Validator\Between
- Class Phalcon\Validation\Validator\Confirmation
- Class Phalcon\Validation\Validator\Email
- Class Phalcon\Validation\Validator\ExclusionIn
- Class Phalcon\Validation\Validator\Identical
- Class Phalcon\Validation\Validator\InclusionIn
- Class Phalcon\Validation\Validator\PresenceOf
- Class Phalcon\Validation\Validator\Regex
- Class Phalcon\Validation\Validator\StringLength
- Class Phalcon\Validation\Validator\Url
- Class Phalcon\Version
- Interface Phalcon\Acl\AdapterInterface
- Interface Phalcon\Acl\ResourceInterface
- Interface Phalcon\Acl\RoleInterface
- Interface Phalcon\Annotations\AdapterInterface
- Interface Phalcon\Annotations\ReaderInterface
- Interface Phalcon\Assets\FilterInterface
- Interface Phalcon\Cache\BackendInterface
- Interface Phalcon\Cache\FrontendInterface
- Interface Phalcon\CryptInterface
- Interface Phalcon\DI\InjectionAwareInterface
- Interface Phalcon\DI\ServiceInterface
- Interface Phalcon\Db\AdapterInterface
- Interface Phalcon\Db\ColumnInterface
- Interface Phalcon\Db\DialectInterface
- Interface Phalcon\Db\IndexInterface
- Interface Phalcon\Db\ReferenceInterface
- Interface Phalcon\Db\ResultInterface
- Interface Phalcon\DiInterface
- Interface Phalcon\DispatcherInterface
- Interface Phalcon\EscaperInterface
- Interface Phalcon\Events\EventsAwareInterface
- Interface Phalcon\Events\ManagerInterface
- Interface Phalcon\FilterInterface
- Interface Phalcon\Filter\UserFilterInterface
- Interface Phalcon\FlashInterface
- Interface Phalcon\Forms\ElementInterface
- Interface Phalcon\Http\RequestInterface
- Interface Phalcon\Http\Request\FileInterface
- Interface Phalcon\Http\ResponseInterface
- Interface Phalcon\Http\Response\CookiesInterface
- Interface Phalcon\Http\Response\HeadersInterface
- Interface Phalcon\Image\AdapterInterface
- Interface Phalcon\Logger\AdapterInterface
- Interface Phalcon\Logger\FormatterInterface
- Interface Phalcon\Mvc\CollectionInterface
- Interface Phalcon\Mvc\Collection\ManagerInterface
- Interface Phalcon\Mvc\ControllerInterface
- Interface Phalcon\Mvc\DispatcherInterface
- Interface Phalcon\Mvc\Micro\CollectionInterface
- Interface Phalcon\Mvc\Micro\MiddlewareInterface
- Interface Phalcon\Mvc\ModelInterface
- Interface Phalcon\Mvc\Model\BehaviorInterface
- Interface Phalcon\Mvc\Model\CriteriaInterface
- Interface Phalcon\Mvc\Model\ManagerInterface
- Interface Phalcon\Mvc\Model\MessageInterface
- Interface Phalcon\Mvc\Model\MetaDataInterface
- Interface Phalcon\Mvc\Model\QueryInterface
- Interface Phalcon\Mvc\Model\Query\BuilderInterface
- Interface Phalcon\Mvc\Model\Query\StatusInterface
- Interface Phalcon\Mvc\Model\RelationInterface
- Interface Phalcon\Mvc\Model\ResultInterface
- Interface Phalcon\Mvc\Model\ResultsetInterface
- Interface Phalcon\Mvc\Model\TransactionInterface
- Interface Phalcon\Mvc\Model\Transaction\ManagerInterface
- Interface Phalcon\Mvc\Model\ValidatorInterface
- Interface Phalcon\Mvc\ModuleDefinitionInterface
- Interface Phalcon\Mvc\RouterInterface
- Interface Phalcon\Mvc\Router\RouteInterface
- Interface Phalcon\Mvc\UrlInterface
- Interface Phalcon\Mvc\ViewInterface
- Interface Phalcon\Mvc\View\EngineInterface
- Interface Phalcon\Paginator\AdapterInterface
- Interface Phalcon\Session\AdapterInterface
- Interface Phalcon\Session\BagInterface
- Interface Phalcon\Translate\AdapterInterface
- Interface Phalcon\Validation\ValidatorInterface
- License
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/index.html