Category: Tips
Vuejs: how to access getter from other getter
Danyal January 31, 2021
In VueJS 2.0, you must pass both state and getters. Getters are passed to other getters as the 2nd…
Posted in Daily Tips, Tips, Vuejs Tagged javascript, tip of the day, tips, vuejs
Laravel: Usage of old() in form when editing
Danyal April 25, 2020
Best practice to show old value when editing a form in Laravel?
What is the difference between a model and a repository
Danyal July 5, 2019
Repository actually allows you to separate your business logic from database layer (Model). Repository/Entity are…
Posted in Databases, Eloquent, Laravel, PHP, Symfony, Tips, Uncategorized Tagged Eloquent, Entity, laravel, Laravel 5.6, Models, Repository, Symfony, Symfony 4
Create multiple directories with mkdir
Danyal August 22, 2018
Just a single line of code to create multple folders with mkdir command. mkdir -p…