Posts

Showing posts from October, 2023

Why Angular?/ advantage of Angular ?/ explain the features of angular?

- Angular is a platform that makes it easy to build applications with the web. - Angular have module ,declarative templates, dependency injection, services ,end to end tooling, and integrated best practices to solve development challenges.  - Angular build applications that live on the web, mobile,or the desktop. - Angular has matured into a client-side MVW framework  (i.e. Model-View-Whatever) for building of complex single page Application. - It places equal importance on application testing & application writing, while simplifying the development process. - Angular has tag line One framework Mobile & desktop,web. - Cross platform Progressive web apps (i.e. It support all platform mobile,desktop,different os) - It famous also for his speed & performance (bcz it is optimized for today's javascript virtual machine) - It is universal framework (i.e. node.js with express js,.net,php,java & other servers for near-instants server side language) - It has code splitt...

Interface in Typescript Example !

  export interface emp {     fname : string ;     lname : string ;     display (); } ----------------------------------------------------------------------------------------- import { emp } from "./interface" ; export class employee implements emp {     fname : string ;     lname : string ;     salary : number ;     constructor ( f : string , l : string , sal : number ){         this . fname = f ;         this . lname = l ;         this . salary = sal ;     }     display () {         console . log ( `                 ---------------Employee Details-------------------------                     First Name:: ${this . fname }                      Last Name:: ${this ...

Hibernate Program for All Data Show

hibernate.cfg.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.password">root</property> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/batch137</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.default_schema">batch137</property> <property name="hbm2ddl.auto">update</property> <property name="show_sql">true</property> <property name="hibernate.dialect"...

what is Angular Architecture ?

 Angular is a popular open-source web application framework maintained by Google. It provides a structured architecture for building dynamic, single-page web applications. Angular's architecture is designed to encourage best practices, modularity, and maintainability in web development. The key architectural components of an Angular application include: 1. Modules:    - Angular applications are organized into modules, which are a way to group related components, services, and other code into cohesive units. Modules help with encapsulation and code organization. 2. Components:    - Components are the building blocks of an Angular application. They represent the UI elements of the application and encapsulate the logic and templates for rendering views. Each component typically has a TypeScript class file and an HTML template. 3. Templates:    - Angular templates are used to define the structure and layout of a component's view. Templates are typically wr...

Which language is used for Java?

  Java   is a programming language that is used to write software applications. It is not written in any other language.   Java   code is compiled into bytecode, which can be run on any platform with a   Java  Virtual Machine   ( JVM ) installed. Java  is influenced by other programming languages like C++ and Smalltalk, and it's designed to be simple, object-oriented, and portable across different platforms. It was created by James Gosling at  Sun Microsystems  (which has since been acquired by Oracle) in the early 1990s as a platform-independent, interactive television system.

TERM OF JAVA IN SHORT

  Class : A class is a template or blueprint for creating objects. It defines the properties and methods of the object. Object : An instance of a class. Objects have properties and methods that are defined by the class. Method : A function or routine that can be called on an object to perform a specific task. Inheritance : The ability of one class to inherit properties and methods from a parent class. This allows for code reuse and the creation of more specialized classes. Interface : A set of methods that a class must implement. Interfaces are used to define a contract for a course to follow. Package : A grouping of related classes and interfaces. Packages are used to organize code and prevent naming conflicts. JRE ( Java  Runtime Environment) : The software environment in which  Java  applications run. It includes the  JVM  and a set of libraries, and other files. JDK ( Java  Development Kit) : A set of tools for developing  Java  applicati...