In a simple term we can say dependency injection are created once at the time of initialisation of service or component then throughout the application we can reuse same object without re-initialisation. So, this is clear now advantage of dependency…

How to upload multiple files in angular 12 reactive form
How to upload multiple files in angular 12 reactive form Uploading multiple files with progress in angular is too easy, you can implement it in your website using the below guideline. i will suggest to read my last post Angular…

What is a traits in PHP and how to use it ?
Before PHP 5.4, there was no way to implement multiple inheritance in PHP then PHP 5.4 introduce traits as a substitute of multiple inheritance in PHP. By using the traits PHP solve the problem of Multiple Inheritance. A class only…

How to upload files with form data in angular 12?
in this tutorial we will learn to upload the files with reactive form in angular. it’s not easy to upload the files along with form data in angular in compare to JQuery and other JavaScript framework. Angular upload a form…

What is static keyword and properties in a php/java class?
Static keyword are isolated, which means we can access the property of a class without creating a object/instance of class. static methods that are common to all the objects of the class. Hence, any logic which can be shared among…

What is arrow functions in JavaScript / ES6?
Arrow functions are introduced in ES6, before es6 we used normal function which needs to write more code to achieve the functionality. let take an example of arrow functions and es5 normal functions are follow: Normal functions of es5 Arrow…