Creating Objects in JavaScript

In this section, we will talk about another way, via which we can inherit prototypes. Here, I’ll be using Object.Create to use the same. In the last section, we have seen function constructor pattern to create objects from the blueprint. With that object.create() method, things work bit differently. In this case, we first define an object which will act as a prototype and then create a new object based on that very prototype.

prototypes1

Continue reading “Creating Objects in JavaScript” »

383 total views, 1 views today

Prototype in JavaScript

Hi Friends,

In this section, thought of talking Javascript objects and inheritance in Javascript. I see people often get confused like how to create objects out of class aka prototype and then use the same. JavaScript is prototype based language, which means inheritance can be used by something called prototype. It means each and every Javascript object has a prototype property which makes inheritance possible in Javascript. Therefore, inheritance is made possible via prototype property which every object has. The prototype property of an object is where we put methods and properties which we want other objects to inherit.

Continue reading “Prototype in JavaScript” »

599 total views, 1 views today

Converting existing .JS into .TS file

Hi Friends,

Recently, I came across a project which is actually written in silverlight which means basically its a desktop app. However, there is web version of that as well there where in it works with Kendo+Jquery combination. Since, its JQuery, hence every developer has got their own way of implementation which is a pain in maintaining and scaling the project.  I discussed with my team and thought of writing the same in such a way that still the existing stack will be working and side by side; I will be pushing the same on Angular 4. Kind of monumental task as this is not greenfield project where I have the choice to choose tools of my choice.

7th

Continue reading “Converting existing .JS into .TS file” »

487 total views, 1 views today

Getting Started with RXJS – Part 3

In this section, we’ll continue from the previous section and delve further. We’ll basically see how to create and observable and also how to use observable effectively without a class rather based on a function.

16th

Hence, without wasting time, let’s get started.

Continue reading “Getting Started with RXJS – Part 3” »

652 total views, 1 views today

Getting Started with RxJs

In this section, we will get started with RXJS. So, if I start with official definition of RxJs, it says “An API for asynchronous programming with observable streams“. Here is the official site for this http://reactivex.io/. RXJS is just one part of its implementation. You can check its entire supported language at http://reactivex.io/languages.html. It supports wide variety of languages.

16th

Continue reading “Getting Started with RxJs” »

1,157 total views, 1 views today

Building Single Page App Using ASP.NET Core with Entity Framework Core and AngularJS

Hi Friends,

In this particular post, I thought to unveil my book on latest Microsoft ASP.NET Core stack in conjunction with Angular. This is basically hand-book for all those people who like to build Single Page App, right from the scratch meeting all the industry standards.

Book_Cover

Continue reading “Building Single Page App Using ASP.NET Core with Entity Framework Core and AngularJS” »

6,211 total views, 3 views today

Setting Black Theme to Chrome Developer Tool

Hi Friends,

In this section, I’ll show you little trick to setup black theme to Chrome Developer Theme. Frankly speaking I am not a big fan of Visual Studio default white theme. Whether, I’m using VS or Webstorm or Code, I prefer to have black theme as my default one. I was wondering, if the same thing I could achieve with my favorite browser as well.

Continue reading “Setting Black Theme to Chrome Developer Tool” »

1,087 total views, 3 views today

Getting Started with TypeScript – Part 11

Hi Friends,

In this section, we are going to talk about Modules. Modules, keep the code separated. In many ways, it help users to keep the code neat and clean. It’s something like we are going to keep different unit of works in different placeholders or you say in different files. By separating the code out, it enhances the productivity immensely, like test-ability and re-usability enhances immensely. This way, your code not only appears robust, but it also follows good pattern like code-of-separation and solid. Now, we explicitly declare module with the name module itself. From C# perspective, you can also think modules as equivalent to namespaces.

Continue reading “Getting Started with TypeScript – Part 11” »

1,076 total views, 1 views today