官术网_书友最值得收藏!

Chapter 2. Setting up the Environment the Right Way

In this chapter we will learn how to set up our development environment and build a dummy app to verify the correct setup. This chapter also defines the possible and popular issues faced during setup so that you do not face any bottlenecks during the process. The instructions are separated for Windows OS, generic Linux OS, and Mac OS.

As we have discussed, Ionic has evolved into an ecosystem from a basic framework. It is very important that we set up our development tools the right way to leverage the full potential of this ecosystem.

We will be setting up a lot of software just for developing Mobile Apps, but if we want to use the power of developing for multiple platform apps using a single codebase, we have to do this. Any Native App is always built using the Native Development tools and hence we have to install and set up a Native Mobile development environment for all the platforms.

Apart from the build tools of native environments, a dev environment should provide ease of use and speed to the developer. Installing Ionic CLI based on NodeJS and Cordova would provide the extensive power of bootstrapping Ionic Projects with starter templates, managing Cordova plugins, and other dependencies. Code Editor should provide the developer with complete support for the programming languages an app is being built in. We will learn about some popular Code Editors that gel with Ionic App development. We will also build a dummy app to gain confidence of starting the actual development.

The following topics will be covered in this chapter:

  • Setting up Native Mobile development environments:
    • For iOS
    • For Android
    • For Windows phone
  • Ionic Development Environments:
    • Installing NodeJS
    • Installing Cordova and Ionic CLI
  • Basic commands in Ionic CLI
  • Building a dummy app
  • Popular issues faced and solutions
  • An alternative to the installation fuss—Ionic Play
  • Using Ionic with different Code Editors:
    • Brackets
    • Sublime Text
    • Visual Studio
主站蜘蛛池模板: 甘洛县| 成安县| 上栗县| 饶阳县| 布尔津县| 冷水江市| 始兴县| 莎车县| 教育| 凯里市| 丹巴县| 德州市| 寿阳县| 正宁县| 胶州市| 北辰区| 元谋县| 梁山县| 正定县| 利辛县| 杂多县| 永丰县| 梨树县| 镇雄县| 明水县| 罗甸县| 象山县| 年辖:市辖区| 文山县| 湄潭县| 湾仔区| 江都市| 江永县| 肇庆市| 牟定县| 宾阳县| 宜良县| 武城县| 莱西市| 镇江市| 宣化县|