Skip to main content

8 posts about SYMFONY

Symfony 3 demo and blog applications

I have recently installed the new Symfony 3.3 but something strange happened when I was searching for the old blog application.If you install the Symfony demo application with the symfony command line, you will have the demo app installed with nothing inside, only a simple controller and the rest of the files and configurati......

Curl problem with Symfony 3 or Laravel

I have recently tried to install Symfony 3 and I have had a problem with symfony command console when installing Symfony 3. I have installed it some month ago and when Symfony 3 came out but I have never had this problem! Actually I am using XAMPP on Windows. Here is the error on the command line:[GuzzleHttp\Ring\Exception......

What's new with Symfony 3

We waited so long but now Symfony 3 is here! It's really amazing and we have a lot of new features and documentation to read. There is no time to waste. Let's see all news.Demo ApplicationFinally we have an amazing blog application where we can see how an application is built with CRUD operations, Doctrine, multi......

Symfony2 best practice

Ok this year Symfony3 will be launched but in the best practice book there are some good recommendations and warning for the next future. I'll try to summarize the most interesting concepts and warnings. There are a lot hints about what you can or must do and some warning about common mistakes and what you must not do.......

Zend2 vs Symfony2. Pro and cons

Zend2 and Symfony2 are the most popular and probably the best PHP framework. YII is a good alternative and there are other good choices like Fuel PHP or Phalcon. But I love these 2 frameworks. Let's see a comparisonZend framework 2ProStrong coreGood communitySupport for various database systems and servi......

Symfony 2 and Doctrine

If y0u have a database, probably you need to generate entities automatically. We'll use the console on app\console. But there are other small tricks you have to know. Let's see some very useful commands:MySQL enumUsing basic Doctrine commands you can have an error about enum types. It's highly recommende......

Deploy a Symfony 2 app on a shared hosting

Move all the contents of the directory called web on the root of the Symfony2 projectRename app_dev.php in your index.phpEdit the .htaccess file replacing all app_dev.php with index.phpEdit your index.php simply updating the require_once paths to let it to include the files on the right paths:<?php......

Symfony2, working with Doctrine entities

Let's see some commands and snippet to interact with Doctrine2. If you use Netbeans IDE, you'll see how easy is to call the entityManager and other objects of this ORM. But remember to put all queries on your model and keep the controller functions as clean as you can.Enum annotationDoctrine is integrated with Sy......

I am tracking this website anonymously to improve the quality and monitor the network traffic.