background preloader

Back

Facebook Twitter

Download Phalcon for Linux/Unix/Mac. Phalcon est une extension C, par conséquent vous devrez télécharger le fichier pour votre platform ou le compiler depuis les sources.

Download Phalcon for Linux/Unix/Mac

Config files. The Phalcon REST Boilerplate needs a default configuration file app/configs/default.php and a environment based config file like app/configs/server.develop.php.

Config files

Default template The boilerplate comes with a default template app/configs/default.template.php for all your standard configuration. Rename this file to default.php and adjust it to your needs. default.template.php. Apprendre à programmer avec le framework PHP Symfony 3. Le but de ce tutoriel est de vous appendre plusieurs méthodes d'installation de Symfony, et de vous apprendre à résoudre les problèmes souvent rencontrés pendant le processus d'installation.

Apprendre à programmer avec le framework PHP Symfony 3

Symfony utilise une application dédiée appelée Symfony Installer pour créer facilement vos applications Symfony. Cet installeur exige que PHP 5.4 ou une version supérieure soit installé sur votre système local. Cette installation se fait comme indiqué dans les sections suivantes, selon votre système d'exploitation. A Beginner's Guide to npm — the Node Package Manager. Node.js makes it possible to write applications in JavaScript on the server.

A Beginner's Guide to npm — the Node Package Manager

It’s built on the V8 JavaScript runtime and written in C++ — so it’s fast. Originally, it was intended as a server environment for applications, but developers started using it to create tools to aid them in local task automation. Since then, a whole new ecosystem of Node-based tools (such as Grunt and Gulp) has evolved to transform the face of front-end development. To make use of these tools (or packages) in Node.js we need to be able to install and manage them in a useful way. This is where npm, the node package manager, comes in. PHP / Symfony : Personnaliser la debug toolbar et le profiler web de Symfony. Il est possible de rajouter des sections personnalisées dans la toolbar et dans le profiler web.

PHP / Symfony : Personnaliser la debug toolbar et le profiler web de Symfony

Dans cet article, nous allons voir en exemple un bundle qui permet d'exécuter des requêtes sur une base de données Sybase. Il faut donc une section dans la tootlbar et dans le profiler qui va indiquer à l'utilisateur le nombre de requêtes exécutées, leurs temps d’exécution, leurs succès ou non. Création du service de log On commence par créer la classe qui va recueillir les statistiques. Pour cela, on crée la classe SybaseASELogger. The VarDumper Component (The Symfony Components) The dump() Function The VarDumper component creates a global dump() function that you can use instead of e.g. var_dump.

The VarDumper Component (The Symfony Components)

By using it, you'll gain: Per object and resource types specialized view to e.g. filter out Doctrine internals while dumping a single proxy entity, or get more insight on opened files with stream_get_meta_data;Configurable output formats: HTML or colored command line output;Ability to dump internal references, either soft ones (objects or resources) or hard ones (=& on arrays or objects properties). Repeated occurrences of the same object/array/resource won't appear again and again anymore. Moreover, you'll be able to inspect the reference structure of your data;Ability to operate in the context of an output buffering handler.

One API to rule all product data. This Case Study is a guest post written by David Buchmann, Software Developer and Project Manager at Liip.

One API to rule all product data

Want your company featured on the official Symfony blog? Send a proposal or case study to fabien.potencier@sensiolabs.com Liip was approached by Migros, the largest retail company in Switzerland. Part 3 - Symfony2 API: the rest of REST. Part 3 - the rest of rest.

part 3 - Symfony2 API: the rest of REST

This is trilogy’s final, in the part1 ‘best web API with Symfony2’ we created the application and the bundle, we wrote the GET method, we also talked about the importance of the Interfaces, the content negotiation, and we gave an example of dumb controllers and smart services… In the part2 ‘REST and Symfony the best way’ we created a new Page via REST API, we talked about idempotent and safe methods, and we understood how much the form is important… In this article we are going to show how to properly modify a given resource using PUT,PATCH, how to handle different role for the Page resource, and how to disable the CRSF protection only when using API. Part2 - Web API REST with Symfony2. Part 2 - the POST In the ‘Symfony2 REST part 1’ we created the application, the bundle, we talked about the GET method, we also talked about the importance of the Interfaces, the content negotiation, and we gave an example of dumb controllers and brain services.

part2 - Web API REST with Symfony2

Symfony2 REST API: the best way. Part 1 - the GET Here’s another nice guide on how to create an API with Symfony2, this is the part 1 of a series of articles.

Symfony2 REST API: the best way

Here you could find the Part2 - the ‘POST’, and the last article Part3 - The rest of REST I would like to be short and concise bringing practical examples. Développez votre site web avec le framework Symfony2. Création de la rubrique dédiée au framewok PHP Symfony, avec les meilleurs tutoriels, cours, formations, la meilleure FAQ et un forum réorganisé. ,avec les meilleurs tutoriels, cours, formations, la meilleure FAQ et un forum mieux réorganisé Bonjour chers membres du club, Premiers pas avec le framework PHP Silex. Homepage - Silex - The PHP micro-framework based on Symfony2 Components.

Blog Symfony 3 : A quoi s'attendre ? Symfony, High Performance PHP Framework for Web Development.