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.
Task runners like Grunt are very common requirement for an application development. I have written a tutorial on Grunt JS which I use to concat and minify CSS, JS and keep that script on a watch so that when I change any JS or CSS file, the final file is concatenated and minified. Now with Laravel 5, Elixir is what comes out of the box and provides a solution to these requirements.
In this tutorial, I will show how we can setup the Material design bootstrap theme to show the posts. Continue reading “SPA with L5 and Angular: Using Elixir to manage assets and use Material design bootstrap theme”
In this part we will set up the basic REST API points so that our Angular application can talk to these endpoints and fetch the data required. Also in this tutorial I will show you how we can use the Laravel query scope and how it can be very useful when we are building a query with the same set of conditions. Continue reading “SPA with L5 and Angular: Setting up the REST controller”
During development, dummy data is very important. I have seen that dummy data really helps speeding up the development seed. Those coming from Drupal would know how good the Devel generate module use to work. So, in Laravel we can use the Faker library to create dummy data. Continue reading “SPA with L5 and Angular: Working with Faker to create dummy data”
Laravel has always been a treat to work with and the new version not only brings a lot of added features but also gives a much structured folder structure which will help organize the code even much better. One of the great features of Laravel 4 for me is events which I have shown in my tutorial Laravel 4 how to use Events. But in Laravel 5 the code is structured even better. In this tutorial, I will show you how we can use Events in Laravel 5 and how we can customize the default mode’s save function to fire an event on every save. Continue reading “Events in Laravel 5 and customize Model save”
Any web application which deals with a lot of images or a lot of file downloads will for sure want to offload their space requirements for images and files from the mail server to buckets like what Amazon provides us. Some may even choose Amazon cloudfront (CDN) for storing images if their traffic is from different geo locations. So, in this tutorial I will show how we can use the Amazon SDK and the Laravel wrapper to store images on Amazon S3 inside a bucket. Continue reading “Uploading images on AWS S3 from a Laravel application”
A mobile application communicating with a web service is very common now a days. And Drupal being one of the most popular CMS, it’s a common requirement for developers to communicate with Drupal CMS specially authenticated content.
In this tutorial, I will be demonstrating how to setup a basic Drupal service and access nodes which are only accessible to authenticated user. Continue reading “Setting up services in Drupal and then view authenticated content using Drupal’s authentication”