Laravel: Managing Routes

Laravel: Managing Routes

Assalamualaikum, Recently I’ve meet some of my friends, and clients working with Laravel projects. It’s seems that, Route, managing routes is quiet painful when your application become bigger and you have to handle a lots of routes. So, what’s come out of my mind was, how to manage Laravel’s routes more efficient? I’ve come up with few possible options: Define more map methods in RouteServiceProvider, and call them – but this will make the RouteServiceProvider full with map methods, which…

Read More Read More

7 Essential Sublime Text Plugins

7 Essential Sublime Text Plugins

Asssalamualaikum, I’ve been using Sublime Text, quiet sometimes for web applications development. Below are the list of packages installed on my Sublime Text: SideBarEnhancements – Add more context menu on right click to file or folders phpfmt – Use for Auto Format to PSR-2 Material Theme – Better UI Emmet – HTML Helpers Git – Git Commands GitGutter – Display changes icon beside line numbers Markdown Extended And following are my Sublime Text settings:

Continuous Integration (CI)

Continuous Integration (CI)

Assalamualaikum, Yesterday (Dec 3rd, 2016), I’ve a day trip to Kempas, Johor to attend to a monthly event by JomWeb Johor, listening to a talk on Continuous Integration by Kamal Mustafa. Here the summary from the talk and definitely I need a look into test the application cycle before release it – which usually I don’t.  ^_^ Development without Continuous Integration: Hard to track down the bugs Infrequent Commits Difficult Integration Infrequent Release Testing Happens Late CI Tools / Software…

Read More Read More

How to Use Lumen in Laravel

How to Use Lumen in Laravel

You love the speed of Lumen but you want to have the features of Laravel? No problem, just include Lumen inside Laravel! Below are the steps to include Lumen inside of the Laravel Please ensure to create an empty Laravel and Lumen project because you need to copy some files from Lumen to Laravel Here the working sample of the Lumen in Laravel – Lumen in Laravel

Software Development with Git

Software Development with Git

Number of practices that i’ve been doing from time to time. All theses are the basic user cases based on doing personal project. I will add more about working in team with Git. It’s a bit confusing at the beginning. You just need practices to master the flow of software development with Git.

Laravel: How to Create Custom Artisan Command

Laravel: How to Create Custom Artisan Command

There’s only 3 steps required to setting up new Artisan command. 1. Step 1 – Create a new console file 2. Step 2 – Open up `app/Console/Commands/CommandName.php` and update the signature and the description property. 3. Step 3 – Register your new Artisan command in `app/Console/Kernel.php` Now you’re ready with your new artisan command. Check your command with `php artisan`. It should have something like this one. Here the a sample code. Reference Artisan

Git: How to Sync Fork Repo With Master Repo

Git: How to Sync Fork Repo With Master Repo

In this post, I will give you a step-by-step on How to synchronize your forked repository with the master repository. First thing first, go to your forked repository and make sure to you in master branch git checkout master Setting Up the Master Remote Repository git remote add upstream [URL] Fetch Remote Repository Master git fetch upstream Now, you have downloaded the master repository, but not yet merge with your fork repository. To merge your fork repository with master repository,…

Read More Read More