Advance
Advance
1. Core Modules:
Built-in modules of node.js that are part of nodejs and come with the
Node.js installation process are known as core modules.
•These modules are included in our program in the same way as we include
the built in module.
exports.add=function(n,m){
return n+m;
};
3. Nodejs Third Party Modules:
•Modules that are available online and are installed using the npm are
called third party modules.
1.Indexing
2. Replication
3. Duplication of data
UNIT 2
-Middleware gets executed after the server receives the request and before
the controller actions send the response.
Middleware has the access to the request object, responses object, and next,
it can process the request before the server send a response.
-The two-way binding uses the special syntax known as a banana in a box
[()] <someElement [(someProperty)]="value"></someElement>.
- you can use it using the two-way binding syntax as shown below
-Angular expands this into a more explicit version, in which the anchor
element is contained in an <ng-template> element.
-NgFor is used as a structural directive that renders each element for the
given collection each element can be displayed on the page.
declarations
exports
Schemas –
Defines a schema that will allow any non-Angular elements and properties.
UNIT 3
Q1.What is Flutter? Explain features of Flutter.
-Flutter is a UI toolkit for creating fast, beautiful, natively compiled applications
for mobile, web, and desktop with one programing language and single
codebase.
-The cross-platform development framework has the ability to write one code
and can deploy on the various platform (Android, iOS, and Desktop).
features of Flutter:-
Open-Source: Flutter is a free and open-source framework for
developing mobile applications.
Cross-platform: This feature allows Flutter to write the code
once, maintain, and can run on different platforms.
Hot Reload: Whenever the developer makes changes in the
code, then these changes can be seen instantaneously with Hot Reload.
Accessible Native Features and SDKs: This feature allows the app
development process easy and delightful through Flutter's native code, third-
party integration, and platform APIs.
Minimal code: Flutter app is developed by Dart programming language, which
uses JIT and AOT compilation to improve the overall start-up time, functioning
and accelerates the performance.
Example :
void main()
{
var list1 = [10,20,30,40,50];
for(var i in list1)
}}
Output:
10
20
30
40
50