Skip to main content

Blog

SEO TODO checklist for client and server

There are a LOT of operations to do to be in a good situation for search engines, especially if your website generate dynamic web pages. Every page can be linked and promoted so you must be ready to serve the web a page in the best way you can do. I ensure it's not easy so here I try to create a list of recommendations and o... [...]

Laravel admin panels and CRUD generators

Let's if an admin boilerplate or external dependency can help us to build our application faster and more efficiently than integrate an admin template manually and build all interfaces we need. I still think Laravel hasn't a good and own code generator like the amazing Gii on Yii2. This is a problem for me and that's... [...]

Do something before every action in a controller on Yii 2

To do something before a controller is loaded is a common problem to all MVC frameworks. On Yii 2 you can use the beforeAction method for a single controller but if you need to do a something before every controller, you have to use the config/main.php file. I use this technique to register meta tags for every page but... [...]

Common errors installing Laravel

You exect to create your project and start coding with Laravel but if you obtain one of these errors you have to solve the problem before starting. I have found a couple of errors on Windows or Linux but nothing  Blank page If you have a blank page when you visit the home page of your new Laravel application, you... [...]

Installing Laravel Voyager admin panel

I have recently had a couple of small problems installing the Laravel Voyager admin panel. It works specifically with Laravel 5.3 and this can be a disadvantage. If you use Voyager, probably you will not upgrade your Larvel installation or you will have a lot of troubles if you do it! But don't worry: Laravel... [...]

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\Exceptio... [...]

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/q docs.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

A modern web developer must know about HTML, CSS, Javascript, Node JS and the whole ecosystem around these technologies. Let's how we can be prepared. HTML Accessibility Semantic HTML Structured data Javascript Learning the core Javascript is very important. Javascript is living maybe the greatest moment... [...]

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: PROS You 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 docs Official 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. Resources Willem de Groot blog post De Groot malware scanner A 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. Pros Many plugins ready to use for all your needs: gall... [...]

SwiftMailer, PhpMailer and ZendMail RCE vulnerability

A vulnerability about these popular libraries has been discovered. This video demonstrates how to execute arbitrary code in a vulnerable PHP application that is using Swiftmailer, PHPMailer or ZendMail. The attacker uses a python exploit script to catch informations about the victim and perform the execution of arbitra... [...]

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 note of the steps I have followed. Let's open our shell with root permissions: First check your PHP version php -v Download some repository and edit some configuration: wget https://dl.fedoraproject.org/pub/epe... [...]

PHP 7 migration

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