Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Archive for January, 2015

Agile project management

Monday, January 26th, 2015 by Servage
iterationYou have probably heard about various project management methods. Maybe you are even using project management actively. However, many hobby projects and smaller projects in organizations and businesses are not using any real project management, and are just developed as needed with some more or less vague schedule and feature plan. No matter  what the intention in a project is, it can always benefit from proper project management. The details and implementation can be adapted to the given scenario, but some kind of planning will definitely help improve the process - both for amateur hobby developers and serious business investments in IT projects. Agile is modern The agile project management method has gained ...

Getting started with Laravel

Wednesday, January 21st, 2015 by Servage
le-laThe PHP framework Laravel has gained a lot of attraction in recent years and became one of the most popular frameworks available. It is fully compatible with your Servage web hosting account and is therefore one of the better options when choosing which platform you wish to build new projects on. Laravel is very easy to learn, and quick to build code with. Therefore even existing projects could benefit from being moved over to Laravel, if they are not yet using an efficient framework. Composer introduction The Laravel installation is easily done with the Composer utility. Composer is a tool to manage packages and dependencies for PHP projects. Go to the Composer website and ...

Local development with Vagrant virtual machines

Saturday, January 17th, 2015 by Servage
vagrantCreating and maintaining code locally is usually a great benefit for developers. You can have a development environment that suits your needs and be independent from Internet connections and other variables which could slow down your workflows. There are many useful tools to make local development more efficient, but no matter how you twist it, you will need a local web- and database server. Commonly this is solved by using XAMP or MAMP, if you are not managing own custom installations of relevant software. Different environments No matter how well you setup your local environment you will always face the challenge of trying to resemble the live environment settings in the local environment. This ...

Using model-based validation in PHP

Monday, January 12th, 2015 by Servage
validationWhenever you want to validate something you set up rules to be followed. This is done more or less advanced by developers, but shares the conceptual purpose of taking some untrusted data and checking it against some validation rules, for example checking the length of a string or the value of a number. Request-based validation Simple PHP scripts that handle a HTTP request could be used to validate any input data. This is the old-school primitive way of implementing validation. What you do is simply using some PHP functions to build your own validation checking in a specific place of your code. Like the example below, where a POST parameter is checked to ...

Working properly with cookies

Thursday, January 8th, 2015 by Servage
cookiesYou probably know the many warnings popping up on most websites nowadays, telling you that the site uses cookies. Maybe they even offer you a cookie-free version if you don't accept. This dialog has been introduced on a wide scale after recent legislation made site owners show this transparency of cookie usage to their visitors. However, the practical benefit or protection for users is still argued about. Most users are more likely to be annoyed, and except for adding the warning, site owners are not really changing their practices. Cookies are an important technical part of operating a website. Purpose of cookies Cookies are used to let the server store information in the client's browser for ...