Posts

Showing posts from November, 2025

UI interview question -Angular

Image
  What are Single Page Applications (SPA)? Single Page Applications (SPAs)  are web applications that load a single HTML page once and dynamically update the content using JavaScript. This approach enables faster interactions and a smoother, more consistent user experience. Dynamically updates content without reloading the entire page. Provides faster performance and a seamless user experience. What are templates in Angular? A template is a kind of HTML that instructs Angular about how to display a component. An Angular HTML template, like conventional HTML, produces a view, or user interface, in the browser, but with far more capabilities. Angular API evaluates an HTML template of a component, creates HTML, and renders it. There are two ways to create a template in an Angular component: Inline Template Linked Template Inline Template:  The component decorator's template config is used to specify an inline HTML template for a component. The Template will be wrapped inside...

Spring and spring boot

Image
  1. What is Spring Framework Spring is an open-source Java framework that simplifies enterprise application development by handling infrastructure concerns and allowing developers to focus on business logic. Its key features include IoC (Inversion of Control), DI (Dependency Injection), and modular design. Spring Framework Modules Spring Core Module:  The core component providing the IoC container for managing beans and their dependencies. It includes BeanFactory and ApplicationContext for object creation and dependency injection. Spring AOP Module:  Implements Aspect-Oriented Programming to handle cross-cutting concerns like transaction management, logging and monitoring, using aspects defined with the @Aspect annotation. Spring ORM Module:  Provides APIs for database interactions using ORM frameworks like JDO, Hibernate and iBatis. It simplifies transaction management and exception handling with DAO support. Spring Web MVC Module:  Implements the MVC architec...