Mobile development services only: One penny does not spend, develop native application
Posted in 2014-02-12 10:49| 14,397 Reads | SOURCE CSDN| Reviews | Author Zhang Ning
Web Development Html5ionicjavascriptnitrous.iogithubphonegapfirebase
Summary: Using Nitrous.io Cloud programming environment, GitHub Code management, ionic framework based on Web rapid development, PhoneGap cross-platform compilation, firebase back-end service support and a series of mobile development tools and services, we can do not spend a penny, the development of native applications.
Do not spend a penny, you can do native application development, which in the past is not unthinkable at all. Today, however, mobile development tools and services are so varied that smart developers can complete native development as long as they grab a few handy ones at their whim. Today's introduction to the idea is actually very simple:
1. Use the Nitrous.io cloud programming environment to open the node. JS Box module.
2. Then use the GitHub account to connect to node. JS box.
3. Content section, you can use the Ionic framework and Web code to quickly develop the interface we need.
4. Use PhoneGap to compile the native Android app.
5. Finally, you can use Firebase to connect to your app as a backend service.
Nitrous.io
Nitrous.io provides an online integrated development environment, nitrous.io the programming environment fully ported to the cloud platform, developers as long as the network connection into the Nitrous.io, you can not be built in the local development environment to program, solve the programming environment in many languages, the problem of conflict. Up to now, Nitrous.io supports four programming environments such as Ruby, node. js, Python, and go.
In addition, Nitrous.io provides developers with a "sandbox" development environment (box) that includes 384MB of memory and 750MB running on a cloud service platform. Developers can create different boxes for different programming languages, separate boxes from each other, and each box can also start running and stop on its own.
Once you've created the node. JS box in Nitrous.io, you can use the online programming environment. To make versioning easier, you can connect to your GitHub account, where you'll need to add a public SSH key so that Nitrous.io and your GitHub account hang up. You need to create a new project on GitHub and hang the source address in Nitrous.io.
RELATED Links: Nitrous.io official website, Nitrous.io on Mobilehub homepage
Ionic
Applications developed using native code are often crowned with a high-speed, smoother and better user experience. But stubborn web designers and developers always want to find a way to use web code. They think web development is simpler and more convenient. (although also to face all kinds of JS of the abuse of heart) This is called Ionic's front-end frame, is playing cross-boundary. It can be used in building native applications, using HTML5, CSS3, and JavaScript. You are welcome to try and share the experience of the trial to us.
Ionic is not a solution that can completely replace phonegap, nor is it a real javascrip framework, which focuses on UI interaction design. This framework comes with sass and is available in a variety of angularjs extensions, many of which can be called, such as buttons, switches, header footers, tab bars, and so on. And most impressive, the Ionic team produced a great set of tutorials and examples.
Here, we are going to implement a very simple to-do-list application that records the work we do every day.
RELATED Links: Ionic official website, Ionic's Mobilehub homepage
PhoneGap
PhoneGap is an open-source, free mobile application development framework that enables developers to develop cross-platform mobile apps using Web technologies such as HTML, JavaScript, and CSS to support iOS, Android, BlackBerry, WebOS, Windows Phone, Symbian, and Bada system platforms. Before using PhoneGap, you may need a adobeid or register with your GitHub account.
After logging in, build a new app, select the repo you just built on GitHub, and once you've added these, you can choose the Build app.
Just compile the APK package, installed on the Android phone, the interface can be clicked, but you may find that it is not able to read and write to the database. The front end of the skin we have painted well, below we need strong back-end service support.
RELATED Links: PhoneGap official website, PhoneGap on Mobilehub homepage
Firebase
Firebase, a San Francisco-based backend service provider, launched its JavaScript API and cloud services last year, primarily providing real-time processing services for back-end data to web app developers. Developers using firebase don't have to worry about data storage issues, they can have their apps update data in real time without having to set up their own servers, and app users don't have to refresh their pages to get new data. It is learnt that Firebase started a week after the launch of more than 4,000 developers registered. Whether it's Android or iOS developers, you can use Firebase to develop native apps.
As mentioned above, Ionic can easily invoke various Angularjs extensions, where we can use Angularfire to connect the app to Firebase. Hooking up is simple, just add the call script to the
<p><!--Firebase and Angularfire Extensions--></p><p><script src= ' https:// Cdn.firebase.com/v0/firebase.js ' ></script><span style= ' font-size:14px; line-height:24px; " ><script src= "Https://cdn.firebase.com/libs/angularfire/0.5.0-rc1/angularfire.js" ></script></ Span></p>
After some testing, you can preview the real data in the firebase background.
RELATED Links: Firebase official website, firebase on Mobilehub homepage
Application Testing
Re-build a new APK package in PhoneGap and check it into your phone to enjoy your work. You can add daily task entries, edit content, and implement the most basic features of a to-do-list application.
Mobile development tools
Next? After that we need to constantly polish the product, design good-looking icons, elegant animations, and more. By using these mobile development services and tools, we can focus all our energies on development itself without spending a penny.
(Zebian/Zhang Ning)
This article for csdn original article, without permission not reproduced, if necessary reprint please contact market#csdn.net (#换成 @)
Build mobile development services for free