Learning Custom Directives In AngularJS – A Practical Approach


AngularJS Introduction

Introduction

In my previous article of AngularJS, I tried to explain the basics of AngularJS to get you started. In this article, I will explain the core concept of AngularJSl  i.e., directives. First, we will see what directives are and then I will try to explain how to build the custom directives, using some examples, which I have prepared. Moreover, in this article, I will be focusing more on the practical examples and the code rather than confusing you by writing tough definitions and heavy terms.

Continue reading “Learning Custom Directives In AngularJS – A Practical Approach”

Advertisements

Aggregation in MongoDB


mongodb-logo-5c3a7405a85675366beb3a5ec4c032348c390b3f142f5e6dddf1d78e2df5cb5c

Introduction

Aggregation operations are very important in any type of database whether it is SQL or NoSQL. To perform aggregations operations, MongoDB group values from multiple documents together and then perform a variety of operations on grouped data to return a single result. SQL uses aggregate functions to return a single value calculated from values in columns.

MongoDB has three ways to perform aggregation: the aggregation pipeline, the map-reduce function, and the single purpose aggregation methods.

In this article, we will focus on aggregation pipeline. I’ll try to cover each major section of it using simple examples. We will be writing mongo shell commands to perform aggregation. Continue reading “Aggregation in MongoDB”

CRUD operations using RESTful ASP.Net WebAPI and MongoDB


MongoDB-Logo-5c3a7405a85675366beb3a5ec4c032348c390b3f142f5e6dddf1d78e2df5cb5c

macbook-624707_640

Introduction

In my previous article, we did CRUD operations using MongoDB shell commands. As promised, here I am with this article sharing how to create RESTful Web API for CRUD operations in MongoDB using .NET drivers.

As you already know, MongoDB is the future of modern web applications and it is very important for .NET developers to get their hands on MongoDB drivers, so this article is my little effort in this direction. I hope you would like it and appreciate my work.

In this article, we are to going to create Web APIs for manipulating and performing CRUD operations on student resource of our project. Continue reading “CRUD operations using RESTful ASP.Net WebAPI and MongoDB”

MongoDb: A brief introduction


MongoDB-Logo-5c3a7405a85675366beb3a5ec4c032348c390b3f142f5e6dddf1d78e2df5cb5c

Introduction

I read somewhere that MongoDB is the database for the modern web which induced a thought in me that what’s so special about this new database that everybody is talking about it and believe me when I started digging into this I really got impressed. So this article is dedicated to great MongoDB. In this article we will learn basics about MongoDB. I have tried to make things easier and clear to understand. I hope in the end of this article you will have enough understanding about MongoDB.

Continue reading “MongoDb: A brief introduction”

Understanding Recursion in C# : A Practical Approach


Introduction

In our programming life there are situations where we have to write code to perform some repetitive tasks and in those situations recursion can become our best friend, but the problem with recursion is that it is sometimes complicated to understand.

Recursion is one of the topics that we all are taught in our student life but at that time we do not give much attention to this guy, and when we start our life as a programmer this same guy comes again in our life to irritate us and laugh at us.

So this is my little effort to introduce you to recursion so that you can use it in your code without any doubt and hesitation.

Though many of the problems can be easily solved using iteration and loops, there are some problems like graphs and tree where recursion can come in handy.

In this article I’ll be focusing more on algorithms rather than on programming language —  you can choose programming language of you to own choice. For demonstration purposes, I’ll be using JavaScript & C# because most of the programmers are familiar with the same.
Continue reading “Understanding Recursion in C# : A Practical Approach”

Understanding AngularJS in Fast-track Mode


Introduction

I have been working on AngularJs for quite some time and I have become amazed by the power of AngularJs. So I thought of this article to expose the power of AngularJs to you. I have tried to make this article as explanative as possible and it is written in a fast-track mode. That means it will give you a glimpse at some of the important topics of AngularJs in very less time.

Continue reading “Understanding AngularJS in Fast-track Mode”

Understanding Events in C# (An Insight)


Introduction

Events are one of the core and important concepts of C# Programming environment and frankly speaking sometimes it’s hard to understand them without proper explanation and example.

So I thought of writing this article to make things easier for learners and beginners.

Continue reading “Understanding Events in C# (An Insight)”