Serverside language we use to build magnificent webapplications. With Laravel, a new era for PHP has come. We love to explain our newest insights on Laravel.

Validation of requests in Laravel

Posted in PHP on November 6, 2015

In most websites or webapplications, users are allowed to fill in some forms of which the data should be stored in a database. For example, if a new order is placed in a webshop, or a new account is created, the data entered by the user should be stored. It’s essential to validate this user input before actually saving it. Laravel has a build-in validator class to make this an easy job.

Read more

Optimizing CRUD operations: inserting data into a database

Posted in PHP on September 25, 2015

In many applications, create-read-update-delete (CRUD) operations are common tasks that are regularly performed. To optimize your workflow and keep your code clean, it is a good idea to generalize these operations. When you build a webapplication from scratch, you likely have written some wrapper functions for this purpose, but when you are using Laravel, a lot of nice features are available out of the box. In this blog, we focus on the creation of new records and the modification of existing ones.

Read more

Namespacing in php

Posted in PHP on August 25, 2015

When an application grows bigger and code gets more involved, chances are that you are accidentally reusing the same function or class name. As a consequence, an error occurs. If you’re using external libraries, you even have a bigger change of creating an error. The solution is to use namespacing and this blog covers an introduction to this topic.

Read more

Tutorial: upgrading to Laravel 5

Posted in PHP on August 17, 2015

Laravel is a wonderful framework for the development of webapplications. It makes programming a lot easier and helps to keep your code clean. In the beginning of 2015, Laravel 5 was released. Although it’s not strictly necessary to upgrade if your application is written in an older version, upgrading is actually quite easy. So why not upgrade and make use of the latest features? This tutorial shows you step by step what to do to upgrade to Laravel 5.

Read more

Passing objects by reference and by value

Posted in PHP on August 5, 2015

When you supply arguments to a function, these arguments will either be passed by value or passed by reference. This seems to be a subtle difference, but it could become a bit frustrating if you don’t know exactly what happens. The key thing to note is that simple variables such as strings, integers and floats are passed by value by default, but objects are passed by reference. If you need to use the object passed by reference, use the clone keyword to make a deep copy!

Read more

Laravel: Framework for the development of webapplications (part 2)

Posted in PHP on December 17, 2014

The second part in the blog series about the php-framework Laravel. Besides a clear model-view-controller structure, Laravel offers great possibilities to quickly perform create, read, update and delete (CRUD) operations. Also for the validation of user input a nice class is available. Because these type of actions are often required in a webapplication, optimizing those actions definitely optimizes your whole workflow.

Read more

Laravel: Framework for the development of webapplications (part 1)

Posted in PHP on November 12, 2014

Laravel is a php framework, with a model-view-controller structure, that is very suitable for the development of webapplications. For custom-build applications, this is a great tool to start developing. Laravel keeps your code structured and has several great features that speed up your workflow.

Read more