• 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
Threaded DOM operations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Threaded DOM operations


  • Subject: Threaded DOM operations
  • From: Matej Bukovinski <email@hidden>
  • Date: Mon, 21 Jun 2010 12:50:00 +0200

Hello everyone,

I'm using WebKit to download a bunch of websites. On those sites I need to perform some basic DOM tree operations (e.g., removing some DOM nodes). WebKit makes this very straightforward by using elements such as DOMNodes to represent the document three. The problem is that those operations can be time intensive and I would need them to be performed in a background thread. Unfortunately WebKit makes it very clear that it is not thread save (it even throws exceptions if you don't perform operations on the main thread).

Does anyone have a suggestion how one would modify a HTML DOM on a background thread? Perhaps some other framework that would allow me to construct a DOM tree from HTML source code and have basic tree operation support? I guess WebKit2 is/will be thread safe, but it's pre-production code and I would like to avoid using unstable code.

Thank you,
Matej

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Threaded DOM operations
      • From: Jens Alfke <email@hidden>
    • Re: Threaded DOM operations
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Getting Computer Name
  • Next by Date: NSAllocateCollectable memory allocation problem
  • Previous by thread: NSView Docs. Was: Binding -- or not -- a button created in code
  • Next by thread: Re: Threaded DOM operations
  • Index(es):
    • Date
    • Thread