Creating simple and re-useable components with Vue.js has always given me a fun thing to do. It always force me to code the component in such a way that I am forced to think how the code can be decoupled from the current requirement in hand and make it a very generic one.
While creating a lot of videos for my Youtube channel, I decided to create an application which I can continue to work on; add more and more features to it and in the end create videos of them to show how to go about developing those features. Everything was working well when suddenly one day I felt a reason to change the way it was structured. In this article, I am going to discuss about the Inferno package and why I decided to go with a composer package based approach instead of an application.
In any application, a user’s profile with a functionality to crop and upload an image would be one of the most common functionality. I have done this as well man time and hence I decided why not create a re-useable component which can be easily taken from one project to another.
Continue reading “Using croppie in Vuejs for image crop and upload”
Working with IDEs can for sure speed up our development, but using Text Editors for sure has some advantages which helps us in long term. They not only help us understand the code much better, but also helps us develop some good habits of coding.
Social login in any application today is one of the most common feature. To have a login for every application on the web is really not something today’s user look at. And so in this tutorial I will guide right from the basics of creating an app on Facebook setting up the Laravel instance to actual implementation. Continue reading “Facebook login in Laravel using Socialite”
In this tutorial, I am going to show you how to use View Composers in Laravel to create views which are independent. We map the view with a class which provides the required data for the view to render and so, we don’t need to pass any additional data through the controller while rendering the view. So, without wasting much time let’s dig into the code.
Repository pattern in Laravel has become a very popular way of coding. When we know that our application is going to grow or specially when we are making an application which is database agnostic, repository patter helps us in development. Continue reading “Repository pattern in Laravel 5”
Have a clean controller and shift your entire validation and autherization logic in a separate class using Laravel’s Form request class. Continue reading “Form request, Validations and clean controller in Laravel”