• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Google AppEngine Workshop
 

Google AppEngine Workshop

on

  • 1,738 views

 

Statistics

Views

Total Views
1,738
Views on SlideShare
1,738
Embed Views
0

Actions

Likes
1
Downloads
10
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Google AppEngine Workshop Google AppEngine Workshop Presentation Transcript

    • Google AppEngine Workshop
      A crash course
    • Google AppEngine
      Not Google Apps
    • Why Google AppEngine?
    • Scalable
      Scales very very very easily
      automagically
    • Infrastructure as a Service
      Rent-a-car
    • Platform as a Service
      Taxi
    • Google AppEngine is PaaS
      Images demo
    • Who’s on AppEngine
      Optimizely.com, BestBuy.com,
    • Languages
      Python, Java, Go (Experimental)
    • Objective
      Gain a basic knowledge of Google AppEngine
    • Output
      Your own app
    • Questions
    • Setup
      https://coderbuddy1.appspot.com/testingentrance?group=albertsclass
    • Setup
      Create an app on http://appengine.google.com
      Default options; High Replication Datastore
    • Hello World!
    • Services
      Datastore, URLFetch, Users, Email, Memcache (if we have time)
    • Project URL Shortener
    • Create Page
      index.html
    • Datastore
      Really really fast storage
    • Storing Data
    • Create a Model
      Class Record(db.Model):
      name = db.StringProperty()
      data = db.TextProperty()
    • Queries
      query = Link.all()
      query.filter(‘url_hash’,’cKj4d’)
      results = query.fetch(20)
    • 15mins
      Shorten some URL’s
    • URLFetch
      Interact with other websites
    • URLFetch
      response = urlfetch.fetch(url=url)
      status = response.status_code
      content= response.content
    • Verify those URL’s
      Fetch ‘em first!
    • Users API
      Google Accounts
    • Users API
      app.yaml
      login: required
    • Users API
      user = users.get_current_user()
      user.nickname()
      user.email()
      user.user_id()
    • Users API
      db.UserProperty()
    • Users API
      user_id is unique at all times
    • Create History List for Users
      Let users see list of their previously shortened url’s
    • Email
    • Email
      mail.send_mail(
      sender=admin@app.com,
      to=user@example.com,
      subject=”hi”,
      body=”hello!”)
    • Shorten a link
      And tweet/facebook/plus it
    • Click and flood!
    • Memcache
      Need for speed
      (saves you money too!)
    • Memcache
      Need for speed
      (saves you money too!)
    • Memcache
      memcache.set(key,data)
      result = memcache.get(key)
    • Speed ‘em up!
    • That’s it!
      It’s your time to shine now…
    • Albert Padin
      SpellDial.com
      @albertpadin
      ph.albertpadin