SlideShare a Scribd company logo
Ionic Coding Standards.
The purpose of the Ionic coding standards document istocreate abaseline for collaboration andreview within various aspects of the HTML project and
this document will helpdevelopers tounderstand how he/she canwrite better code, sothat other developers canbetter understand it.
Do’s
Ready with prerequisite:
Weneed tohave Node.js and Git installed inorder toinstall both Ionic
andCordova. Ifyou're awebdeveloper chances are that you already
have these tools installed. Ifnot, just visit the aforementioned
websites andinstall them.
Prepare your local development:
For Android you needtoinstall Java andAndroid SDK. For iOSyou
need tohave aMAC withXcode.
.
Choose ionic version wisely:
Before start ionic coding check withteam regarding angular version.
Know platforms and versions will you support:
For the most part, it istrivial to support iOS6, iOS7, and iOS8, and
Android 4.4 (KitKat, version 19), with Cordova-blessed andthird-party
plugins, andmodern-browser-friendly HTML5 andCSS3. Asanaside,
both the Facebook andTwitter iOSapps only support iOS6andlater.
It isnot aseasytosupport iOS5 and earlier asthese versions have
been deprecated inCordova asofversion 3.5.
Know what form factors will you consider:
Willyou support only mobile phone or tablet form-factors, or provide
aresponsive, universal experience? This question candramatically
change your designer, developer, and tester resource requirements
for agiven project. Justas eachplatform and platform version will
introduce anextra level of effort, each form-factor/breakpoint setting
will introduce anewlevel of effort for designers and developers.
Understand build process:
It’s important tounderstand the concept ofthe Ionic build process
andthe reason why this process isrequired. The build process takes
the code from the app/ folder andcreates builds for allplatforms
which have been added toyour project inwww/build/. (Configuration
Files,Hooks Folder andResources Folder…).
Test your app different ways:
Test your appusing with the helpof ionic-lab, Simulators andReal
Timedevices.
Enable Native Scrolling:
Native Scrolling allows Ionic tolistentoscrolling events onsupported
web views. It makes Pull toRefresh.
Add Crosswalk for Android:
Every Android version runs adifferent WebView. The performance is
different across devices, andit canbe reallybadonthe oldAndroid
devices. Toget the sameexperience withfluidity andresponsiveness
onevery Android device, you caninstall Crosswalk. It basicallyembeds
the latest Chromium browser intoyour application
Don’ts
 Don't use Cordova unstable plugins
 Don't make data-tap-disabled tag false:-it breaks
touch/mouse events for 3rd party library (such asamap
widget).
 Don't use unstable release of node
 Don’t use older version Cordova
 Don't use older Ionic CLI.
 Don’t store sensitive data inlocal storage.

More Related Content

PPTX
Nextcloud Android App Development Process Insights
PPTX
Nextcloud Android Development Process
PDF
Flutter vs React Native | Edureka
PPTX
Introduction to android
PDF
CI CD Jenkins for Swift Deployment
PDF
Visual studio 2019 launch
PDF
Expose a Rest Service to the web within minutes with WSO2 App Factory
PPTX
Code crunch
Nextcloud Android App Development Process Insights
Nextcloud Android Development Process
Flutter vs React Native | Edureka
Introduction to android
CI CD Jenkins for Swift Deployment
Visual studio 2019 launch
Expose a Rest Service to the web within minutes with WSO2 App Factory
Code crunch

What's hot (20)

PDF
Python Visual Studio | Edureka
PPTX
OpenChain: Japan WG # 9 – Update Time!
PPTX
Flutter 1
PPTX
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
PPTX
React native development with expo
PDF
Professional iOS development
PPTX
Building android apps using xamarin
PDF
Cross-Platform App Development with Flutter, Xamarin, React Native
PPTX
Cross platform app development with flutter
PDF
Java Applications with Visual Studio
PDF
Android Studio vs. ADT
PPTX
2018 top ide's for andriod development
PDF
Getting Started with Cross-Platform Mobile Development with Flutter and Dart
ODP
What Prompts Swift App Developers to Go with Xcode 7.3.1
PPTX
Mobile Application Development
PPT
Synapseindia android app programming
PPT
Alternatives to Java for Android development
PDF
What is Visual Studio Code?
PPTX
Flutter introduction
PDF
The Ten (10) Best C/C++ Productivity Tools, Plugins and Libraries
Python Visual Studio | Edureka
OpenChain: Japan WG # 9 – Update Time!
Flutter 1
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
React native development with expo
Professional iOS development
Building android apps using xamarin
Cross-Platform App Development with Flutter, Xamarin, React Native
Cross platform app development with flutter
Java Applications with Visual Studio
Android Studio vs. ADT
2018 top ide's for andriod development
Getting Started with Cross-Platform Mobile Development with Flutter and Dart
What Prompts Swift App Developers to Go with Xcode 7.3.1
Mobile Application Development
Synapseindia android app programming
Alternatives to Java for Android development
What is Visual Studio Code?
Flutter introduction
The Ten (10) Best C/C++ Productivity Tools, Plugins and Libraries
Ad

Similar to Ionic best practices (20)

PDF
Hybrid app development with ionic
PPTX
Intro to Ionic for Building Hybrid Mobile Applications
PDF
Common Ionic Development Mistakes Developers Tend To Make!
PDF
Mobile App Development With Ionic Crossplatform Apps With Ionic Angular And C...
PPTX
Developing Hybrid Applications with IONIC
PDF
Developing ionic apps for android and ios
PPTX
Cross-Platform Development using Angulr JS in Visual Studio
PDF
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
PDF
Mobile app development with Ionic cross platform apps with Ionic Angular and ...
PDF
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
PDF
Workshop Ionic Framework - CC FE & UX
PPTX
Listfy Sprint #0
PPTX
Ionic Mobile Applications - Hybrid Mobile Applications Without Compromises
PDF
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
PDF
Ionic - Revolutionizing Hybrid Mobile Application Development
PPTX
Introduction to Ionic framework
PDF
Ionic2 First Lesson of Four
PDF
Shoukry Kattan - Titanium Mobile. Cross Platform Mobile Apps
DOCX
Ionic
Hybrid app development with ionic
Intro to Ionic for Building Hybrid Mobile Applications
Common Ionic Development Mistakes Developers Tend To Make!
Mobile App Development With Ionic Crossplatform Apps With Ionic Angular And C...
Developing Hybrid Applications with IONIC
Developing ionic apps for android and ios
Cross-Platform Development using Angulr JS in Visual Studio
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
Mobile app development with Ionic cross platform apps with Ionic Angular and ...
Ionic in Action Hybrid Mobile Apps with Ionic and AngularJS 1st Edition Jerem...
Workshop Ionic Framework - CC FE & UX
Listfy Sprint #0
Ionic Mobile Applications - Hybrid Mobile Applications Without Compromises
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
Ionic - Revolutionizing Hybrid Mobile Application Development
Introduction to Ionic framework
Ionic2 First Lesson of Four
Shoukry Kattan - Titanium Mobile. Cross Platform Mobile Apps
Ionic
Ad

More from Allanki Srinivas (6)

DOCX
Static site best practices
DOCX
Wordpress best practices
DOCX
Ionic best practices
DOCX
Angular best practices
PPTX
Web accessibility
PPT
Melukolupu
Static site best practices
Wordpress best practices
Ionic best practices
Angular best practices
Web accessibility
Melukolupu

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
AI in Product Development-omnex systems
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Introduction to Artificial Intelligence
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
System and Network Administraation Chapter 3
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Essential Infomation Tech presentation.pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
history of c programming in notes for students .pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Transform Your Business with a Software ERP System
Adobe Illustrator 28.6 Crack My Vision of Vector Design
AI in Product Development-omnex systems
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Introduction to Artificial Intelligence
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
System and Network Administraation Chapter 3
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Essential Infomation Tech presentation.pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
L1 - Introduction to python Backend.pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
VVF-Customer-Presentation2025-Ver1.9.pptx
history of c programming in notes for students .pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
ai tools demonstartion for schools and inter college
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

Ionic best practices

  • 1. Ionic Coding Standards. The purpose of the Ionic coding standards document istocreate abaseline for collaboration andreview within various aspects of the HTML project and this document will helpdevelopers tounderstand how he/she canwrite better code, sothat other developers canbetter understand it. Do’s Ready with prerequisite: Weneed tohave Node.js and Git installed inorder toinstall both Ionic andCordova. Ifyou're awebdeveloper chances are that you already have these tools installed. Ifnot, just visit the aforementioned websites andinstall them. Prepare your local development: For Android you needtoinstall Java andAndroid SDK. For iOSyou need tohave aMAC withXcode. . Choose ionic version wisely: Before start ionic coding check withteam regarding angular version. Know platforms and versions will you support: For the most part, it istrivial to support iOS6, iOS7, and iOS8, and Android 4.4 (KitKat, version 19), with Cordova-blessed andthird-party plugins, andmodern-browser-friendly HTML5 andCSS3. Asanaside, both the Facebook andTwitter iOSapps only support iOS6andlater. It isnot aseasytosupport iOS5 and earlier asthese versions have been deprecated inCordova asofversion 3.5. Know what form factors will you consider: Willyou support only mobile phone or tablet form-factors, or provide aresponsive, universal experience? This question candramatically change your designer, developer, and tester resource requirements for agiven project. Justas eachplatform and platform version will introduce anextra level of effort, each form-factor/breakpoint setting will introduce anewlevel of effort for designers and developers. Understand build process: It’s important tounderstand the concept ofthe Ionic build process andthe reason why this process isrequired. The build process takes the code from the app/ folder andcreates builds for allplatforms which have been added toyour project inwww/build/. (Configuration Files,Hooks Folder andResources Folder…). Test your app different ways: Test your appusing with the helpof ionic-lab, Simulators andReal Timedevices. Enable Native Scrolling: Native Scrolling allows Ionic tolistentoscrolling events onsupported web views. It makes Pull toRefresh. Add Crosswalk for Android: Every Android version runs adifferent WebView. The performance is different across devices, andit canbe reallybadonthe oldAndroid devices. Toget the sameexperience withfluidity andresponsiveness onevery Android device, you caninstall Crosswalk. It basicallyembeds the latest Chromium browser intoyour application Don’ts  Don't use Cordova unstable plugins  Don't make data-tap-disabled tag false:-it breaks touch/mouse events for 3rd party library (such asamap widget).  Don't use unstable release of node  Don’t use older version Cordova  Don't use older Ionic CLI.  Don’t store sensitive data inlocal storage.