Lazy load technique with just 'three lines' of code

Javascript, 2015-06-17 00:05:10 UTC
In my opinion, lazyload is another way of pagination. The concept of lazyload is loading the data as the request. The easiest way to implement lazy load is by requesting the data when the user scrolling the page down. For this concept, the data is ajax page which I wrote before. This is how to mak
Share:     

Ajax pagination in Ruby on Rails

Ruby on Rails, 2015-06-17 00:04:29 UTC
Before We begin creating an ajax pagination, We need to know the concept of ajax and pagination. In my opinion, the main concept of ajax technique is requesting data in the background and catch the response. In this concept, after the browser receiving the data from the server, the response will rep
Share:     

Ruby on Rails configuration on a production server

Ruby on Rails, 2015-06-17 00:03:58 UTC
This tutorial is based on my experience on the Ubuntu-Apache server. To configure it, first you must have Phusion Passenger on your machine and follow these steps; 1. Create a virtual host configuration file in "/etc/apache2/sites-available" folder $ sudo nano /etc/apache2/sites-available/app_nam
Share:     

Laravel 5 custom authentication

Laravel, Laravel 5, 2015-06-17 00:03:22 UTC
Laravel by default has its own authentication system. Just use it and you can start creating your application. But, sometimes this is not fit your need. Here I want to show you how to create custom authentication. For make this simple, I start from basic Laravel 5 authentication system, edit it and
Share:     

Configuring the Laravel 5 environment

Laravel, Laravel 5, 2015-06-17 00:02:37 UTC
This topic is quite interesting. Because you must not skip configuring you application when you develop with Laravel. Before I wrote this tutorial, I do research on this topic. I just found a little tutorial and the tutorials are not easy to understand. So I write this tutorial. Then you can set yo
Share:     

Trick: Inserting data into database without seeder

Laravel, Laravel 5, 2015-06-16 23:58:11 UTC
In some case I found around the web, "php artisan db:seed" command doesn't work. Many of them confused what happened. There are no complete explanation to correct the error. So, I came into my solution inserting data without seeder. Before you start, please make sure you have users table in your d
Share:     

Step-by-step: Laravel 5 authentication

Laravel, Laravel 5, 2015-06-16 23:57:33 UTC
By default, Laravel 5 has included authentication system in the application. It's located in "app/config/auth.php". But before you begin with Laravel 5 authentication, you must have a Laravel 5 application. If you don't have it one, you can follow very simple steps here. Lets start creating authent
Share:     

Step-by-step: How to install Laravel 5

Laravel, Laravel 5, 2015-06-16 23:56:19 UTC
1. Download Laravel installer using composer; $ composer global require "laravel/installer=~1.1" 2. Open ~/.bashrc $ nano ~/.bashrc 3. Add a line like below export PATH="$PATH:~/.composer/vendor/bin" 4. Create your first Laravel 5 application $ laravel new FirstApp Or, you can create an
Share:     

A simple PHP class for sending email with attachments

PHP, 2015-06-16 23:55:29 UTC
Mail delivery feature is very important in a web-based applications. Many of developers use the library on the application. Some of the famous library are Swiftmailer and PHPMailer. Using library is simple but I think more simple is create a function or a class. So, you know exactly what is going on.
Share:     

How to check the internet connection in mobile application

Android, Cordova, 2015-06-16 23:53:53 UTC
In mobile applications using the Cordova framework, it is fairly easy to determine the device connected to the internet or not. You don't need a plugin for this job. It can be done easily with jQuery ajax technique. The concept of this technique is quite simple; the device send some package of data
Share: