Internationalization

Phalcon is written in C as an extension for PHP. There is a PECL extension that offers internationalization functions to PHP applications called intl. Starting from PHP 5.4/5.5 this extension is bundled with PHP. Its documentation can be found in the pages of the official PHP manual. Phalcon does not offer this functionality, since creating such a component would be replicating existing code. In the examples below, we will show you how to implement the intl extension’s functionality into Phalco

Installation on WAMP

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Below are detailed instructions on how to install Phalcon on WampServer for Windows. Using the latest WampServer version is highly recommended. Download the right version of Phalcon WAMP has both 32 and 64 bit versions. From the download section, you can choose the Phalcon for Windows accordingly to your desired architecture. After download the Phalcon library yo

Kernel

Source on GitHub Methods public static preComputeHashKey (mixed $key) ...

Installation

PHP extensions require a slightly different installation method to a traditional PHP-based library or framework. You can either download a binary package for the system of your choice or build it from the sources. Windows To use phalcon on Windows you can download a DLL library. Edit your php.ini file and then append at the end: extension=php_phalcon.dll Restart your webserver. The following screencast is a step-by-step guide to install Phalcon on Windows: Related Guides Installation on XAMP

List of examples

Following examples are full applications you can use to learn more about Phalcon and use them as base for your own websites/applications: Phalcon's website INVO: CRUD, Acl, Layouts and more PHP Alternative website: Multi-Lingual, Complex Routing and more Phosphorum: Phalcon's forum Album O'Rama: Large Data, Volt, PHQL and Caching and more Vökuró: Security, Authentication, Authorization and more

Installation on XAMPP

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. Once you download XAMPP, all you have to do is extract it and start using it. Below are detailed instructions on how to install Phalcon on XAMPP for Windows. Using the latest XAMPP version is highly recommended. Download the right version of Phalcon XAMPP is always releasing 32 bit versions of Apache and PHP. You will need to download the x86 version of Phalcon for Windows from the download section. After downloadin

Kernel::preComputeHashKey

public static preComputeHashKey (mixed $key) ...

Image\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Image\Adapter\Imagick::__destruct

public __destruct () Destroys the loaded image to free up resources.

Improving Performance with Cache

Phalcon provides the Phalcon\Cache class allowing faster access to frequently used or already processed data. Phalcon\Cache is written in C, achieving higher performance and reducing the overhead when getting items from the backends. This class uses an internal structure of frontend and backend components. Front-end components act as input sources or interfaces, while backend components offer storage options to the class. When to implement cache? Although this component is very fast, implementi