[Ionic + AngularJS Development]-personal daily management App (1), ionicangularjs

Source: Internet
Author: User

[Ionic + AngularJS Development]-personal daily management App (1), ionicangularjs
Preface

In the past year, I have been engaged in many front-end mobile phone development. Thanks to the improvement in mobile phone performance and the popularity of 4G, I feel that using hybrid technology to develop mobile apps can already meet the needs of more and more application scenarios. At the beginning of the new year, I made a phased summary of what I learned in 2016, recording the development history of a self-made "small and cute" Hybrid App!

[Additional Reading 〗

Hybrid Development of Enterprise Mobile Application Development

The most popular "Stars" in the JavaScript field in 2016

Experience and summary of Hybrid development of Hybrid APP

 

App Preview

 

(* Fuzzy Personal Data)

 

Introduction

Personal Daily Management App (PDM (Personal Daily Management), a small data record tool in the big data age, which allows you to plan Daily accounting, activity records, and items, arrange personal consumption and office studies scientifically and reasonably.

 

Use Technology

Ionic + AngularJS + SQLite

[Additional Reading 〗

Learning and organizing AngularJS-core features

 

Design and development environment (Android)
  • Install node
  • Install Android SDK
  • Install Python (the npm plug-in may be used later)
  • Install cnpm (npm large and medium-sized Chinese edition, after installing node, run the command line: npm install-g cnpm)
[Additional Reading 〗

Build a development environment and create a project

 

Create an ionic Project
1 ionic start PDM

It was originally a command that could be done simply, but in China it won't be too good-the network is stuck for half a day. Here we will introduce another method of "tortuous project initiation", starting with command line splitting:

1 ionic start PDM --v1 --skip-npm2 cd PDM3 cnpm install --save


At this point, the project has been created, and the command line is in the directory of the project. Enter:

1  ionic serve

You can see the running effect of the official Tabs template.

Architecture Directory Overview

The main functions of the project are implemented under the www directory, focusing on the following files:

  • Www/js/app. js -- initialize the project and customize various functions.
  • Www/views/* -- this is the implementation code of each interface of the project (separated by a sub-directory on one interface. When an html file is used, the view is displayed, and the js file is the Controller code)

 

For details, see the source code file.

The running effect is as follows:

[Additional Reading 〗

Ionic example app directory structure description

Ionic project structure-project directory

 

* [Source code file]

 

Author: Ken

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.