There are 3 posts with tag javascript

Retrieve Analytics data in Laravel via AJAX call to the Google API

by PHP JavaScript

Posted on Friday, January 20 2017

When you want to get insights about your website traffic, you generally head over to your Google Analytics account and navigate through the various graphs and metrics. That's all fine, but what if you could bring the most relevant data directly to your backend portal? This certainly adds some convenience because you're likely to visit your backend portal on a more regular basis than your Analytics account. You will also be able to share chosen metrics to all editors of your website without having to disclose any of your secret keys. In this tutorial, I will demonstrate how you can do that in a very simple way with PHP and JavaScript. [...]

Read More

Display 2 layers of geodata with Highmaps

by JavaScript

Posted on Friday, June 10 2016

Highmaps is a JavaScript library for creating schematic maps on web sites and web applications. Its built-in responsiveness and easy integration make it an ideal choice for representing geodata dynamically. In this post, I will demonstrate how to create a 2-layer map of Europe population density with drilldown effect to reflect countries' specific data. Nothing particularly fancy here, as we will closely follow the demo on the highmaps' website. However, we will make sure that our map displays data retrieved from a database via an ajax call instead of dummy data and that country flags pop up when we hover over the map. As for every post in my blog, code is built on a fresh new Laravel installation (v 5.2). [...]

Read More

Blog Search


Hi there! My name is Jean-Marc Kleger and I'm a web developer. Welcome to my blog where a share some tips on how to deal with a selection of challenges encountered in my day-to-day coding workflow. Most articles are related to their own Github repo so that you can quickly experiment the code. Don't hesitate also to make use of the comment section at the end of each post to share your knowledge on the topic. Enjoy the visit!