SlideShare a Scribd company logo
DECAP918-
MULTIPLATFORM MOBILE APP DEVELOPMENT
WITH WEB TECHNOLOGIES
The Kick Start Session
GO to CMD
Give command –ionic start myTabsApp tabs --
type=angular
mobile development using node js and java
Navigate to Your Project Directory
• cd myTabsApp
Serve the App
ionic serve
In web browser it will open
Open in vs code using command
mobile development using node js and java
In src folder there is app where tabs
Browse tab1 and write the code
You can style tab1 in tab1.page.scss
To add button
mobile development using node js and java
You explore different compnents
• https://ionicframework.com/docs/api/button
What is Angular?
Angular is an open source, TypeScript based front end web application
framework. It has been released by Google's Angular community.
• Angular provides a large collection of tools, APIs, and libraries to
build dynamic and interactive single-page applications (SPAs) with
ease. It helps maintain an organized and scalable codebase, thanks to
its component model and flexible dependency injection system.
we will write a Hello World! program in Angular. For this, create an Angular application and
navigate to src folder. Inside this folder, you will find
the app.component.html and app.component.ts files. Copy and paste the following code inside
those files:
app.component.ts
app.component.html
Component
The core of the Angular framework architecture is Angular Component. Angular Component is the building
block of every Angular application. Every angular application is made up of one more Angular Component.
It is basically a plain JavaScript/Typescript class along with a HTML template and an associated name.
The HTML template can access the data from its corresponding JavaScript/Typescript class. Component's
HTML template may include other component using its selectors value (name). The Angular Component
may have an optional CSS Styles associated it and the HTML template may access the CSS Styles as well.
mobile development using node js and java
the AppComponent component in our ExpenseManager application.
The AppComponent code is as follows − 1. @Component: A decorator used to convert a normal
Typescript class to Angular Component.
2. app-root: It is the selector/name of the component and
it is specified using selector meta data of the
component's decorator.
3. app.component.html: It is the HTML template
document associated with the component. The
component template is specified
using templateUrl meta data of
the @Component decorator.
4. AppComponent: Its property (title) is used in the
HTML template to set the title of the application.
5. app.component.css: This is the CSS style document
associated with the component. The component style is
specified using styleUrls meta data of
the @Component decorator.
To show the view of this component, the app-root selector is used by
root document, i.e. src/index.html of the Angular application as shown
below −
Modules
Angular Module is basically a collection of related features/functionality. It
groups multiple components and services under a single context.
For example, animations related functionality can be grouped into single
module and Angular already provides a module for the animation related
functionality, BrowserAnimationModule module.
An Angular application can have any number of modules but only one
module can be set as root module, which will bootstrap the application and
then call other modules as and when necessary. A module can be configured
to access functionality from other module as well. In short, components
from any modules can access component and services from any other
modules.
Following diagram depicts the interaction between modules and its
components
the root module of our Expense Manager application.
1. NgModule decorator is used to convert a plain
Typescript/JavaScript class into Angular module.
2. declarations option is used to include components
into the AppModulemodule.
3. bootstrap option is used to set the root component of
the AppModulemodule.
4. providers option is used to include the services for
the AppModulemodule.
5. imports option is used to import other modules into
the AppModulemodule.
Services
Services are plain Typescript/JavaScript class providing a very specific functionality. They
will do a single task and do it best. The main purpose of the service is to make a certain
feature reusable. Instead of writing a functionality inside a component, separating it into a
service will make it usable in other component as well.
Also, Services enables the developer to organize the business logic of the application.
Basically, component uses services to do its own job. Dependency Injection is used to
properly initialize the service in the component so that the component can access the
services as and when necessary without any setup.
Metadata
In Angular, metadata is used to provide additional information about a
class, component, or service. This information helps Angular understand
how to process and use these elements within the application. Metadata
is defined using decorators, which are special functions that associate
metadata to a class.
Workflow of Angular Application
mobile development using node js and java
mobile development using node js and java
mobile development using node js and java
mobile development using node js and java
When we run an Angular application, index.html is the first file that is loaded on
the browser. Then, browser looks for the main TypeScript file,
i.e. src/main.ts which is the entry point of Angular application.
Now, this file bootstraps the AppComponent (src/app.component.ts), the root
component of every Angular application.
The AppComponent renders its template (src/app.component.html) and uses the
corresponding styles (src/app.component.css). AppComponent name, i.e., app-
root is used inside the src/index.html so that view of the angular application can be
rendered.
mobile development using node js and java
A component can use another component through directive in its template using
target component's selector name.

More Related Content

Similar to mobile development using node js and java (20)

PDF
Building blocks of Angular
Knoldus Inc.
 
PPTX
An Overview of Angular 4
Cynoteck Technology Solutions Private Limited
 
PPTX
How Does Angular Work?
Albiorix Technology
 
PPTX
Foster - Getting started with Angular
MukundSonaiya1
 
PPT
17612235.ppt
yovixi5669
 
PPTX
Angular Framework ppt for beginners and advanced
Preetha Ganapathi
 
PDF
Angular2 with type script
Ravi Mone
 
PDF
What is Angular and some of the terms used
Your Study_Buddy
 
PPTX
AngularJS 1.x - your first application (problems and solutions)
Igor Talevski
 
PPTX
Type of angular 2
Alexandre Marreiros
 
PDF
Angular 2 Crash Course
Elisha Kramer
 
PPTX
Advanced angular
Sumit Kumar Rakshit
 
PPTX
Introduction to angular | Concepts and Environment setup
Ansley Rodrigues
 
PPTX
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
PPTX
Angular modules in depth
Christoffer Noring
 
PDF
Angular Meetup 1 - Angular Basics and Workshop
Nitin Bhojwani
 
PPTX
Angular 9
Raja Vishnu
 
PDF
Angular 2 introduction
Christoffer Noring
 
PDF
Angular 4 Components | Angular 4 Tutorial For Beginners | Learn Angular 4 | E...
Edureka!
 
Building blocks of Angular
Knoldus Inc.
 
How Does Angular Work?
Albiorix Technology
 
Foster - Getting started with Angular
MukundSonaiya1
 
17612235.ppt
yovixi5669
 
Angular Framework ppt for beginners and advanced
Preetha Ganapathi
 
Angular2 with type script
Ravi Mone
 
What is Angular and some of the terms used
Your Study_Buddy
 
AngularJS 1.x - your first application (problems and solutions)
Igor Talevski
 
Type of angular 2
Alexandre Marreiros
 
Angular 2 Crash Course
Elisha Kramer
 
Advanced angular
Sumit Kumar Rakshit
 
Introduction to angular | Concepts and Environment setup
Ansley Rodrigues
 
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
Angular modules in depth
Christoffer Noring
 
Angular Meetup 1 - Angular Basics and Workshop
Nitin Bhojwani
 
Angular 9
Raja Vishnu
 
Angular 2 introduction
Christoffer Noring
 
Angular 4 Components | Angular 4 Tutorial For Beginners | Learn Angular 4 | E...
Edureka!
 

More from vishal choudhary (20)

PPTX
mobile application using automatin using node ja java on
vishal choudhary
 
PPTX
Pixel to Percentage conversion Convert left and right padding of a div to per...
vishal choudhary
 
PPTX
esponsive web design means that your website (
vishal choudhary
 
PPTX
function in php using like three type of function
vishal choudhary
 
PPTX
data base connectivity in php using msql database
vishal choudhary
 
PPTX
software evelopment life cycle model and example of water fall model
vishal choudhary
 
PPTX
software Engineering lecture on development life cycle
vishal choudhary
 
PPTX
strings in php how to use different data types in string
vishal choudhary
 
PPTX
OPEN SOURCE WEB APPLICATION DEVELOPMENT question
vishal choudhary
 
PPTX
web performnace optimization using css minification
vishal choudhary
 
PPTX
web performance optimization using style
vishal choudhary
 
PPTX
Data types and variables in php for writing and databse
vishal choudhary
 
PPTX
Data types and variables in php for writing
vishal choudhary
 
PPTX
Data types and variables in php for writing
vishal choudhary
 
PPTX
sofwtare standard for test plan it execution
vishal choudhary
 
PPTX
Software test policy and test plan in development
vishal choudhary
 
PPTX
function in php like control loop and its uses
vishal choudhary
 
PPTX
introduction to php and its uses in daily
vishal choudhary
 
PPTX
data type in php and its introduction to use
vishal choudhary
 
PPTX
PHP introduction how to create and start php
vishal choudhary
 
mobile application using automatin using node ja java on
vishal choudhary
 
Pixel to Percentage conversion Convert left and right padding of a div to per...
vishal choudhary
 
esponsive web design means that your website (
vishal choudhary
 
function in php using like three type of function
vishal choudhary
 
data base connectivity in php using msql database
vishal choudhary
 
software evelopment life cycle model and example of water fall model
vishal choudhary
 
software Engineering lecture on development life cycle
vishal choudhary
 
strings in php how to use different data types in string
vishal choudhary
 
OPEN SOURCE WEB APPLICATION DEVELOPMENT question
vishal choudhary
 
web performnace optimization using css minification
vishal choudhary
 
web performance optimization using style
vishal choudhary
 
Data types and variables in php for writing and databse
vishal choudhary
 
Data types and variables in php for writing
vishal choudhary
 
Data types and variables in php for writing
vishal choudhary
 
sofwtare standard for test plan it execution
vishal choudhary
 
Software test policy and test plan in development
vishal choudhary
 
function in php like control loop and its uses
vishal choudhary
 
introduction to php and its uses in daily
vishal choudhary
 
data type in php and its introduction to use
vishal choudhary
 
PHP introduction how to create and start php
vishal choudhary
 
Ad

Recently uploaded (20)

PPTX
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
PPTX
ROLE OF ANTIOXIDANT IN EYE HEALTH MANAGEMENT.pptx
Subham Panja
 
PPTX
Latest Features in Odoo 18 - Odoo slides
Celine George
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
Nutri-QUIZ-Bee-Elementary.pptx...................
ferdinandsanbuenaven
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
The-Beginnings-of-Indian-Civilisation.pdf/6th class new ncert social/by k san...
Sandeep Swamy
 
PPTX
Presentation: Climate Citizenship Digital Education
Karl Donert
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPT
digestive system for Pharm d I year HAP
rekhapositivity
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
ROLE OF ANTIOXIDANT IN EYE HEALTH MANAGEMENT.pptx
Subham Panja
 
Latest Features in Odoo 18 - Odoo slides
Celine George
 
community health nursing question paper 2.pdf
Prince kumar
 
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
Nutri-QUIZ-Bee-Elementary.pptx...................
ferdinandsanbuenaven
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
The-Beginnings-of-Indian-Civilisation.pdf/6th class new ncert social/by k san...
Sandeep Swamy
 
Presentation: Climate Citizenship Digital Education
Karl Donert
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
digestive system for Pharm d I year HAP
rekhapositivity
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Ad

mobile development using node js and java

  • 1. DECAP918- MULTIPLATFORM MOBILE APP DEVELOPMENT WITH WEB TECHNOLOGIES The Kick Start Session
  • 3. Give command –ionic start myTabsApp tabs -- type=angular
  • 5. Navigate to Your Project Directory • cd myTabsApp
  • 7. In web browser it will open
  • 8. Open in vs code using command
  • 10. In src folder there is app where tabs
  • 11. Browse tab1 and write the code
  • 12. You can style tab1 in tab1.page.scss
  • 15. You explore different compnents • https://ionicframework.com/docs/api/button
  • 16. What is Angular? Angular is an open source, TypeScript based front end web application framework. It has been released by Google's Angular community. • Angular provides a large collection of tools, APIs, and libraries to build dynamic and interactive single-page applications (SPAs) with ease. It helps maintain an organized and scalable codebase, thanks to its component model and flexible dependency injection system.
  • 17. we will write a Hello World! program in Angular. For this, create an Angular application and navigate to src folder. Inside this folder, you will find the app.component.html and app.component.ts files. Copy and paste the following code inside those files:
  • 20. Component The core of the Angular framework architecture is Angular Component. Angular Component is the building block of every Angular application. Every angular application is made up of one more Angular Component. It is basically a plain JavaScript/Typescript class along with a HTML template and an associated name. The HTML template can access the data from its corresponding JavaScript/Typescript class. Component's HTML template may include other component using its selectors value (name). The Angular Component may have an optional CSS Styles associated it and the HTML template may access the CSS Styles as well.
  • 22. the AppComponent component in our ExpenseManager application. The AppComponent code is as follows − 1. @Component: A decorator used to convert a normal Typescript class to Angular Component. 2. app-root: It is the selector/name of the component and it is specified using selector meta data of the component's decorator. 3. app.component.html: It is the HTML template document associated with the component. The component template is specified using templateUrl meta data of the @Component decorator. 4. AppComponent: Its property (title) is used in the HTML template to set the title of the application. 5. app.component.css: This is the CSS style document associated with the component. The component style is specified using styleUrls meta data of the @Component decorator.
  • 23. To show the view of this component, the app-root selector is used by root document, i.e. src/index.html of the Angular application as shown below −
  • 24. Modules Angular Module is basically a collection of related features/functionality. It groups multiple components and services under a single context. For example, animations related functionality can be grouped into single module and Angular already provides a module for the animation related functionality, BrowserAnimationModule module. An Angular application can have any number of modules but only one module can be set as root module, which will bootstrap the application and then call other modules as and when necessary. A module can be configured to access functionality from other module as well. In short, components from any modules can access component and services from any other modules.
  • 25. Following diagram depicts the interaction between modules and its components
  • 26. the root module of our Expense Manager application. 1. NgModule decorator is used to convert a plain Typescript/JavaScript class into Angular module. 2. declarations option is used to include components into the AppModulemodule. 3. bootstrap option is used to set the root component of the AppModulemodule. 4. providers option is used to include the services for the AppModulemodule. 5. imports option is used to import other modules into the AppModulemodule.
  • 27. Services Services are plain Typescript/JavaScript class providing a very specific functionality. They will do a single task and do it best. The main purpose of the service is to make a certain feature reusable. Instead of writing a functionality inside a component, separating it into a service will make it usable in other component as well. Also, Services enables the developer to organize the business logic of the application. Basically, component uses services to do its own job. Dependency Injection is used to properly initialize the service in the component so that the component can access the services as and when necessary without any setup.
  • 28. Metadata In Angular, metadata is used to provide additional information about a class, component, or service. This information helps Angular understand how to process and use these elements within the application. Metadata is defined using decorators, which are special functions that associate metadata to a class.
  • 29. Workflow of Angular Application
  • 34. When we run an Angular application, index.html is the first file that is loaded on the browser. Then, browser looks for the main TypeScript file, i.e. src/main.ts which is the entry point of Angular application. Now, this file bootstraps the AppComponent (src/app.component.ts), the root component of every Angular application.
  • 35. The AppComponent renders its template (src/app.component.html) and uses the corresponding styles (src/app.component.css). AppComponent name, i.e., app- root is used inside the src/index.html so that view of the angular application can be rendered.
  • 37. A component can use another component through directive in its template using target component's selector name.