Servage Magazine

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

Archive for September, 2015

Bootstrap 4 is on the way

Tuesday, September 29th, 2015 by Servage
bootstrap-themesYou probably know the Bootstrap framework which helps building great front end design with its styling and script elements. Currently version 3 is the recommended stable version, but soon the next release - version 4 - will be available. This update is welcomed and there is no need to worry because existing Bootstrap-powered code will continue to work with the current library, and furthermore the Bootstrap developers have already announced a more graceful update process than moving from version 2 to 3 was. This time the old version will still be supported for a while (including critical updates and bug fixes) so developers can rely on existing code. Bootstrap 4 comes with a ...

Building modern Ember-powered web apps

Thursday, September 24th, 2015 by Servage
emberWorking with web development is often referred to by the names of the coding languages used in the process, e.g. PHP, Javascript, HTML and CSS. Behind those languages there is a plethora of possibilities and also a wide range of tools available to make development easier. We have been following the backend side for a while with a series of articles about Laravel, and continue this with the client side by introducing a series about how to work with the Ember Javascript framework. Ember helps you build a quick and nice front end using the current technology, which can work seamlessly with your Laravel backend. Getting started You can install Ember using an ...

Using files and storage engines with Laravel

Sunday, September 20th, 2015 by Servage
storage-enginesWhen working with PHP projects you sooner or later need to interact with files. This can be done in a variety of ways, and PHP offers a few good built-in features like the "file_get_contents" and "file_put_content" functions. However, you may need more advanced features - and may need to interact with other file systems than your local harddrive. For that purpose the Laravel framework comes with built in storage handling which is compatible with a variety of systems. It is built upon the popular library Flysystem and therefore integrates with lots of services via the same common interface. Storage configuration resides in the "config/filesystems.php" file. You can add multiple engines such as ...

Use multiple versions of jQuery simultaneously

Monday, September 14th, 2015 by Servage
jquerySometimes you need to include multiple versions of jQuery into the same web page. While this is definitely not a good or preferred scenario, it can work under the right circumstances. The use cases where running multiple versions of jQuery may be required are situations where different libraries need different jQuery versions to work properly. Generally speaking you should avoid that by using libraries that can rely on the same version of jQuery, which preferably should be the newest stable version at any given time. However, that may not always be possible, for example if you are working with external resources or web scrapers that inject Javascript into foreign sites in ...

The elements of minimalistic web design

Wednesday, September 9th, 2015 by Servage
flat-designVarious trends over the past decades since the breakthrough of the web have steered the design towards the flat style we often see today. Flat design goes hand in hand with the so called Web 2.0, meaning the transition from static HTML content to interactive Javascript-based web apps, heavily utilizing the AJAX technology for background data exchange to simulate app-like usability. Minimalism is a style that has been around in art and other design for decades. It is not exclusive to the web. However, it has heavily inspired design trends and flat design is essentially a variation of minimalism as flat design skips the use of extravagance and advanced graphics and effects. Instead ...

Event based development in Laravel

Friday, September 4th, 2015 by Servage
event-processWorking with events is a great way of handling actions in response to other actions. For example if a user makes a purchase, you want to store that purchase in your database, send a confirmation email and notify sales personel to handle the order. The order would be stored in the database right away, and the email is usually something your send right away or add to an email queue. Using a queue is better than sending immediately, because the website does not have to wait for the mail to send, but that is the topic for another article. Adding the notification to sales would also be something stored in the ...