Menu

The Blogging of Meyer 107

zebrapaste10's blog

Top 10 Tips For Building Higher Cell Apps


What is Guerrilla Advertising and marketing?


I lately wrote and revealed a guide on cross-platform cell development referred to as “Build Native Cross-Platform Apps with Appcelerator: A Beginner's Information for Net Developers.” The submit that follows is an excerpt from that guide, with modifications for readability and length. It's composed of a listing of an important points I make in the e-book -- a cheat sheet, if you like.


While the following tips heart on the Appcelerator Platform, all the principles apply for any developer writing apps for a couple of mobile working system. If you retain the following pointers handy, they’ll show you how to keep targeted on constructing finest-in-class, cross-platform native apps. However, as you can see, the user interface is completely totally different across the platforms. They are every stunning and well designed, but the idea of a “beautiful Android app” could be very different from that of a “beautiful iOS app.” That’s as a result of beauty is relative to the platform.


Earlier than you design your apps, take a step again, find out how your target platforms work, and implement your branding around their specific parameters. And do not forget that even if your app renders differently throughout platforms, with Appcelerator, you’ll still be able to make use of a single code base and have a really high percentage of code reusability.


  • Using QuickInstall, you gave the Username, however the Password was generated for you

  • Firm owners and marketing administrators

  • ) “Mobile app engagement” campaigns can be utilized to

  • You must ensure that people can simply share your content and link to your webpage



  • There are a lot of misconceptions about code reuse with Appcelerator or any cross-platform tool, for that matter. Expecting a hundred % code reuse isn’t reasonable because it not solely means you’d have little or no control over your app’s UI/UX, but in addition your app would look the same throughout all target platforms. Of course, some individuals suppose that is the last word goal of a cross-platform device, but that’s misguided.


    That’s the aim of a web browser. Excessive reusability, however, is fascinating together with your app’s logic (which I explain in additional element in Chapter 7 of the book if you’re interested). Because we’re creating cross-platform apps, I recommend you build your code to be fully abstracted, as if it was a web service (an area Net service, if you like). Make all of your programming logic utterly impartial from the screens and even the platform during which it can run, so all your programming modules are platform-agnostic and, most essential, reusable across platforms.


    Then construct the native consumer interfaces, which can consume these “local Net services.” Utilizing this architecture, you can make sure all of the person interface code is totally decoupled from the logic, and each can movement independently. What’s more, with this approach it doesn't make any distinction if you’re utilizing a TabbedBar on iOS or a ViewPager on Android.


    After all, the person interface code is simply a client of your app logic. That will help you on this journey, I created an app template you need to use every time you create a new app (see below). This template is written utilizing Alloy, Appcelerator’s MVC framework. The template provides the MVC structure needed to take care of platform-specific person interfaces, with content and logic reusability. You possibly can download the app template from GitHub. OS tabs have a constructed-in NavigationController, which allows multiple ranges of navigation inside each tab.


    Android tabs, nonetheless, are shallow and should haven't any in-tab navigation. For example this, I’ll present you how the Fb app for Android had approached this incorrectly (it has since been fastened). The picture below reveals the former Notifications tab of the Fb app for Android. Per Android design guidelines, tapping on the Back button in the primary screen with tabs should kill the app.

Go Back

Comment