A fast-moving development template

Source: Internet
Author: User

About two weeks ago, our BI team started to do mobile apps, and I was just in touch with mobile development, and with the help of my colleagues over the past two weeks, I think there are still some things that I can summarize and share, despite the limited knowledge and experience I've learned. If this has a little help for everyone, that would be great!

One of my deepest feelings is that mobile development does not require you to learn a dozen new technology stacks, such as Java, object-c, operating systems, and so on. It can be said that the smallest collection of technologies required for mobile development is the technology required for front-end Web development, including JavaScript, HTML, CSS, HTTP, and so on, which are familiar languages and protocols. Obviously, these web browser-based technologies are cross-platform, so it's possible to write a piece of code that runs on Android and iOS.  Of course, different operating systems want to run the same mobile application, the mobile application of the file organization structure, configuration information is different, developers need to compile the program on each platform. Fortunately, laziness is one of the noble qualities of a programmer. For developers, anything unrelated to the application itself is an extra job, so there are technologies like phonegap that liberate the developers from different platforms, avoid repetitive labor, and defend the dignity of the developer.


Life is too short, there are things that do not have to start from scratch. If you want to try mobile development, of course, do not want to start from scratch, the best is a command to let the program like a horse to run. In the spirit of this idea, I developed a template that required technical frameworks and technical practices, a rich template to quickly start a new project, and two might be fortunate enough to help a colleague in need. There are many deficiencies in the template, and more reusable things will be added in the future.



This template can be obtained here: Https://github.com/darlinglele/mobile-app-seed, the template has the following things.
    • Use NPM to manage the programs you need for your development environment, including PHONEGAP, Bower, Http-server, and more. Bower and NPM are similar, is the JS Library's dependency management tool, through these two tools, you can no longer go around to download and install the program.
    • The UI framework is FRAMEWORK7, a framework that not only looks like it can be spurious with iOS native apps, but also provides APIs that are very rich and excellent, highly efficient and enjoyable to develop.
    • MVC Framework Angularjs, MVC is a good design pattern and can't find a better reason not to do so.
    • Requirejs modularity, JS itself has too many problems, the intention of this thing is better for JS Modular design, it is not how magical, but will make the code decay slower.


In addition, I am working on this developer.html page, will include the following things, hoping to improve the development efficiency:
    • A web version of the simulator, can directly load our program, the screen switch.
    • By scanning QR code, you can download the installer
    • Let the integration server automatically generate the latest version of the installation QR code


at present the larger one lacks is the automated test, especially the end-to-end test, compares the strength, hoped can fill up as soon as possible.


A fast-moving development template

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.