Create a room booking system with Laravel and FullCalendar – Part 2

For the second part on how to create a room booking system with Laravel and FullCalendar tutorial, we will be focusing on the front-end. You may refer to the part 1 on how to install and configure Laravel for this project.

I’m suggesting that you download the code first so that you can refer the details in the php files, line by line. Then we need to integrate Bootstrap, FullCalendar and Date Range Picker library into our project. You may view the demo here.

Step 1: Create a folder to store all CSS and JS.

I created an “_asset” folder and put the Bootstrap, FullCalendar and Date Range Picker. I also created a style.css for custom CSS styling for the website. You may also use the CDN version of the libraries instead of hosting the scripts in your server. Continue reading Create a room booking system with Laravel and FullCalendar – Part 2

Create a room booking system with Laravel and FullCalendar

Today I decided to publish a tutorial on how to create a simple room booking system using Laravel 5 and FullCalendar. As you may know, Laravel is one of the hottest PHP framework nowadays and FullCalendar is a JavaScript event calendar that is looks like Outlook (IMO).

It has been a while since my last tutorial. I hope you enjoy this tutorial as much as I wrote it. #lol This tutorial is suitable for the beginner as I tried to explain as much as possible in each step. You may look at the demo first or download the script at the end of the tutorial for free.

I’m assuming that you already have setup a local server on your PC either using WAMP, MAMP, LAMP or others which ever suits you. On my PC, I have installed WAMP 2.5 on Win7 64-bit.

The steps to create a simple room booking system with Laravel 5 and FullCalendar as follows: Continue reading Create a room booking system with Laravel and FullCalendar

Browser’s Back Button Issue After Logout in Laravel 5

If you noticed, we still can access to previous page although we have properly logged out in Laravel 5. How to prevent browser’s back button login after we logged out in Laravel 5?

Is this really a security issue?

When the user clicks the back button they’re not actually logged it, its just the browser rendering what it has cached from previous page views. The user won’t be able to navigate or interact with anything that requires them to be logged in because to your application on the server they’re not authenticated. When the user clicks the back button you have no control over that as it doesn’t make a request to the server.

Using the back button the only content they’ll be able to view is that what they have already visited whilst logged in. If they try to access anything new they’ll make a new request to your application, your middleware will trigger and redirect them to the login page.

– Quoted from Stackoverflow.

So it is not really an issue. But there are few ways to fix this. Continue reading Browser’s Back Button Issue After Logout in Laravel 5

Pengalaman pertama menjadi Tutor Laravel 5 online

Aku sekarang freelancing melalui Fiverr. Antara servis yang aku tawarkan adalah web development crash course menggunakan Laravel 5/CodeIgniter 3. Jadi sekarang aku mengajar secara online tentang Laravel 5.

Kursus Laravel 5 yang aku tawarkan ini adalah sesuai untuk level beginner – intermediate. Setakat ni aku pernah mengajar client dari negara-negara sekitar UK.

Mengajar secara online ni ada cabarannya yang tersendiri. Antaranya: Continue reading Pengalaman pertama menjadi Tutor Laravel 5 online

How to be a Level 1 Seller on Fiverr

I was promoted to Level 1 Seller on Fiverr on last 27 July, after working seriously for the past two months. It looks hard to achieve but not impossible. Read my experience when making my first $5 Laravel job on Fiverr.

If you are not familiar with Fiverr, it is an online marketplace offering tasks and services, beginning at a cost of $5 per job performed. There are lots of other similar site like Fiverr such as Upwork, People Per Hour, Gigbucks and others which you can try.

I’m maybe not an expert, but this is how I became a Level 1 Seller. You may find other inspirational stories on the net. Continue reading How to be a Level 1 Seller on Fiverr