• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: real verses Virtual memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: real verses Virtual memory


  • Subject: Re: real verses Virtual memory
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 10 Oct 2009 12:28:50 -0700

I meant to ask if you are accessing the HTTP or using WebKit's DOM API to
get at the pages content? Basically how are using using WebView to access
the data you need.
-Shawn

On Sat, Oct 10, 2009 at 12:25 PM, Shawn Erickson <email@hidden> wrote:

>
>
> On Sat, Oct 10, 2009 at 12:12 PM, jon <email@hidden> wrote:
>
>> I take the info off the website,  "data" if you like...   data that
>> changes or could change at any given time,  every second even....   and
>> process it,  and trigger an event if the data is to my liking.
>>
>> how would i get the data off a website,   formated in the only way i know
>> it?  which is how it is displayed on the website,  html formated,  (i don't
>> control the website).   is there a better process?
>
>
> WebView is primarily about displaying a webpage. It sounds like you aren't
> using it for that. So likely no need to pay for the extra overhead, etc.
>
> It sounds like you need to get at the HTTP content itself and pull data out
> of that, right? If all you need is the HTTP content you can drop down to
> things like Foundation's URL Loading System [1], maybe drop down lower to
> CFNetwork [2], or use something like libcurl (as Greg suggested, possibly
> the better suggestion depending on your exact needs).
>
> Also make sure to understand the standard HTTP caching so you can avoid
> unneeded data loads (note Mac OS X provided HTTP API honor this scheme, so
> you likely don't have to do any work of your own).
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
>
> -Shawn
>
> [1] <
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html
> >
> [2] <
> http://developer.apple.com/mac/library/samplecode/CFNetworkHTTPDownload/index.html
> >
> [3] <
> http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/libcurl.3.html
> >
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: real verses Virtual memory
      • From: jon <email@hidden>
    • Re: real verses Virtual memory
      • From: Thomas Wetmore <email@hidden>
References: 
 >Re: real verses Virtual memory (From: Shawn Erickson <email@hidden>)
 >Re: real verses Virtual memory (From: jon <email@hidden>)
 >Re: real verses Virtual memory (From: Bill Bumgarner <email@hidden>)
 >Re: real verses Virtual memory (From: jon <email@hidden>)
 >Re: real verses Virtual memory (From: Shawn Erickson <email@hidden>)
 >Re: real verses Virtual memory (From: jon <email@hidden>)
 >Re: real verses Virtual memory (From: Shawn Erickson <email@hidden>)
 >Re: real verses Virtual memory (From: jon <email@hidden>)
 >Re: real verses Virtual memory (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: real verses Virtual memory
  • Next by Date: Re: real verses Virtual memory
  • Previous by thread: Re: real verses Virtual memory
  • Next by thread: Re: real verses Virtual memory
  • Index(es):
    • Date
    • Thread