WHAT IS INTERPOLATION VS PROPERTY BINDING IN ANGULAR
Data binding makes the angular applications development very easy.
Data binding helps to do the data synchronization between the template(view/html) and class(typescript code)
There are 4 types of data binding in Angular and are following,
Event binding
Two way data binding
Interpolation
Property binding
What is Interpolation?
For interpolation, double curly braces are used in the template as below,
// app.html is the example for interpolation
<p>{{ name }}</p>
and it stores the variables, then angular checks for the variable and updates the value assigned to the text.
The Typescript app.ts as below to display the name value to app.html.
// app.ts
@Component({
templateUrl: 'app.html',
selector: 'app-test',
})
export class AppComponent {
name = 'Sharath C';
}
What is Property binding?
Property binding helps to set the property of a view element and it uses [] syntax as below
// app.html is the simple for the property binding.
<button [disabled]="buttonIsDisabled"></button>
TypeScript has to be coded as below to pass the property binding to view template. refer the app.ts as example for Typescript passing the property value
SonarQube is code quality checker and that can be integrated to Jenkins workflow to deliver continuous inspection. Configuration steps as follows:SonarQube:1. Do a SonarQube docker image pull from docker hub 2. Then use docker run command to run the image to build SonarQube container.(Assumption JDK is already setup on the machine) if not , we need to docker containerized JDK.3. Now that step 2 allows us to run the SonarQube as a standalone server under localhost port 9000. (Type localhost:9000 on browser)4.login to SonarQube web app using admin as user I’d and admin as password.5. The go to Admin tab , Market place of SonarQube and install the plugins you wanted (SonarPython, Java, Groovy etc)6. You may need to restart SonarQube app after applying plugin installation. Jenkins integration with Sonar1. Now that Sonar Server is ready, you may need to integrate Jenkins with Sonar.2. Login on to Jenkins, and go to Manage plugin section to install Sonar plugin.3. After restarting Jenkins, go the Configure system in Manage Jenkins section.4. Enable injection of Sonarserver, add Sonar server auth token etc. Now, Enable Analysis with Sonar scanner by defining the SonarQube server on Global configuration Then configure Jenkins build
Contract testing is famous in microservices world. When we consider less numbers of microservices, then contract testing is not so necessary.However when you look at the Amazon or Netflix microservices mesh, it is countless. Such cases it is extremely difficult for developer or tester to maintain unit/automation test suite as per the microservices development chnages. Contract testing is the best possible solution currently offered for this situation. In contract testing, a mocked service is created to represent the provider. There are commercial or opensource tools available to stimulate this. In short, contract is set of predefined requests and responses created by automation or developer team to do their testing.
Apache PDFBox and FontBox jar available can be useful here. Add these two libraries to your Maven Pom.xml or build.gradle dependencies. Then write java code to parse your PDF files to create POJOs. What is POJO in javaPOJO stands for Plain java object and it has not restrictions or class path dependency.
Google provides platform as service or PaaS via Google’s App Engine.App Engine is a cloud computing platform where development and hosting of applications can be done.Other feature is App engine scales up on demand basis when the requests are more. App Engine supports almost all development technologies like Go, Java , Python, .NET, ruby. Python web frameworks like Flask, Django all can run on App Engine.
ELK stack is a combination of 3 open-source products as below,
Elasticsearch, a search and analytics engine.
Logstash, that index the data to Elasticsearch. Logstash has a config file that has input,filter and output section. Config file looks like json file.
Kibana, a visualization tool which provides a web based GUI for a user. User can design the bar, plot reporting charts. In order to make Kibana and Elasticsearch interact, you need to make both server up and running. Then logstash will index the data to Elasticsearch. Then Kibana would read the data from Elasticsearch and visualize it.
DevOps is the practice of using set of tools, processes and practices to get good agility in software implementation to customers. It combines Dev (software development ) and Ops (information operations). DevOps shortens the development lifecycles and provides Continous Integration & Delivery. DevSecOps is when security features are included in DevOps CI/CD flow. NetOps is when network services are packaged to DevOps.
Jenkins jobs and Jenkins pipeline are essentially same, however pipeline is more staged flow of jobs. For Jenkins pipeline, Jenkinsfile is used. What is Jenkinsfile?Jenkinsfile is a text file placed in the root project directory. The Jenkinsfile has multiple stages like build, unit test, sonar test, functional, regression, integration, performance testing, deployment etc.
Ingredient 1 – marinate boneless skinless chicken in olive oil, black pepper, salt and chilly powder Ingredient 2 – sliced green pepper, yellow pepper, red pepper, onion & mushroom
– Saute ingredient 1 in olive oil until chicken is fried well. remove ingredient 1 from the pan. – In the same pan with remaining oil it, shallow fry the ingredient 2. – add ingredient 1 back to pan and add cheese in it. cook for 2-3 min in low flame. – serve on to the sandwitch as shown in the above picture. Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Lobster recipe
Grilled Lobster recipe
Ingredient 1 – Black pepper, red chilies, coriander powder, garam masala ,lemon juice, salt and olive oil. Make a paste.
– Pre-heat oven to 400 Fahrenheit. – Boil whole lobster in turmeric water and salt for 5 min. Cool it. Then make a cut on lower side of Lobster to expose flesh as well as remove unwanted things. – bush the ingredient 1 to exposed lobster flesh – grill it for max 5 min. Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Fish bake
Fish bake
Ingredient 1 – chopped onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt Ingredient 2 – cleaned whole Mackerel – mix ‘Ingredient 1’ in the backing pan. – add Mackeral to the backing pan. – pre-heat oven in 350 Fahrenheit – put the pan in Oven and bake it for 30-40 min. Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Fish grill – Porgy
Fish grill – Porgy
Ingredient 1 – onion, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder Ingredient 2 – Fish – can be Porgy. – Fire up the grill – Grind and mix Ingredient 1 with Ingredient 2 – Once the Grill is set, place the Fish on it – Grill it untill it is cooked well Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Fish grill – tilapia
Ingredient 1 – onion, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder Ingredient 2 – Fish – can be Salmon or Tilapia. – Fire up the grill – Grind and mix Ingredient 1 with Ingredient 2 – Once the Grill is set, place the Fish on it – Grill it untill it is cooked well Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Chicken grill
Chicken grill
Ingredient 1 – onion, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder Ingredient 2 – Chicken legs and breast.
Location: Eisenhower Park, Nassau County, New York
– Fire up the grill – Grind and mix Ingredient 1 with Ingredient 2 – Once the Grill is set, place the Chicken legs and breast on it
– Grill it untill it is cooked well
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Corn grill
Corn grill
Ingredient 1 – onion, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder Ingredient 2 – Corn. – Fire up the grill – Grind and mix Ingredient 1 with Ingredient 2 – Once the Grill is set, place the Corn on it – Grill it until it is cooked well Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Chicken Bake
Chicken Bake
Ingredient 1 – onion, carrot, celery, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder Ingredient 2 – Cleaned Whole Chicken . – Pre-heat Oven for 380 Fahrenheit – mix Ingredient 1 with Ingredient 2 – Once the Oven is set, place the Chicken in it – bake for an 3- 40 min or untill it is cooked well Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Shrimp grill
Shrimp grill
Ingredient 1 – onion, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder Ingredient 2 – Chicken legs and breast. – Fire up the grill
– Grind and mix Ingredient 1 with Ingredient 2 – Once the Grill is set, place the Chicken legs and breast on it – Grill it untill it is cooked well
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.
Veg pizza
Veg pizza
Ingredient 1 – make the dough by mixing flour, olive oil, sugar and warm water and shape it into a round flat disk shape. Ingredient 2 – tomoto sauce. – make the dough into a round flat disk shape. – on the pizza base, paste oilve oil and place the Ingredient 1 – brush olive oil on pizza and spread Ingredient 2 – tomoto sauce – add top ups like onions, grated cheese, olives slices, pinaple slices, etc Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.