All blog articles by Darshan Chauhan

Side Loading

Ember Data supports “sideloading” of data; i.e., indicating that data should be retrieved (along with the primary data requested) so as to help multiple related HTTP requests.

A common use case is sideloading associated models. For example, each Shop has many groceries, so we can include all related groceries in /shops response:

GET /shops
{
 "shops": [
 {
 "id": "14",
 "groceries": ["98", "99", "112"]
 }
 ]
}

When...

Read complete blog post

79142437285789d633a198d6740f8731
Darshan Chauhan

Ember-Data is a library for managing model data in Ember.js applications. It provides many of the facilities you’d find in server-side object relational mappings (ORMs) like ActiveRecord, but is designed specifically for the unique environment of JavaScript in the browser.

When an API is represented using Ember Data models, adapters and serializers, each association simply becomes a field name. This encapsulates the internal details of each association, thereby insulating the rest of your...

Read complete blog post

We've one Blogging application and whenever User post a new Article we wanted to show that to whom his/her post is delivered, who has opened a post or clicked.. events like that. So that User will know how many people are reading his/her post and also how often.

We were already using services of Sendgrid. Now Sendgrid provides different APIs for different purposes. Some of them I'm listing below.

1) SMTP API, 2) WEB API, 3) EVENT WEBHOOK, 4) PARSE API.

Now, We needed EVENT WEBHOOK API for...

Read complete blog post