Added: 1 year ago
From: GoogleDevelopers
Views: 68,066
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (41)

Sign In or Sign Up now to post a comment!
  • wave? lol

  • This guy has the most annoying voice, I wish they would dub it over with someone like Ian McKellen as narrator.

    And like most Google employees, you get that slight I'm-soooo-much-smarter-than-yo­u attitude. Ugh.

  • great session, i learned a lot from it

  • Guys... It's true that there is no use for this " hyper-redundant nonsense to get a simple JSON result back and parse it".

    But if you are actually writing a two-way rest app, using put, post, delete and caching, things become a lot more complicated. Unless you are willing to sacrifice performance.

    Just saying.

  • Thanks alot , is there any sample code that we can look at ?

  • I'm sorry, but this is Google's engineering culture run amok. REST architecture should never be this complicated. I get mobile small footprint, CPU management, radio, etc. There's still no excuse for this 5-layered, hyper-redundant nonsense to get a simple JSON result back and parse it. This tendency to over-complicate simple operations is all over the Android API, and seems to be the result of a bunch of PhDs writing APIs to satisfy CS theory rather than solve simple problems in a simple manner

  • @russellperry Well Separation of role always comes with a cost. Android System design also makes these worse.. you have content provider but need to execute the operation in a separate Service with a separate thread.

  • Cool. Rest Client Applications.

  • I would call them Android strategies for REST service, instead of architecture, also i think he failed mention that this approaches can be combined to have a better structured, specially the last two. But +1 for all the tips we should call this "The Dobjanschi Approach"

  • @ontotheos He does mentioned that you can perfectly come up with your own pattern if you understand the principles behind them. So, this talk is more of an overview on good patterns for RESTful apps than a How-To tutorial. And actually yes, I also found that a combination of the last two could make a better approach on the subject.

  • Pretty useful! Saves tons of time trying to solve the server sync problem by yourself from scratch!

  • @FernandoEscher87 no it doesn't it does not goes deep enough on the SyncAdapter

  • they could have given him some water. this is rough to listen to

  • Here's the presentation guys. now let's REST

    dl.google.com/googleio/2010/an­droid-developing-RESTful-andro­id-apps.pdf

  • @masiminder That link seems rather broken :(

  • @pushingprimitives

    if everything fails: google for an­droid-developing-RESTful-an­dro­id-apps.pdf

  • Now that I have watched this I have a great feeling to change the architecture of my app that is almost about complete....Thanks a lot..

  • he does seem nervous, but I think it's more of a language thing. I don't think English is his first language I detect a faint accent. He sounds like he's European.

  • Thank you very much for this info...

  • Great info Virgil! I've been searching the web for android REST examples and am so psyched to actually find a video from the guy that writes the apps!

  • He is a programmer, not a presenter. I understand him :)

  • He sounds like Yoda

  • @twerdster Damn, once it is heard it cannot be unheard...

  • @twerdster hehe

  • Comment removed

  • Real simple stuff in order to exchange data with REST, almost like Google managed to hire all Microsoft COM engineers (pre DirectX 9 anyone ?)

  • @GrEEnOneMK Exactly. Look, all you have to do is implement IUnknown, relate the ProdID in the registry to the GUID of your component...OK, let me back up. First you need to...no wait. See, it's very simple. No, wrong hive in the registry! Not HKCU -- HKLM, silly. Can't believe you thought it was HKCU, lol!

    They also apparently called in the whole Windows Installer team to help with the architecture as well. This is complicated stuff. I mean you have to call a server and parse the result!

  • I am happy to see that even google employees can be nervous at presentations. Now I feel not so bad about my own presentations anymore :)

  • Nice Thx for froyo and for speech

  • Why can you not zoom on the SCREEN, We dont need to see his face! I prefer to see the screen!!!!!

  • Great architecture/design discussion. Use this design for your next Android Restful app (please:)

  • Ditto below post.

    Very useful vid.

    Where can we find sample SOURCE for the pattern(s) described here?

  • Virgil--??

  • Comment removed

  • Has anyone seen any example code using the full Service pattern discussed here? I'm assuming the Twitter app will use one of these patterns, but it hasn't been open-sourced yet.

  • Excellent! Did I miss something because I have not seen anything about user authentication and session management. How do you authenticate the user before and during REST calls?

  • Perfect session with just the exact right level of detail: Not down into nitty bits of code, but with all necessary steps mentioned. Excellent!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more