Book Image

Yii Project Blueprints

By : Charles R. Portwood ll
Book Image

Yii Project Blueprints

By: Charles R. Portwood ll

Overview of this book

Table of Contents (15 chapters)
Yii Project Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Discovering What's Nearby

When developing an application, we are often presented with the geolocation data for a particular point of interest. Whether it's a business location or a job that the end user is applying to, knowing what's around that particular location can provide immediate value to the user when making a decision about that location. For example, a user may want to know what restaurants are near a particular location or what public services or public transportation options are near a particular job the user is interested in. With the help of third-party location APIs, we can inform the user what is near a given point of interest. For our second application, we develop a web application that shows the user what is near a particular point of interest using information from the Google Places API. In this chapter, we also cover how to integrate third-party libraries into our application and how to improve the performance of our application with caching.