How to Add Constants and use across Ionic3+ Apps
Steps
-
Created a folder constants and create a file app.configs.ts
-
Add below code which needs to be used across app
Created a folder constants and create a file app.configs.ts
Add below code which needs to be used across app
First go through the below articles
1. How to create a basic ionic3 + mobile application
Install Font-Awesome
npm install font-awesome --save
Create a config folder at root and create a file custom.copy.config.js
config/custom.copy.config.js
We can use ion-split-pane for showing the UI elements like Menu always in large viewports like Tablets which is common in iPads.
ionic start IonicMobileProject sidemenu
cd IonicMobileProject/
ionic serve
HTML/CSS/Javascript
https://developer.mozilla.org/en-US/docs/Web/CSS
https://developer.mozilla.org/en-US/docs/Web/HTML
https://developer.mozilla.org/en-US/docs/Web/JavaScript
Verifying HTML and CSS
To verify HTML: http://validator.w3.org/#validate\_by\_input
To verify CSS: http://jigsaw.w3.org/css-validator/#validate\_by\_input
Technology evaluation is some times challenging when we have best technologies available. Let us see who wins Angular or React.
Features
Angular 4
Angular 4 is an MVC Framework itself.
React
React is only a view library one needs to choose the different libraries to make the Best Ecosystem. Refer my post for choosing the better parts to build a React Echosystem
Summary: It takes time to build Ecosystem in React. Once built developers need not worry about the Ecosystem.
My favorite source code editor is Visual Studio Code. Every day I use it for my web application, PWA ( progressive web application) and Ionic Mobile apps development. It is a light weight open source code editor developed by Tech giant Microsoft.
We can customize the look and feel of the editor according to our taste and comfort. In this small blog post I will show how modify the workbench.
To build a production quality web application using React following are the parts (libs/ components/) which constitutes one of the best React Eco system or frame work are listed below.
Docs: https://facebook.github.io/react/docs/
Github: https://github.com/facebook/react
Github: https://github.com/reacttraining/react-router
Docs: https://reacttraining.com/react-router/web/example/sidebar
State container for JavaScript apps
Docs: http://redux.js.org/
Github: https://github.com/reactjs/redux/
https://redux-saga.js.org/
https://github.com/redux-saga/redux-saga
Promise based HTTP client for the browser and node.js
https://github.com/mzabriskie/axios
Docs: https://react-bootstrap.github.io/components.html
Github: https://github.com/react-bootstrap/react-bootstrap
A simple javascript utility for conditionally joining classNames together
https://github.com/JedWatson/classnames
Design patterns are solutions/patterns to problems which occurs in many situations.