O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Turn That DB into a Personal Mobile App

We will put a mobile face on our web application in this mission. Once your site is deployed to a production server, you might want to connect to it with your smartphone from a comic book store to check or update your collection.

Mission Briefing

The mission, should you choose to accept it, is to detect if a mobile browser is viewing the site, and if so, to display a new custom mobile view that we will create. We will need to configure a mobile device to connect to our local network, and then allow it to access our development website. We will go ahead and create UI controls that use the associations between book and author, book and illustrator, and book and publisher. We will add an "issue number" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required