PHP Simple HTML DOM Parse

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

You know how JavaScript is so good at parsing the DOM? Like all that styles and everything... here is a PHP alternative... pretty impressive if you ask me :D

http://simplehtmldom.sourceforge.net/

I've already got a few ideas for it :D
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

that's good @bogey but i would say, you are putting client side programming to server side?

but what i studied is not to make server busy as it is an expensive thing (but not nowadays :D)
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

NO, it's still server side, it just parses the DOM like JavaScript does... it's pretty fast if you ask me... I didn't write that thing apparently, (I probably should have made a note of that in my former post).

It parses the DOM at execution time... not like Javascript. You still have to refresh the page to see it happen... it just like Javascript, you don't need to have variables in a template file or whatever... you can have simple DIVs, SPANs, Ps, and whatever else with an ID or CLASS reachable by DOM parser like JavaScript or, now, PHP.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: VanessaGilbert and 141 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.