ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project
-
Upload
istanbul-tech-talks -
Category
Engineering
-
view
125 -
download
4
Transcript of ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project
![Page 1: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/1.jpg)
Buddycloud is an open source framework for adding user and group messaging to your app.
![Page 2: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/2.jpg)
In 2014 in-app messaging use doubles as users switch from social media to messaging
Sources: [1] [2]
![Page 3: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/3.jpg)
“Eventually, every mobile app becomes a chat app. I keep getting reminded.”
@johnolilly (John Lilly, Partner @ Greylock, former CEO @ Mozilla)
“We believe that messaging is one of the few things that people actually do more than social networking.”
Mark Zuckerberg, Facebook CEO
In 2015 messaging is everywhere
“The new Apple Watch's forthcoming messaging app has us imagine a world where we tell our loved ones we're alive in a literal yet visceral way—by sharing our heartbeat”
ReadWrite.com
![Page 4: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/4.jpg)
Developers ● Increases app interaction
● Increases app re-launches
● Increases app stickiness
● User-to-user help - reduces support
costs
Why is in-app messaging so important?
Users ● Feel part of a community
● Is a reaction to the rigid structure of
existing social-networks
● Quick help (e.g. AirBnB's in-app
messaging quickly connects the guest
with their host)
![Page 5: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/5.jpg)
but pain ● scaling, ● security, ● complexity. All that distract you from your core app
![Page 6: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/6.jpg)
The long tail of messaging
![Page 7: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/7.jpg)
Why in-app messaging matters
![Page 8: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/8.jpg)
@Fahertuer, we miss you
![Page 9: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/9.jpg)
Open: ✔
Federated: ✖
Realtime: ✔
Affordable: ✔
![Page 10: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/10.jpg)
Telkom South Africa Telephone
Open: ✔
Federated: ✔
Realtime: ✔
Affordable: ✖
![Page 11: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/11.jpg)
Open: ✔
Federated: kinda
Realtime: ✔
Affordable: ✔
IRC
![Page 12: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/12.jpg)
![Page 13: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/13.jpg)
![Page 14: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/14.jpg)
Open: ✔
Federated: ✔
Realtime: ✔
Affordable: ✔
![Page 15: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/15.jpg)
CU-SeeMe
![Page 16: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/16.jpg)
Open: ✖
Federated: "distributed"
Realtime: ✔
Affordable: ✔
Skype
![Page 17: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/17.jpg)
Open: ✖
Federated: ✖
Realtime: ✔
Affordable: ✖
Network Agents / General Magic
![Page 18: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/18.jpg)
3 Phases of Messaging
Unbundling international voice calling Unbundling mobile-based messaging The generic data layer
The exciting part!
![Page 19: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/19.jpg)
![Page 20: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/20.jpg)
The Future of Messaging 4 trends
![Page 21: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/21.jpg)
Everything is realtime
![Page 22: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/22.jpg)
Anything new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet? Anything new yet?
I'm online. Keep me updated. Mkaycheersbye. I'm going offline
![Page 23: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/23.jpg)
WebRTC
![Page 24: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/24.jpg)
Internet of Things
![Page 25: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/25.jpg)
![Page 26: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/26.jpg)
Silos interconnect
![Page 27: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/27.jpg)
Do you ?
![Page 28: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/28.jpg)
Evolution of in-app messaging Erector Set ➔ Fit for purpose
2013
2015
![Page 29: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/29.jpg)
![Page 30: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/30.jpg)
everything you need to know about XMPP
![Page 31: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/31.jpg)
Used by
![Page 32: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/32.jpg)
XMPP
● Real Time ● Identity ● Security ● Scalability ● Discovery ● Interoperability ● Authentication ● Authorization ● Provisioning ● Presence
![Page 33: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/33.jpg)
![Page 34: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/34.jpg)
<message from=’[email protected]' to=’[email protected]’ type=’chat’> <body>We have had a most delightful evening, a most excellent ball.</body> </message>
![Page 35: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/35.jpg)
![Page 36: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/36.jpg)
But...
XML? Where's my REST API? Mobile and Push? I want to send a file? Just chat?
![Page 37: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/37.jpg)
![Page 38: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/38.jpg)
Everything you need to know about Buddycloud
github.com/buddycloud
![Page 39: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/39.jpg)
Buddycloud extends XMPP
![Page 40: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/40.jpg)
github.com/buddycloud/android-client
github.com/buddycloud/webclient
Demo apps
![Page 41: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/41.jpg)
A small diversion into microservices
In computing, microservices is a software architecture style, in which complex applications are composed of small, independent processes communicating with each other using language-agnostic APIs. These services are small, highly decoupled and focus on doing a small task.
![Page 42: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/42.jpg)
Buddycloud is lots of microservices
![Page 43: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/43.jpg)
Everything is Publish-Subscribe
![Page 44: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/44.jpg)
A node for this, a node for that
![Page 45: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/45.jpg)
But wait, there's more
![Page 46: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/46.jpg)
The inbox
Problems ● slow discovery and retrieval ● networks aren't always online Solution: The Inbox approach ● improves time to glass ● catches up on missed posts when servers
come back online
![Page 47: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/47.jpg)
Looking at the media server
![Page 48: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/48.jpg)
Requesting media
![Page 49: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/49.jpg)
but wait there's more
● API server ● Push server ● Friend finder ● Taste engine ● Search
![Page 50: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/50.jpg)
Support Documentation
Developer community
Open Source License
Buddycloud SDK Social activity stream
User + group messaging
File sharing
Complete backend stack
Messaging
Push
Search
Hosting
Seamless scaling
Security updates
All data is fully portable
Solution: A complete messaging stack
![Page 51: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/51.jpg)
Open: ✔
Federated: ✔
Realtime: ✔
Affordable: ✔
![Page 52: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/52.jpg)
Buddycloud in action
![Page 53: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/53.jpg)
![Page 54: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/54.jpg)
![Page 55: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/55.jpg)
![Page 56: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/56.jpg)
github.com/buddycloud opensource web and mobile apps for you to extend
![Page 57: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/57.jpg)
Apache 2 License buddycloud.com/get-started
![Page 58: ITT 2015 - Simon Tennant - Your App Just Got Social: Adding Messaging to Your Project](https://reader031.fdocuments.us/reader031/viewer/2022020314/5878bbf31a28ab724c8b7961/html5/thumbnails/58.jpg)
Questions?