UA-17470720-3

Jump to content


Photo
- - - - -

STV 3.0.4: Full parse.com integration!


  • Please log in to reply
9 replies to this topic

#1 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 29 April 2012 - 05:47 AM

Dear all,

We're really proud to announce that our latest STV 3.0.4 now fully integrates with parse.com! Parse.com is an amazing service that enables you to easily create server-side web services without requiring any coding on your part.

For more details on the integration, please refer to our new book update and the bundled sample application.

Thank you very much for all your support!
  • Smatombub likes this

#2 codebonbon

codebonbon

    Advanced Member

  • STV 3.0 Pro
  • PipPipPipPipPip
  • 181 posts
Reputation: 8
Good

Posted 29 April 2012 - 07:48 AM

Nice!

With a brand new documentation pdf. Keep up the good work!

Cheers!

#3 Paolo Cecchetti

Paolo Cecchetti

    Jr. Member

  • STV 5.0 Pro
  • PipPip
  • 20 posts
Reputation: 3
Good

Posted 29 April 2012 - 12:01 PM

Thanks

that's great. Parse is my favorite backend since the beta.
Only one concern. One of the most powerful Parse features is the caching system on queries.
But implementing it as Rest service the cache is not available.
So you can rely only on remote data, and full connection.

Any chance to see Parse implemented using the native libraries?

Thanks

Paolo

#4 Paolo Cecchetti

Paolo Cecchetti

    Jr. Member

  • STV 5.0 Pro
  • PipPip
  • 20 posts
Reputation: 3
Good

Posted 29 April 2012 - 12:45 PM

It seems there is a way with the latest version of AFNetwork.

The version you delivered with 3.04 doesn't include the

- (void)setCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse))block;

in the AFURLConnectionOperation. I think Matt and Scott added it in one of the latest pulls.

The setCacheResponseBlock should act this way:
Sets a block to be executed to modify the response a connection will cache, if any, as handled by the `NSURLConnectionDelegate` method `connection:willCacheResponse:`.
@param block A block object to be executed to determine what response a connection will cache, if any. The block returns an `NSCachedURLResponse` object, the cached response to store in memory or `nil` to prevent the response from being cached, and takes two arguments: the URL connection object, and the cached response provided for the request.


So I presume that it is something to take account in the STV+WebServices. I hadn't time yet to deeply go into 3.0 code so I only presume it could be possible to implement cache strategies.

Hope Tarek can enlight us:-)

Paolo

#5 Philip Teagle

Philip Teagle

    Starting Out

  • STV 2.0
  • Pip
  • 2 posts
Reputation: 0
Neutral

Posted 27 May 2012 - 09:48 PM

Any example code for using Parse.com persistence of CoreData objects?

#6 Carlos Torres

Carlos Torres

    Jr. Member

  • STV 5.0 Pro
  • PipPip
  • 15 posts
  • LocationSan Juan, PR
Reputation: 0
Neutral

Posted 14 June 2012 - 08:32 PM

Will there be a posibility to see this example in the near future?

#7 ahl1

ahl1

    Experienced Member

  • STV 3.0 Pro
  • PipPipPipPip
  • 52 posts
Reputation: 7
Good

Posted 23 June 2012 - 12:02 PM

The missing piece is supporting pointers in Parse. Today STV 3.0 does not support pointers so any relationships cannot be modeled. This means you have to play some tricks with processing the data after a person hits "Done", I believe. Somehow you'd have to set the relationship pointer manually after the fact.

Has anyone tried this?

Tarek your thoughts?

Here is another thread on processing after hitting "Done" but have not tried this - another example would help.
Processing after hitting Done

Also interesting thoughts on Parse Caching - would this mean data is cached as long as the app is running in the background... alleviating local Core Data storage?

thanks!

#8 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 23 June 2012 - 03:55 PM

Hi guys,

We will be supporting pointers, but we're currently super busy trying to wrap up all the documentation for the end of the month: http://twitter.com/s...345011482804225

#9 ahl1

ahl1

    Experienced Member

  • STV 3.0 Pro
  • PipPipPipPip
  • 52 posts
Reputation: 7
Good

Posted 23 June 2012 - 04:59 PM

Hi guys,

We will be supporting pointers, but we're currently super busy trying to wrap up all the documentation for the end of the month: http://twitter.com/s...345011482804225


Awesome!
Thank you so much Tarek!

#10 ahl1

ahl1

    Experienced Member

  • STV 3.0 Pro
  • PipPipPipPip
  • 52 posts
Reputation: 7
Good

Posted 05 July 2012 - 06:54 PM

Do you have a target release date for pointers?
This will help me in design and planning.
Thank you!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users