SPECIAL OFFER
Use code BACKTOLEARN during checkout to save 50% on books, eBooks, & videos. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Use zembly to Create Social Web Applications for: Facebook, Flickr, iPhone, and More!
With zembly you can create mashups and web applications drawing on content from virtually any web site, API call, or data stream. What’s more, zembly makes it as easy to deploy and scale next-generation web applications as it is to build them. Suddenly, the web itself becomes programmable: the browser becomes your development environment, and you can leverage building blocks created by thousands of developers, worldwide.
With extensive contributions from zembly’s creators, Assemble the Social Web with zembly is the first and only official guide to zembly. This book brings together all the knowledge and code you’ll need to build applications for today’s leading Web 2.0 platforms: Facebook, Flickr, Google Maps, iPhone, and more.
The authors begin with a high-level tour of zembly that clearly explains its goals, capabilities, core concepts, and long-term direction. You’ll quickly walk through constructing your first zembly application; then, learn step-by-step how to use zembly with each of today’s most powerful and popular social web platforms.
Coverage includes
Assemble the Social Web with zembly: Basics
Preface xiii
Acknowledgments xvii
Chapter 1: What Is zembly? 1
1.1 Social Programming 2
1.2 zembly’s Environment 4
1.3 zembly’s Audience 6
1.4 Publishing and Scaling with zembly 7
1.5 Monetizing with zembly 8
1.6 Coming to zembly Soon 8
Chapter 2: zembly Basics 11
What You Will Learn 12
Examples in This Chapter 12
2.1 Exploring the Samples 13
2.2 About You—Your Home Page 20
2.3 Your Keychain and Service Providers 24
2.4 Creating Your First Service: LoanPaymentService 25
2.5 Creating Your First Widget: LoanPaymentWidget 34
2.6 Drafts, Versions, and Timelines 42
2.7 Putting It All Together—Using the WeatherBug API 45
Chapter 3: Building Flickr Widgets 55
What You Will Learn 55
Examples in This Chapter 56
3.1 Using Flickr 56
3.2 Building a Slide Show Widget 57
3.3 Building a Service for Your Flickr Photos 67
3.4 Creating a Flickr User Slide Show Widget 71
Chapter 4: Building Zillow Widgets 79
What You Will Learn 79
Examples in This Chapter 80
4.1 Using Zillow 80
4.2 Building a Zillow Service 82
4.3 Building a Zillow Widget 88
4.4 Building a Google Maps Mashup 92
Chapter 5: Facebook Basics 101
What You Will Learn 101
Examples in This Chapter 102
The New Facebook Design 102
5.1 About Facebook 103
5.2 Creating a Facebook Application 114
5.3 Loan Calculator—Your First Facebook Application 121
5.4 zembly and Facebook—A Closer Look 130
5.5 BuddyPics—Using FBML and FBJS 137
Chapter 6: Facebook Integration 161
What You Will Learn 162
Examples in This Chapter 162
6.1 Capital Punishment—A Challenging Facebook Application 162
6.2 Using the Facebook Data Store and FQL 191
6.3 Mood Pix—Leveraging Facebook Integration 208
6.4 Facebook Connect—Looking Forward 231
Chapter 7: Working with Dapper 237
What You Will Learn 237
Examples in This Chapter 238
7.1 Getting Content with Dapper 238
7.2 Photo Search Widget 239
7.3 London Tube Widget 248
7.4 MLB Scores Widget 258
7.5 Creating a Feed Reader 265
Chapter 8: Widget Gallery 273
What You Will Learn 273
Examples in This Chapter 274
8.1 LiveWeatherBugWidget 274
8.2 LiveWeatherMapWidget 284
8.3 LondonTubeMapWidget 289
8.4 Yahoo! Pipes 298
Chapter 9: Building for the iPhone 309
What You Will Learn 309
Examples in This Chapter 310
9.1 Targeting the iPhone 310
9.2 iLoanPayment Widget 314
9.3 iLiveWeather Widget 322
9.4 iCapitalPunishment Widget 331
9.5 Facebook Integration—iPhoneHome Widget 337
9.6 iLondonTube Widget 348
9.7 iCandy—Samples from Apple 356
Index 363