Servage Magazine

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

Is your website standard compliant?

Monday, January 15th, 2018 by Servage
vcss-bluevalid-xhtml11-bluevalid-html401-blueEveryone who ever tried creating a website probably knows that annoying experience of HTML pages not being displayed the same way in every browser. Especially Internet Explorer, but also older versions of other browsers, are having a hard time showing your site the way you intended it to look. The reason for this is browsers interpreting HTML code and CSS styles differently. In many cases this has lead developers to create workarounds, including the use of invalid HTML or CSS, to trick the browsers into displaying the content in a similar way. These issues ...

Emails for your business: free vs. domain email address

Tuesday, January 9th, 2018 by Helge
You are using a free e-mail service for your business  right now? If yes, please read the following.e-mailservice One  benefit of using a custom domain name for your website is the fact that you can easily get a professional e-mail address using your domain name. In this article, we will show you why using your own domain name for your email address is better than using a free email service provider. Your user expect your business to have a domain name and a website. An email address like marketing@testdomain.net tells people you’re serious about your business. Free email services, are easy to use for private purposes, but when you use a ...

Chip security flaws

Monday, January 8th, 2018 by Helge
Specter and Meltdown!  These are the names of the two potentially serious security holes in processors that were revealed during the past week. We will start by stating that, with certainty, we can't say exactly how serious the bugs are (or rather how easy they are to exploit). In any case, this is what we know so far: meltdown-spectre-100745814-large The security holes have been traced back to 2011. Initially, only Intel's processors were pointed out (something that, of course, was so bad considering the manufacturer's market dominance) but later at his has been revised and the problem, at least with Spectre, seems to apply to all major processor manufacturers. Simply described, it's all ...

Security feature GeoIP Security

Thursday, January 4th, 2018 by Helge
servage_lockUnfortunately it is a fact that security threats are a reality on the Internet! To address these and to make your hosting package even more secure we have  GeoIP Security added to each Servage account. This feature enables you to prohibit possible intruders to gain access to your account based on their geographic location or IP address. You can enable GeoIP Security in the control panel, where you also have the ability to specify specific countries and IPs to allow access. How does this work? Whenever someone tries to login the user is verified against our database to identify if that particular user is allowed to login from that particular geographic location ...

Dear Servage customers – Happy 2018

Sunday, December 31st, 2017 by Helge
Servage_new_year2 With 2017 coming to a close, Servage wanted to reach out and send our best wishes to you and yours! I hope that 2018 holds success and good fortune in any endeavour you pursue. It has been a pleasure working for you and we are looking forward to a successful and healthy 2018! This post is nothing but a nice greeting, and encouragement to provide ideas and suggestions for future topics. My own interests are web development and innovative services/hardware, but I am happy to hear your tips on cool stuff.

Using Responsive Images in HTML5

Wednesday, December 27th, 2017 by Servage
responsive-designThe <picture> element has been part of HTML5 for a relatively long time. Surprisingly, the element is still quite rarely used, although it clearly has some benefits to it. Most importantly, you can choose which version of an image to load based on the screen size of a visitor’s device. Responsive Images: The Old Way Images are usually placed inside containers such as divs. If there is no CSS applied to the image, the image takes as much space as its dimensions are. In most cases, this causes the image to “overflow” the container div. The typical way of fixing this is to add “max-width: 100%” to the image. This resizes the image ...

PHP Handler Engines Explained

Thursday, December 21st, 2017 by Servage
phpAlmost all PHP developers must have heard of either mod_php, PHP-FPM or FastCGI before. However, you might not be aware of what they actually are and do behind the scenes of a web server or how they are different from each other. These handlers are a base requirement for the PHP language to run on web servers so it’s good to know how they operate. PHP Handlers Explained Briefly Regardless of what PHP handler a web server uses, the process of executing PHP code is mostly the same. A web server receives a request to serve a PHP page. It then sends the request to a PHP handler which processes the request, and ...

Introduction to NoSQL

Saturday, December 16th, 2017 by Servage
databaseWhen working on websites and applications, there are many databases to choose from. The most common choice for websites is MySQL or MariaDB, which are essentially the same database systems. Another alternative that has gained popularity recently is NoSQL databases. Today it’s time to look at how NoSQL databases work, how they differ from MySQL and if there are any benefits in using a NoSQL database instead. What is NoSQL? You have likely used either MariaDB or MySQL in the past. Both of these are relational databases and differ from NoSQL databases quite a lot. The first misconception about NoSQL is that it wouldn’t use SQL like the name might suggest. In fact, ...

FTP Integration for Web Applications

Monday, December 11th, 2017 by Servage
FTPOn some websites, you need the ability to modify files stored on a web server. You might want to upload new files, rename them and download some to your computer. In general, there are two choices for implementing this: FTP or a file manager GUI embedded to a web page. This time we will focus on a hybrid solution between these two, which allows you to integrate an FTP client as part of a website. Method 1: net2ftp Let’s start with a rather old but de-facto web-based FTP client. net2ftp is indeed quite old and has not been updated since 2013. However, it has been the only viable solution for integrating FTP with ...

Documenting PHP APIs

Friday, December 8th, 2017 by Servage
APIA good documentation is a requirement for a good API. If you make a good public API but the documentation is lacking, your API will not see as big of an adoption as it would with a well-written developer-friendly API. Let’s have a look at how to write documentation for a PHP-based API and also what a documentation should have, no matter what language it is written in. Writing a Good API Documentation Before looking at how to write API documentation, let’s consider the things a documentation should have. We will be focusing on a REST API, although the points mentioned usually apply to other types of APIs as well. First of all, every ...

Recent articles

Looking at Bootstrap 4

The development of the latest version of Bootstrap entered a beta stage this summer. Going from alpha to beta introduced some major changes, and now that Bootstrap 4 is in beta, there should no longer be many breaking changes. This gives us a good chance to look into the future and see what new is included in the latest version of most popular front-end CSS framework. The New Grid While the grid in ...

API authentication using JSON web tokens

There are many ways to authenticate users in APIs: username and password combinations, OAuth 2 and API keys to name a few. Today we will be having a look at a rather new implementation called JSON Web Token, JWT for short. There are some noteworthy advantages in JWTs that we will be covering as well. What is a JWT? A JWT is a way to send and receive data between two parties in ...

What to know to become a senior developer

A senior developer is a higher position granted to experienced developers. Developers start as juniors when they join their first company and are eventually promoted to senior developers. What makes a developer a senior, what skills are required to become one and what are some common characteristics that differentiate a senior from juniors? Skills to Master Let’s start with something concrete that you as a developer can learn. Before qualifying as a senior ...

Building multilingual web applications

Multilingualism is something you should plan before starting to work on a project. If you start with a single language, it may be difficult to add multiple languages at later stages of development if everything is hardcoded in the source code. If you have the slightest feeling that your application will support multiple languages at some point, it’s best to make it multilingual from the beginning. Here’s how you can do ...

Getting started with Docker

Docker has been around for a few years now, and if you haven’t got your hands on it yet, now is your chance! Containers and virtualization have been used for a long time but Docker does it in a unique way, allowing developers to set up identical and lightweight environments for development, staging and even for production. Let’s dive into the idea behind Docker and how it can be used in ...