Skip to main content
main-content

Über dieses Buch

With Pro iOS and Android Apps for Business, you can take your web development experience and apply it toward creating a full-featured business app, from soup to nuts. Frank Zammetti shows you how to create a client app using jQuery Mobile wrapped in PhoneGap, and how to create a node.js-based server that uses MongoDB as its data store.

You never have to deal with learning Objective-C, Java or any other difficult-to-learn language. Instead, you can build on your existing HTML5, JavaScript and CSS experience to quickly and effectively build any app your business needs. You can apply this knowledge to iOS and Android apps as well as other mobile platforms since the technologies used support most modern mobile platforms as well.

You'll learn:

How to design a full-featured app, including requirements like offline access How to build the client-side of the app using jQuery Mobile, including adding stub code for calling the node.js server How to create a simple server with node.js and interact with it using REST How to use MongoDB with node.js for data storage How to use PhoneGap to ready your app for mobile deployment How to test and debug your app on iOS and Android Pro iOS and Android Apps for Business is for experienced web developers who need to get up to speed quickly in building iOS and Android apps for business. Are you ready to join the mobile revolution using the same technologies you already use to build great web applications? If so, this is the book for you!

Inhaltsverzeichnis

Frontmatter

The Client

Frontmatter

Chapter 1. Designing My Mobile Organizer

Designing a mobile app is no easy task! The wide variety of devices in the world makes it difficult to target them all effectively. Because of this, one of the more popular paradigms for mobilizing an app is to use the same technologies you build websites with: HTML5, JavaScript, and CSS. Doing so is, for most companies and developers nowadays, a good reuse of existing knowledge and skills. However, even after making the seemingly simple decision to follow that path, there are still a bewildering number of technology choices to be made.

Do you write all the code of the app running on the mobile device, or do you use a library to save you time? There are pluses and minuses to both answers. On the server, what technology do you use? Do you go with Java, PHP, or maybe Ruby on Rails?

Frank Zammetti

Chapter 2. Introducing jQuery and jQuery Mobile

We’re building a handy little PIM in the form of a mobile web app. We know what the app is going to do and at least roughly what it will look like. We even have a good idea of what technologies we’re going to use to do it. Now where do we begin?

Frank Zammetti

Chapter 3. Writing the Application with jQuery Mobile, Part I

Here we are, Chapter 3, and guess what? The preliminaries are out of the way, the setup is done, and now it’s time to jump into some real code!

Frank Zammetti

Chapter 4. Writing the Application with jQuery Mobile, Part II

It used to be that “just a little HTML would do ya,” as the saying goes. So-called brochureware sites were all the rage, especially for companies taking their first tentative steps onto the fledgling Internet market. Nowadays, though, it’s not nearly enough! The Internet-using public, including you and me of course, demand more. They demand interaction. They demand movement. Most of all, they demand that a website, and certainly a web

app

, do more than just sit there and burn itself into the screen-reddened eyeballs of the user viewing them.

Frank Zammetti

The Server

Frontmatter

Chapter 5. Introducing Node.js

With the client portion of My Mobile Organizer out of the way, it’s now time to turn our attention to writing the server-side component. We need a place to persist our data “in the cloud,” as it’s called these days, because storing it on the client isn’t the way to go if we want to share that data, something that My Mobile Organizer allows. (When data is stored on the cloud, of course, you can access it from multiple devices if you’re inclined to do so.)

Frank Zammetti

Chapter 6. Introducing MongoDB

Data storage. Most apps need it, and My Mobile Organizer is no exception. We’re talking beyond the localStorage you saw in previous chapters. That covered the client-side offline data cache, but we need something more persistent on the server side as the authoritative data store.

Frank Zammetti

Chapter 7. Writing the Server with Node.js and MongoDB, Part I

Are you ready to kick this pig? Over the past two chapters, you were introduced to Node.js and MongoDB, and you received the foundation of knowledge that you need to build My Mobile Organizer. Now it’s time to do just that!

Frank Zammetti

Chapter 8. Writing the Server with Node.js and MongoDB, Part II

Building the server in Chapter 7 wasn’t too difficult, I’m sure you’ll agree, but it’s only half of the equation. Responding to requests properly is fine, but it doesn’t help us actually work with data—as you’ll recall, there was no code in the previous chapter that dealt with that.

Frank Zammetti

Putting It All Together

Frontmatter

Chapter 9. Introducing PhoneGap

Now that My Mobile Organizer is complete—that is, both the client app and server-side API are in place—it’s time to talk about mobilizing this application.

Frank Zammetti

Chapter 10. The Final Build: Going Mobile with PhoneGap

You know how in

Star Wars, Episode VI: Return of the Jedi

it all leads up to Luke’s final battle against Darth Vader in front of the Emperor? All of the training, all of the hardship, all of the kissing of sisters leads inexorably to that singular point? Well, here we are, light saber in hand, standing before the Emperor over Endor!

Frank Zammetti

Backmatter

Weitere Informationen

Premium Partner

Neuer Inhalt

BranchenIndex Online

Die B2B-Firmensuche für Industrie und Wirtschaft: Kostenfrei in Firmenprofilen nach Lieferanten, Herstellern, Dienstleistern und Händlern recherchieren.

Whitepaper

- ANZEIGE -

Best Practices für die Mitarbeiter-Partizipation in der Produktentwicklung

Unternehmen haben das Innovationspotenzial der eigenen Mitarbeiter auch außerhalb der F&E-Abteilung erkannt. Viele Initiativen zur Partizipation scheitern in der Praxis jedoch häufig. Lesen Sie hier  - basierend auf einer qualitativ-explorativen Expertenstudie - mehr über die wesentlichen Problemfelder der mitarbeiterzentrierten Produktentwicklung und profitieren Sie von konkreten Handlungsempfehlungen aus der Praxis.
Jetzt gratis downloaden!

Bildnachweise