0% found this document useful (0 votes)
45 views

Angular, Springboot

Angular is a JavaScript framework that binds HTML user interfaces to JavaScript models, reducing the need to write lengthy code. It helps build single-page applications using routing and includes features like HTTP, dependency injection, and input/output. Directives help attach behavior to HTML elements in Angular syntax, with structural directives changing the DOM layout and attribute directives modifying element appearance and behavior. Component directives are directives with templates, similar to user controls. NPM is a package manager that makes it easy to install JavaScript frameworks like Angular by handling dependencies and versions through the package.json file and node_modules folder. TypeScript extends JavaScript with types, adding type safety and enabling object-oriented programming features while transpiling to JavaScript.

Uploaded by

oussema hedfi
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Angular, Springboot

Angular is a JavaScript framework that binds HTML user interfaces to JavaScript models, reducing the need to write lengthy code. It helps build single-page applications using routing and includes features like HTTP, dependency injection, and input/output. Directives help attach behavior to HTML elements in Angular syntax, with structural directives changing the DOM layout and attribute directives modifying element appearance and behavior. Component directives are directives with templates, similar to user controls. NPM is a package manager that makes it easy to install JavaScript frameworks like Angular by handling dependencies and versions through the package.json file and node_modules folder. TypeScript extends JavaScript with types, adding type safety and enabling object-oriented programming features while transpiling to JavaScript.

Uploaded by

oussema hedfi
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

angular is a javascript binding framework wich binds the html ui and javascript

model this helps you to reduce your effort on writing those lenghty lines of code
for binding
adding to it it also helps you to build spa by using the concept of routing it also
has lot of other features like http , DI input output because of which you do not
need other frameworks
angularjs: using javascript as a language also is a controller architecture
angular(new): using typescript as a language also is a component architercture
what are directives in Angular ?
directives helps you to attach behaviour to your html (angular syntaxes)
structural directive change the structure of the html (change the dom layout by
adding and removing elements)
attribute directive change the appearance and behaviour of html elements
component directive directives with templates it's like a user control
npm is a package manager which makes installation of javascript framework easy
(node package manager)
node modules is the folder where all the packages are installed
package.json it has all the javascript references needed for a project so rather
than installing one package at a time we can install all packages in one go
typescript is javascript for any scale exetends javascriptby adding types to the
language typescript superset of javascript.
as an example we can use in js file
var x =0;
x++;
x=oussema;
and javascript does not compiling and it's not err because javascript is not a type
language
var x=number=0;
x++;
x=oussema;
but we cannot put it in a ts file so we use is it to add types to javascript and it
gives a nice object-oriented programming environment which transpiles /convert to
javascript.

You might also like