Welcome! Jean-Marc's personal blog

Bateau Belle Époque "Simplon", depuis le débarcadère de Saint-Sulpice.

AJAX CRUD for Laravel 5.4

by PHP JavaScript

Posted on Friday, 27 January 2017



You certainly have already used the following Laravel artisan command: php artisan make:controller --resource. It provides common methods to create, read, update or delete (CRUD) resources. Usually, those methods are called synchronously and a new view is generated containing the response object. In this tutorial however, we are going to deviate from this default behavior to ensure resource operations happen asynchronously (the page won't reload). [...]

Read More

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

by PHP JavaScript

Posted on Friday, 20 January 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

Monitor infrastructure statistics with AWS SDK

by AWS PHP

Posted on Thursday, 01 September 2016



There are various ways to manage your cloud infrastructure with Amazon Web Services (AWS). One of these is with the AWS SDK. In this post, I will demonstrate how you can use this service to retrieve relevant statistics about your AWS infrastructure components, for example your instance CPU utilization. Data will be displayed as Google charts and inserted into your admin portal, so that you can quickly gain insights about how well your various services are doing and eventually take further measures to improve them. [...]

Read More

Deploy with AWS CodeDeploy and BitBucket

by AWS Laravel

Posted on Friday, 15 July 2016



CodeDeploy is an Amazon Web Services (AWS) service to help coordinate your application deployment to EC2 instances. You don't need to go through FTP applications anymore to push code into your app. You do it directly from your version control system (VCS). Integrating CodeDeploy with Github is pretty well-documented online, with videos and step by step instructions. But what if you prefer working with BitBucket? If you're anything like me, you truly appreciate disposing of unlimited private repos for free - a service that only BitBucket offers. Luckily, there are also great online resources to help using this service with BitBucket. However, one key point that is not made clear enouph from the aforementionned documentation - or at least it isn't to me - is that you need to launch your instance with proper policies attached to your IAM role. So, in this post, we are going to review the entire process of deploying an application to a virtual web server with BitBucket. And hopefully, this will work like a breeze! [...]

Read More

Install Laravel on EC2 instance with Nginx server

by AWS Laravel

Posted on Wednesday, 29 June 2016



There are pretty clear instructions on how to install Laravel with your local system on the framework's official website. But how about running it live? In this post, we'll use Amazon Web Services (AWS) to launch a single ec2 instance inside a Virtual Private Cloud (VPC) with Laravel and Nginx installed. [...]

Read More

Blog Search

About

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!