Symfony2 Framework php
14.2K views | +0 today
Follow
Symfony2 Framework php
articles, tutorials, tips etc. (french and english)
Curated by Arno_Raulet
Your new post is loading...
Your new post is loading...
Scooped by Arno_Raulet
Scoop.it!

Export datas to a csv file with Symfony2 | Obtao

I recently had to export a huge set of data to a csv file. This is easy and fast to do if you don’t care about memory and User Experience. I wanted the memory consumption does not increase with the volume of data.

 
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Create RESTful API for Symfony2 with Apigility | Enrico Zimuel

Create RESTful API for Symfony2 with Apigility | Enrico Zimuel | Symfony2 Framework php | Scoop.it
Enrico Zimuel, software developer since 1996. Open source contributor, author of books and articles about web programming and applied cryptography, international speaker.
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Symfony2: Add a global option to console commands and generate a PID file | PHP & Symfony

Recently I read the book Signaling PHP by Cal Evans. It’s a short book, yet very affordable and it learned me a couple of things. First of all it explains about how you can “capture” a Ctrl+C on your long-running command and do some necessary cleanup work before actually terminating the application.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Build your own task list manager, part 2 | Web design | Creative Bloq

Build your own task list manager, part 2 | Web design | Creative Bloq | Symfony2 Framework php | Scoop.it
Richard Miller shows how to use the Symfony2 PHP framework to make a task list application to create, edit and delete tasks organised in lists.
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Liip Blog // HHVM with Symfony 2 looks amazing

Liip Blog // HHVM with Symfony 2 looks amazing | Symfony2 Framework php | Scoop.it
With the recent announcement of Facebook that their HHVM is now more and more compatible with most of the popular framework, I was intrigued to finally try it out. We’re currently building a ...
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Symfony2: Some things I don’t like about Bundles | PHP & Symfony

This article could have been titled “Ten things I hate about bundles”, but that would be too harsh. The things I am going to describe, are not things I hate, but things I don’t like. Besides, when I count them, I don’t come to ten things…

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Wojciech Sznapka Blog – PHP / Symfony 2 / Open Source » Testing in isolation with Symfony2 and WebTestCase

It’s extremely important to have same state of the System Under Test. In most of the cases it will be possible by having same contents in a database for every test. I’ve decribed how to achieve it in Fully isolated tests in Symfony2 blog post about two years ago (btw. it’s most popular post on this blog). It was the time, when PHP’s Traits weren’t that popular.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Running symfony standard edition on HHVM | labs @ Qandidate.com

Running symfony standard edition on HHVM | labs @ Qandidate.com | Symfony2 Framework php | Scoop.it
Arno_Raulet's insight:

http://labs.qandidate.com/blog/2013/10/15/getting-started-with-hhvm/

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Service Injection in Doctrine DBAL Type - Emanuele Minotto’s Blog

Service Injection in Doctrine DBAL Type - Emanuele Minotto’s Blog | Symfony2 Framework php | Scoop.it
When you think of a Doctrine 2 DBAL Type you think of an atomic thing, but how can you work programmatically on this type without defining an event? A DBAL Type doesn’t allow access to the Symfony 2 service container, you must use a hack.
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Efficient Elasticsearch indexing configuration | Obtao

This post is about elasticsearch which is a great search engine.
The biggest difficulty we meet is that we do not know how to configure it to have relevant search results. Another difficulty is (sorry to say that), the documentation is not very well done. Ok, it’s my opinion and I can’t denied we found usefull information in it, but information are sometimes difficult to find

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

How to set time zone in Symfony2

I recently installed Symfony latest package and the configuration (when you run /config.php) says that I have to set date.timezone value in php.ini. Well, in my local system I can totally do it. Ho...
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

So how did we implement our new front-end development workflow into Symfony? - Kunstmaan Bundles for Symfony2

So how did we implement our new front-end development workflow into Symfony? - Kunstmaan Bundles for Symfony2 | Symfony2 Framework php | Scoop.it

As you have read in our previous article (if not, do so: A solid and automated front-end development workflow), we have done a lot to optimize our front-end workflow. We are now using Grunt to automate our recurring tasks and Bower as our front-end package manager. In this article we will give you insight into how this is implemented in a Symfony project.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Useful Commands For Efficient Symfony2 Development

Have you explored all of the Console commands that ship with the Symfony Standard Edition? The long list of tasks after entering the php app/console command might feel a bit overwhelming at first, but the more you use Symfony, the more comfortable you'll feel and the more likely you will have memorized a few common commands.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Doctrine2 entity listener as service in the Symfony2 container

Few weeks ago, I have migrated an application from Doctrine 2.3 to 2.4 & discover the entity listener feature. This one is pretty interesting as it allows us to map business logic to a specific entity whereas before, we can only attach this logic to the global event lifecycle. To explain you the gain it provides, I will try to explain it from the beginning.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Vim, PHP et les espaces de noms dans Symfony

Travailler avec les espaces de noms est utile mais dans vim, il faut manuellement les insérer. Cependant, il existe un outil qui s’appuie sur ctags pour traiter le problème : vim-php-namespace. Après avec généré le fichiers de tags, vous aurez la possibilité d'ajouter...

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Avoiding the mud // Speaker Deck

It’s easy to get started on an application with Symfony2 and its ecosystem creating bundle and mapping entities to forms and to a database to create a prototype. The problem is growing it beyond this to create a maintainable application. With simple entity mapping exposing the data it contains business logic quickly ends up spread around the application. We can end up with a tangle of business logic and a large tangle of related entities. We may have multiple bundles but they are often dependent on each other. Code which may be useful in other applications becomes tangled up with the application specific code.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Build your own task list manager with PHP, part 1 | Web design | Creative Bloq

Build your own task list manager with PHP, part 1 | Web design | Creative Bloq | Symfony2 Framework php | Scoop.it
Richard Miller shows how to use the Symfony2 PHP framework to make a task list application to create, edit and delete tasks organised in lists.
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Liip Blog // RESTing with Symfony2

Liip Blog // RESTing with Symfony2 | Symfony2 Framework php | Scoop.it
This weekend I had the opportunity to attend and speak at Symfony Camp UA in Kiev. This event was organized already for the 5th time and draws many developers from the region. While I did spend the ...
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Symfony2 components overview: EventDispatcher | ServerGrove

This week, in the Symfony2 components overview series, it’s time to talk about another really important component: the EventDispatcher.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Symfony benchmark using HHVM

Yesterday Asm89 blogged about a custom version of symfony edited to run on Facebook’s HHVM. I’ve followed his great blog post (you can read it here) in how to setup HHVM to run the Symfony standard web application.

 

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

How to login a user programatically in Symfony2

Sometime, you may need to log in an user manually from code, instead of generic form based log in. To do it, you need to use Two Security component "UsernamePasswordToken" and "InteractiveLoginEven...
more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

Symfony2: Console Commands as Services – Why? | PHP & Symfony

As you may have read on the Symfony blog: as of Symfony 2.4 you can register console commands using the service tag console.command.

more...
No comment yet.
Scooped by Arno_Raulet
Scoop.it!

New in Symfony 2.4: Dumping the default Configuration for an Extension - Symfony

Did you know that Symfony comes with a command that outputs the default configuration for a bundle extension?

more...
No comment yet.