java

Introduction to $resource with $http service in angularjs

RESTful endpoints often expose CRUD operations that are accessible by calling different HTTP methods on a set of similar URLs.…

5 years ago

Introduction to promise API with $q in angularjs for beginners

JavaScript programmers are accustomed to the asynchronous programming model. Both a browser and the node.js execution environments are full of…

5 years ago

How to Deal with same-origin policy restriction in angularjs

Web browsers enforce the same-origin security policy. This policy authorizes XHR interactions only with resources originating from the same source…

5 years ago

Intoduction to $http APIs in angularjs for beginners

Doing XHR and JSONP calls using the $http service is straightforward. Let's consider an example of fetching JSON content with…

5 years ago

How to test controllers in angularjs

A test for a controller follows similar a pattern to the one for a service. Let's have a look at…

5 years ago

Generate vuejs files directly via command in laravel 5.1

So , i guess you are familiar with vuejs  , or if  not then in simple words vuejs is ...…

5 years ago

Logging in symfony 2

To make our application more elegant while working in cron, we should implement logging to a file. Symfony2 supports some…

6 years ago

How to register event listeners in laravel 5.1

It's quite open-ended as to where to register listeners for model events. One place is in the boot method within…

5 years ago

Request routing in laravel 5.1

Laravel 5 has adopted the command bus pattern. Laravel 4 viewed commands as something to be executed from the command…

5 years ago

How to schedule commands in laravel 5.1

    let's create a console command, which will be executed very often: $ php artisan make:consoleManageWaitinglist This will create…

5 years ago

Using Swiftmailer in symfony

  Symfony2 provides a default mailer component called swiftmailer. Its default configuration looks like this: # app/config/config.yml # ... #…

6 years ago

Queued event handlers in laravel 5.1

  If we would like to not have the event handled immediately, but rather, put into the queue, we can…

5 years ago

Generate laravel api via command line in laravel 5.1

  In this article you wil learn how to Generate laravel api via command line in laravel 5.1 . for…

5 years ago

Quick conversion to array or JSON in laravel 5.1

  If you take a look at the code into the model you will see two methods: toArray and toJson.…

5 years ago

Retrieve data from Google Analytics in laravel 5.1

In this article i will talk about Retrieving data from Google Analytics in laravel 5.1 ! google anylytics in best…

5 years ago

Generate bar codes directly in your laravel app

In this article i will show you how to generate bar codes  directly in to your laravel app for thsi…

5 years ago