Category: Uncategorized

Building Pagination with Vue and Laravel

Read more

More about routing in Vue.js

We will discuss more details about vue-router now npm install –save axios

Read more

Nested component in single file component in Vue.js

In this tutorial, we will study how to work with nested components in Vue.js application development. If you want to create a new project you can follow these steps. In your terminal, run the followng code

This will install the vue-cli globally. Then you can create vue project by running following command

In […]

Read more

Factory Method Design Pattern in Swift

In this article I am going to discuss how you can implement the Factory Method Design Pattern in Swift programming language According to the GoF definition you can define Factory method like below Definition Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer […]

Read more

Singleton Design Pattern in Visual Basic .NET

Read more

Iterator Design Pattern in Visual Basic .NET

Definition Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. If you have several objects in a container and you want to access them in sequential order, you can use the Iterator Design Pattern in VB.NET

Read more

Composition in OOP with Visual Basic .NET

To identify the composition relationship between two classes you should have association and aggregation between those two classes In the following example Class B is part of Class A and also this has the association. So now you have association and aggregation Class A is the whole Class B is the part Lets say, we […]

Read more

Aggregation in OOP with Visual Basic .NET

Aggregation is a collection or formation number of things to cluster. In Object Oriented Programming , Aggregation is whole part relationship (You should have the association between classes) Aggregation is a subset of the association In the following example Class B is part of Class A and also this has the association We can name […]

Read more

Association in OOP with Visual Basic .NET

Association shows the relationship between classes There are two types of Associations 1 Unary Association 2 Binary Association 1. Unary Association Class A does not know about ClassB Class B knows about ClassA To indicate the Unary Association single head arrow is used as shown in the below figure Now lets look at the following […]

Read more

IEnumerable Interface in Visual Basic .NET

To understand the IEnumerable interface in VB.NET, I will create Student class and Course class. Since course has students I can use For…Each loop to get students from the course First I will create the Student class. It has the FirstName and LastName property

Then I will create the Course class which implements the […]

Read more