Discover and connect with journalists and influencers around the world, save time on email research, monitor the news, and more.
Recent: |
|
Past: |
|
Absent of Data There are situations where we wish to accept data from users and also provide an opportunity for some of the data to be optionals, meaning they are not required but should be provided if available. Person { var firstname: String var middlename: String var lastname: String } //this will definitely work because i have a middlename let me = Person(firstname: "Abel", middlename:… → Read More
Introduction Functions are self-contained chunks of code that perform specific tasks. Defining and Calling a Function Right below is a simple function, that actually does nothing at the moment. func emptyFunction() { //your code should go inside here} The func keyword is use to define a function while the emptyFunction is the name given to the function. You must use the func anytime you create a… → Read More
This is an introduction to template driven forms in angular → Read More
Basic Idea: A web server can be seen as a function that takes in a request and outputs a response. Middlewares are functions executed in the middle after the incoming request then produces an output which could be the final output passed or could be used by the next middleware until the cycle is completed, meaning we can have more than one middleware and they will execute in the order they are… → Read More
Components: Basic Idea Components are the most basic building block of a UI in an Angular application. They are directives with special decorator (@Component) and template. Component decorator allows you to mark a class as an Angular component and provide additional metadata that determines how the component should be processed, instantiated and used at runtime. Below is an example of a… → Read More
Typescript is a superset of javascript which means any javascript code is a valid typescript but typescript has some additional features which are not in javascript e.g strong typing (specifying the… → Read More