SlideShare a Scribd company logo
PHP Development for 
Google Glass with Phass 
John Coggeshall 
@coogle
Welcome! 
 Thanks for coming to my talk! 
 A little about me 
- Core PHP Dev 
- Author 
- Speaker 
- Aquarium Hobbyist
Building GlassWare 
Building GlassWare for Google Glass comes in 
two different flavors 
-Native Applications 
-(Java-based Android SDK) 
-Web Applications 
-(Whatever you want, JSON API) 
This talk is going to focus (obviously) on Web 
applications
Building GlassWare – Getting Started 
Building GlassWare using the JSON API (called 
the Mirror API) is relatively straightforward 
-https://developers.google.com/glass/ 
Before we get started, let’s review some basic 
Glass concepts
Building GlassWare – Terminology 
The glass interface is 
represented primarily 
as a series of ‘cards’ 
chronologically 
ordered in a timeline 
Timeline cards are 
HTML/CSS 
- Can contain payloads 
(video, audio, etc.) 
- Can be grouped into 
bundles of cards
Building GlassWare – Terminology 
 Things your Glass interacts 
with (i.e Sharing) are 
‘Contacts’ 
- Contacts can be individuals 
(Share with Sue) 
- Contacts can be 
applications (Share with 
Twitter) 
- Building a feedback loop 
between glass and your 
application will require a 
contact
Building GlassWare – Terminology 
 Your Glass application can 
‘subscribe’ to events happening 
on glass and interact with them 
- Timeline card events for cards 
you create (i.e. card is inserted, 
deleted, etc.) 
- Subscribe to location events 
(i.e. user is located at these 
GPS coordinates updated every 
10 minutes) 
- Subscription notifications are 
handled through URI callbacks.
Building GlassWare – Example 
Here’s a few examples: 
- User takes a picture, shares with the ‘Twitter’ 
contact, which posts the picture to their feed 
-Your app receives a location update, and inserts a 
timeline card which shows the closest bar 
-Your app on a periodic basis inserts a kitten video 
into the timeline, and based on feedback (i.e. 
deleted?) automatically curates future videos.
Introducing Phass 
So what’s Phass? 
Phass is a Zend Framework 2 
component which abstracts away all 
of the plumbing for your Glass 
applications 
- OAuth2, Notification Events, 
Dealing with Attachments, Timeline 
items, Contacts, etc. 
 Of course, it’s open source and 
available on Github: 
http://github.com/coogle/phass
Introducing Phass 
The Goal is to like all frameworks, let you focus on 
your app and not the details 
- I.e. automatically creating the proper user context 
when a location event comes in, so you can focus 
on what to do when the event happens 
Designed as a ZF2 module intentionally – can be 
loaded up and immediately used by any ZF2 based 
application to make it Glass-friendly
Phass Demo App 
To facilitate both testing and assist people, there is 
a demo application for Phass as well 
-http://github.com/coogle/phass-demo 
-http://phass.coogleapps.com/ 
We’re going to use this demo app to walk you 
through some of the basics of using Phass to 
build Glass applications of your own!
…. Bring on the demos!
Upcoming enhancements 
More powerful view rendering based on common 
Glass card UIs 
-https://developers.google.com/glass/tools-downloads/ 
playground 
Implementing some of the less-used API calls 
that I haven’t gotten to yet 
Bug fixes 
Want to help? Pull Requests welcome!
Questions? Thanks! 
John Coggeshall 
@coogle 
http://github.com/coogle/phass 
http://github.com/coogle/phass-demo 
http://phass.coogleapps.com/

More Related Content

What's hot (20)

PDF
React native
NexThoughts Technologies
 
DOCX
Some Useful Flash API
Tushar Vaghela
 
PDF
Vue and Firebase Experiences
Isatu Conteh
 
PPTX
Top 13 Mistakes Committed by Angular Java script Developers
Sarah Elson
 
PDF
Developer Student Clubs NUK - Flutter for Beginners
Jiaxuan Lin
 
PPTX
Android Study Jams - Info Session
Google Developer Students Club NIT Silchar
 
PDF
Introduction to flutter
Wan Muzaffar Wan Hashim
 
PPT
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
Steve Drucker
 
PDF
PhoneGap: Building Mobile Applications with HTML/JS
Ryan Stewart
 
KEY
OpenMIC March-2012.phonegap
Kieran Gutteridge
 
KEY
Intro to PhoneGap
Ryan Stewart
 
ZIP
Titanium @ Minnebar
Kevin Whinnery
 
PDF
React native vs. ionic – which one is better and why
Moon Technolabs Pvt. Ltd.
 
PDF
Building a mobile app connected to WordPress with WP-AppKit
Benjamin LUPU
 
PDF
Vue3: nuove funzionalità, differenze e come migrare
Andrea Campaci
 
DOCX
Portfolio
Gun Hyuk Go
 
PPTX
PPT from Webinar Create Hybrid Mobile Application in 1 hour
Dhananjay Kumar
 
PDF
Desarrollo de app móviles con tecnlogías web
Abraham Calás Torres
 
PDF
Thunkable
Don Don
 
Some Useful Flash API
Tushar Vaghela
 
Vue and Firebase Experiences
Isatu Conteh
 
Top 13 Mistakes Committed by Angular Java script Developers
Sarah Elson
 
Developer Student Clubs NUK - Flutter for Beginners
Jiaxuan Lin
 
Android Study Jams - Info Session
Google Developer Students Club NIT Silchar
 
Introduction to flutter
Wan Muzaffar Wan Hashim
 
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
Steve Drucker
 
PhoneGap: Building Mobile Applications with HTML/JS
Ryan Stewart
 
OpenMIC March-2012.phonegap
Kieran Gutteridge
 
Intro to PhoneGap
Ryan Stewart
 
Titanium @ Minnebar
Kevin Whinnery
 
React native vs. ionic – which one is better and why
Moon Technolabs Pvt. Ltd.
 
Building a mobile app connected to WordPress with WP-AppKit
Benjamin LUPU
 
Vue3: nuove funzionalità, differenze e come migrare
Andrea Campaci
 
Portfolio
Gun Hyuk Go
 
PPT from Webinar Create Hybrid Mobile Application in 1 hour
Dhananjay Kumar
 
Desarrollo de app móviles con tecnlogías web
Abraham Calás Torres
 
Thunkable
Don Don
 

Viewers also liked (9)

PDF
Iluminacion uno
edudacosta.foto
 
PPT
PresentacióN Candela, Marina Y Leti
edudacosta.foto
 
PPT
Pwp Alex, Kiko Y Cris
edudacosta.foto
 
PPT
Advertising 3
MrG
 
PPT
Apache Con 2008 Top 10 Mistakes
John Coggeshall
 
PDF
A Photo Jouney In Switzerland
Jia Liu
 
PPS
PresentacióN Samu Y MaríA
edudacosta.foto
 
PPT
Pwp Blanca, Diana Y Edu
edudacosta.foto
 
PPT
Pwp Alex, Kiko Y Cris
edudacosta.foto
 
Iluminacion uno
edudacosta.foto
 
PresentacióN Candela, Marina Y Leti
edudacosta.foto
 
Pwp Alex, Kiko Y Cris
edudacosta.foto
 
Advertising 3
MrG
 
Apache Con 2008 Top 10 Mistakes
John Coggeshall
 
A Photo Jouney In Switzerland
Jia Liu
 
PresentacióN Samu Y MaríA
edudacosta.foto
 
Pwp Blanca, Diana Y Edu
edudacosta.foto
 
Pwp Alex, Kiko Y Cris
edudacosta.foto
 
Ad

Similar to PHP Development for Google Glass using Phass (20)

PDF
Videogram - Building a product with Sencha Touch
Alexander Wilhelm
 
PPTX
Rapid Prototyping Chatter with a PHP/Hack Canvas App on Heroku
Salesforce Developers
 
PPTX
An Introduction to Universal Windows Apps
Ken Cenerelli
 
PPTX
Flask
Mamta Kumari
 
PDF
Samsung
Peter-Paul Koch
 
PDF
Developing for Google Glass
Mark Billinghurst
 
PPTX
Expo - Zero to App.pptx
😎 Anthony Kariuki
 
PPTX
Flutter festival gdsc juet guna
SachinVerma869778
 
PPT
Swing is not dead
Piotr Dziewonski
 
PDF
From zero to hero with React Native!
Commit University
 
PPTX
Getting Started: Google Glass Apps with GDK
Zi Yong Chua
 
PDF
Adobe phonegap-workshop-2013
Haig Armen
 
PPTX
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
St. Petersburg College
 
PPTX
Phonegap android angualr material design
Srinadh Kanugala
 
PDF
Flutter vs Java Graphical User Interface Frameworks - text
Toma Velev
 
PPTX
Mobile Application and Developments.pptx
GevitaChinnaiah
 
PPT
Best Practices in Mobile Development: Building Your First jQuery Mobile App
St. Petersburg College
 
PDF
Progressive Web Apps –The Future of Apps
Ashish Saxena
 
PDF
Salesforce1 dev week UYSDUG 2014 - the force canvas spark
Aldo Fernandez
 
KEY
Adobe Air Application case study - nycoders.org 0509
Andrew Hunt
 
Videogram - Building a product with Sencha Touch
Alexander Wilhelm
 
Rapid Prototyping Chatter with a PHP/Hack Canvas App on Heroku
Salesforce Developers
 
An Introduction to Universal Windows Apps
Ken Cenerelli
 
Developing for Google Glass
Mark Billinghurst
 
Expo - Zero to App.pptx
😎 Anthony Kariuki
 
Flutter festival gdsc juet guna
SachinVerma869778
 
Swing is not dead
Piotr Dziewonski
 
From zero to hero with React Native!
Commit University
 
Getting Started: Google Glass Apps with GDK
Zi Yong Chua
 
Adobe phonegap-workshop-2013
Haig Armen
 
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
St. Petersburg College
 
Phonegap android angualr material design
Srinadh Kanugala
 
Flutter vs Java Graphical User Interface Frameworks - text
Toma Velev
 
Mobile Application and Developments.pptx
GevitaChinnaiah
 
Best Practices in Mobile Development: Building Your First jQuery Mobile App
St. Petersburg College
 
Progressive Web Apps –The Future of Apps
Ashish Saxena
 
Salesforce1 dev week UYSDUG 2014 - the force canvas spark
Aldo Fernandez
 
Adobe Air Application case study - nycoders.org 0509
Andrew Hunt
 
Ad

More from John Coggeshall (20)

PPTX
Virtualization for Developers
John Coggeshall
 
PPTX
Migrating to PHP 7
John Coggeshall
 
PPTX
Peek at PHP 7
John Coggeshall
 
PPTX
ZF2 Modules: Events, Services, and of course, modularity
John Coggeshall
 
PPTX
Virtualization for Developers
John Coggeshall
 
PPTX
Development with Vagrant
John Coggeshall
 
PPTX
Introduction to Zend Framework 2
John Coggeshall
 
PPTX
10 things not to do at a Startup
John Coggeshall
 
PPTX
Virtualization for Developers
John Coggeshall
 
PPTX
Puppet
John Coggeshall
 
PPT
Building PHP Powered Android Applications
John Coggeshall
 
PPT
Ria Applications And PHP
John Coggeshall
 
PPT
Beyond the Browser
John Coggeshall
 
PPT
Ria Development With Flex And PHP
John Coggeshall
 
PPT
Top 10 Scalability Mistakes
John Coggeshall
 
PPT
Enterprise PHP: A Case Study
John Coggeshall
 
PPT
Building Dynamic Web Applications on i5 with PHP
John Coggeshall
 
PPT
PHP Security Basics
John Coggeshall
 
PPT
Migrating from PHP 4 to PHP 5
John Coggeshall
 
PPT
Ajax and PHP
John Coggeshall
 
Virtualization for Developers
John Coggeshall
 
Migrating to PHP 7
John Coggeshall
 
Peek at PHP 7
John Coggeshall
 
ZF2 Modules: Events, Services, and of course, modularity
John Coggeshall
 
Virtualization for Developers
John Coggeshall
 
Development with Vagrant
John Coggeshall
 
Introduction to Zend Framework 2
John Coggeshall
 
10 things not to do at a Startup
John Coggeshall
 
Virtualization for Developers
John Coggeshall
 
Building PHP Powered Android Applications
John Coggeshall
 
Ria Applications And PHP
John Coggeshall
 
Beyond the Browser
John Coggeshall
 
Ria Development With Flex And PHP
John Coggeshall
 
Top 10 Scalability Mistakes
John Coggeshall
 
Enterprise PHP: A Case Study
John Coggeshall
 
Building Dynamic Web Applications on i5 with PHP
John Coggeshall
 
PHP Security Basics
John Coggeshall
 
Migrating from PHP 4 to PHP 5
John Coggeshall
 
Ajax and PHP
John Coggeshall
 

Recently uploaded (20)

PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 

PHP Development for Google Glass using Phass

  • 1. PHP Development for Google Glass with Phass John Coggeshall @coogle
  • 2. Welcome!  Thanks for coming to my talk!  A little about me - Core PHP Dev - Author - Speaker - Aquarium Hobbyist
  • 3. Building GlassWare Building GlassWare for Google Glass comes in two different flavors -Native Applications -(Java-based Android SDK) -Web Applications -(Whatever you want, JSON API) This talk is going to focus (obviously) on Web applications
  • 4. Building GlassWare – Getting Started Building GlassWare using the JSON API (called the Mirror API) is relatively straightforward -https://developers.google.com/glass/ Before we get started, let’s review some basic Glass concepts
  • 5. Building GlassWare – Terminology The glass interface is represented primarily as a series of ‘cards’ chronologically ordered in a timeline Timeline cards are HTML/CSS - Can contain payloads (video, audio, etc.) - Can be grouped into bundles of cards
  • 6. Building GlassWare – Terminology  Things your Glass interacts with (i.e Sharing) are ‘Contacts’ - Contacts can be individuals (Share with Sue) - Contacts can be applications (Share with Twitter) - Building a feedback loop between glass and your application will require a contact
  • 7. Building GlassWare – Terminology  Your Glass application can ‘subscribe’ to events happening on glass and interact with them - Timeline card events for cards you create (i.e. card is inserted, deleted, etc.) - Subscribe to location events (i.e. user is located at these GPS coordinates updated every 10 minutes) - Subscription notifications are handled through URI callbacks.
  • 8. Building GlassWare – Example Here’s a few examples: - User takes a picture, shares with the ‘Twitter’ contact, which posts the picture to their feed -Your app receives a location update, and inserts a timeline card which shows the closest bar -Your app on a periodic basis inserts a kitten video into the timeline, and based on feedback (i.e. deleted?) automatically curates future videos.
  • 9. Introducing Phass So what’s Phass? Phass is a Zend Framework 2 component which abstracts away all of the plumbing for your Glass applications - OAuth2, Notification Events, Dealing with Attachments, Timeline items, Contacts, etc.  Of course, it’s open source and available on Github: http://github.com/coogle/phass
  • 10. Introducing Phass The Goal is to like all frameworks, let you focus on your app and not the details - I.e. automatically creating the proper user context when a location event comes in, so you can focus on what to do when the event happens Designed as a ZF2 module intentionally – can be loaded up and immediately used by any ZF2 based application to make it Glass-friendly
  • 11. Phass Demo App To facilitate both testing and assist people, there is a demo application for Phass as well -http://github.com/coogle/phass-demo -http://phass.coogleapps.com/ We’re going to use this demo app to walk you through some of the basics of using Phass to build Glass applications of your own!
  • 12. …. Bring on the demos!
  • 13. Upcoming enhancements More powerful view rendering based on common Glass card UIs -https://developers.google.com/glass/tools-downloads/ playground Implementing some of the less-used API calls that I haven’t gotten to yet Bug fixes Want to help? Pull Requests welcome!
  • 14. Questions? Thanks! John Coggeshall @coogle http://github.com/coogle/phass http://github.com/coogle/phass-demo http://phass.coogleapps.com/