Skip to main content

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......

Zend Framework 2 tips and tricks

Zend Framework 2 is becoming the most popular PHP framework. I'm using it every day since a couple months and I still have many difficulties to build my own and simple web application. The learning curve is very steep and you have to handle a large amount of code. But it has a large community, strong MVC implementation, larg......

Bootstrap 3 template tools

Why have I decided t0 use Bootstrap 3 instead of 2 for my new project? I'm searching new and simple templates made with Bootstrap 3. There aren't many options online but you can build your own template using different tools. BS3 is newer and I really love the new features such as font awesome and new glyph......

Zend2 and Doctrine2 tricks

I am trying to work hard with Zend framework and taking advantage using a powerful ORM like Doctrine2. I have many difficulties but after many research and coding, I've gathered some useful tricks and links.Generate entities from databaseYour application must be connected to the database and you must set the doctrine......

Zend Framework 2 and PHPUnit

Modules are the most exciting news on ZF2. All files seem to be organized and the core structure on your application is more clear.Unit Test on the Skeleton ApplicationFirst of all download and install the skeleton application using composer or download the zip file. There are some different way to download Zend2 + Skele......

PHP coding standards

PHP is flexible, too much flexible! It hasn't specific variables types. And you have to pay attention about handling a workflow, especially if you are working with sessions, cookies, forms and many other features. A coding standard in PHP is necessary anyway. Here we have specific ways about how to organize your code. L......

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......

What's new on Zend framework 2

As you know Zend 2 is very different from the first version. Let's start with this amazing answer on stackoverflow. Architecture ZF1 is based on MVC , ZF2 is based on MOVE. Huge difference. MOVE = Model Operations Views Events , MVC = Models Views Controllers.Models: it contains the application status and its inf......

Browser automation and test tools

Here we are with a list of the most popular test and browser automation tools. The testing discipline is very complex and the tester is responsible even for the tools he's choosing to do his job. I hope the following links will be helpful for all beginner testers.Browser automationSelenium tools: RC, Server, Grid,......

PHP 7.0 new features

Rasmus Lerdorf has revealed all the new features during a preview before the launch of PHP 7: check out this slide. I'm having a lot of problems to switch from a PHP 5.6 installation on Ubuntu or Kali Linux. Even PHPBrew is not helping me so I accept any hints and solutions. But let's see how we can install PHP 7. F......

Facing Agile Retrospectives

The scrum teams use the retrospective to watch their steps, think about what they have done and search more improvements. Good things, bad things and mistakes. All must be clear and easy to understand. Do you think it's easy? Maybe if you work effectively with your team or better, if you are working in a team for a long time......

Zf2 initializers, listeners and factory references

Almost always in a web application, you need to set some features before starting to do something in your controller. I'm having a lot of difficulties about keeping the code clean and simple in Zend. Let's see how initializers, listeners and factory pattern implementation can help us. I've gathered some very good res......

Zend framework 2 performance

Even on localhost, if you look at the zend developer toolbar, you will see that the loading page time will be decreased after doing these actions. They are simple but there aren't so much explanations and documentations on the web.Generate template mapYour application will load the map for each module. Go to your mod......

Pomodoro timers

Here we are with the pomodoro technique. This time management technique is very important tocontinuously improve our time management skill. Simply take your time and before starting the timer, calculate a short planning and some seconds or minutes to get conclusions and see what you've done during the session. More info......

An overview on NoSql, Big Data and Graph database

NoSQL database on the web and the relation among them, big data and graph database. I want to understand how this technology work. BigData, NoSql and Graph databases are related.NoSQL databaseWe have a very big and interesting topic. Handling big data with databases, infrastructure or data warehouse. Big Table.......

Amazon Web Services overview

Amazon has changed the way to provide web services and we're living this change! I want to study and improve my skills on AWS API in PHP and then in Java. More services give PHP Api SDK and REST-ful options. Other services give Java as programming language to interact with the Amazon platform. First of all we need to be regi......

Put your system under test

The code we cannot test it's bad! How we can turn legacy code into clean code? Legacy code can be very hard to update and maintain and It can cause many problems, even between people. I've had a very bad experience working on code without any point of reference and documentation. The more large are the amount of legacy c......

Running multiple PHP versions with Ampps

I have my local PHP and MySQL installation but I wanted to switch the PHP from the 5.6 version to 7. This was not an easy task and even PHPBrew was not helping me to tell Apache and the CLI what PHP version it has to run. So I have tried Ampps, a software for running the LAMP stack on Windows, Linux and Mac. It works great......

Hadoop overview

I've spend time with the Hortonworks sandbox and reading about Hadoop project. It's funny and you can learn a lot fast but I think there's a lot of confusion when you try to face Hadoop for the first time. Too many projects, concepts and topics. And the bad news is you cannot use easily it in a real world unless......

Agile testing tools

I'm new about practicing agile testing and implementing solutions as tester. I'm learning about this specific (soft?) skill and I will be able to report all the news. I will show all my improvements and I will update this and other post/s. But first of all who is the tester?The tester is not a debuggerThe agile t......

This website and/or any sub domains use cookies to understand how you to improve your experience.