Skip to main content

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

AngularJS promises for async requests

When you start to develop an Angular JS application in the real world you will soon have to handle REST calls. When you call a service, you have to wait for the response. There can be a delay and the page is not always ready to show it. The Angular promise library helps you to github.com/kriskowal/qdocs.angul......

Angular JS 1.x tools

If you choose the right libraries, you can be happy to have the right tools to work on your project. Even if Angular 2 is out, Angular 1.x is great for dynamic web development. I ensure you can develop amzing web apps for everyone. Here I will show you the tools I am using to work professionally with my company and our customers......

Frontend development interview questions

So you want to become a professional frontend developer :) Welcome to this world of technologies. A modern web developer must know about HTML, CSS, Javascript, Node JS and many other technologies. I remember years ago none of these technologies were so fundamentals. Today you have to manage frameworks and solutions for the......

Angular 2 pros and cons

To learn and work with the popular Angular 2 cannot be simple and we must take our time before starting to create amazing web applications in the real world. The only way is to practice and work with all concepts of this framework. But let's see the pros and cons about using this amazing technology:PROSYou can cho......

Angular 2 applications with Ng-CLI

You need some files to build a good and complete application with Angular JS while you needed onyl to include to only js file with Angular 1, So there is a big difference. With Angular 2, you have to setup a NodeJS enviroment and include many modules for a complete enviroment with tests,So to setup an application from scratch......

Yii 2 on shared hosting

Yii 2 has a good documentation and it helps you to do almost anything you need for your application. I have had some trouble on deployment. I have a couple of websites on a shared hosting and I wanted to follow the tutorials but there was something wrong at the end. Let's see the links:Read the docsOfficial website......

A new SQL malware is targeting Magento online shops

It seems that an SQL script is executed when a user makes a new order and even before a new page is rendered. The researcher Jeroen Boersma discovered the SQL malware and Willem de Groot was the first to analyze it.ResourcesWillem de Groot blog postDe Groot malware scannerA guide to clean an hacked Magento......

Content injection vulnerability affects the Wordpress REST API

A vulnerability that can affect 1.8 milions of websites has been discovered. You have to update your Wordpress at least at the 4.7.2. Automatic updates are highly recommended.A severe content injection (privilege escalation) vulnerability affecting the REST API has been discovered by Sucuri: "This vulnerability......

Pros and Cons about using Wordpress

I think all developers have used Wordpress at least one time. THis amazing CMS is good but far away to be perfect. Here I am trying to gather all pros and cons about using this blogging platform. Maybe this on is still the most used platform around the surface web.ProsMany plugins ready to use for all your needs: gall......

Admin Lte and Yii 2 integration

Admin Lte is one of the best and popular admin templates on the web. It's free and it lets you to develop great interfaces admin areas for your web applications. You can have many elements, plugins and even integrate it with some PHP MVC framework like Yii 2 or Laravel.Let's start to see what we need to let it work wit......

Updating PHP version from 5.3 to 5.6 on Linux CentOS

This task is not so easy, especially if you are updating PHP on a production server. I have taken a note about the steps I have followed. Let's open our shell with root permissions: First check your PHP versionphp -vDownload some repository and edit some configuration:wget https://dl.fedoraproject.org/pu......

PHP 7 migration

PHP 7 is faster than all the previous versions. All you need is the best peformances you can have but... what about migrating from PHP 5 to 7? Let's some helpful links and tools:Migrationhttp://php.net/manual/en/migration70.incompatible.phpPHP 7 check tool with composer: just install this tool globally with comp......

Yii 2 pros and cons

I am working on a project with Yii 2. I was not a big fan of this framework but I must admit it surprised me when I started learning it.There are many pro and cons about using this PHP framework. Let's try to write my own list:PROSBasic and Advanced template: you can choose even other templates but these are 2 gre......

Clean code: refactoring

It's time for an effective refactoring! Extract from long functions (extract until you drop), edit in line, extract methods or new classes. On TDD, after a test is passed, refactoring is the 3rd and probably the most important step of the small cycle red \ green \ blue. Let's explore the refactoring techniques with a sho......

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

Connecting to a PostgreSQL database with Python

I have used psycopg2 to connect the database and a little trick to switch the schema from development to production and viceversa. I have used an ini file to store informations about the database. You can store any other informations in the file and keeping them tidy using the ini sections. Let's start with my config.ini fil......

Clean code part 3: functions

That's what we do: we write function and methods. Following the discipline of clean code we must follow the rules and be sure we are proceeding in the right way.Small! Functions must be even smaller than that!Functions must be small! And the other rules is: the must be smaller than thatMaximum 5 rows, 3 rows i......

PHP features history

We have PHP 7 but I was wondering how we can have a sort of timeline with the most important feature for each version of PHP. On php.net there is the release page but it's not enough for our purposes. From the history of PHP to the PHP museum, we can navigate and download the various PHP versions. WIth PHP 4 the language sta......

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