Connecting Tech Pros Worldwide Help | Site Map

DOM Wrapper

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 12th, 2007, 02:35 AM
danjourno
Guest
 
Posts: n/a
Default DOM Wrapper

Hello all,

I have been trying to search for a Basic DOM wrapper for simple DOM
functions. I am wondering if someone can recommend any of the
exisiting Javascript Frameworks that possibly provide something like
this. I don't want something too high level, just something that gives
me very basic access to the DOM but has cross browser compatibility,
if there is such a thing.

Regards
Daniel

  #2  
Old December 12th, 2007, 06:55 AM
David Dorward
Guest
 
Posts: n/a
Default Re: DOM Wrapper

On Dec 12, 3:33 am, danjourno <danieljarret...@gmail.comwrote:
Quote:
I have been trying to search for a Basic DOM wrapper for simple DOM
functions. I am wondering if someone can recommend any of the
exisiting Javascript Frameworks that possibly provide something like
this. I don't want something too high level, just something that gives
me very basic access to the DOM but has cross browser compatibility,
if there is such a thing.
So long as you avoid having any elements having an id that matches the
name of a different element, and use direct property access rather
than setAttribute, then basic DOM is implemented pretty consistently
across browsers.

As libraries go, I generally use YUI (which does normalise things
across browsers quite nicely). http://developer.yahoo.com/yui/
  #3  
Old December 13th, 2007, 08:05 AM
none
Guest
 
Posts: n/a
Default Re: DOM Wrapper

Hi, Dean Edward's Base2 is probably what you are after.
See here http://dean.edwards.name/weblog/2007/08/names/
and http://code.google.com/p/base2/

It is just as you want, not a 2MB fully-fledged 'all bells and whistles'
'all singing and dancing' js library', but just a tiny library to patch
up browser differences when using the DOM, especially broken DOM events.

*However*, it is still in Alpha and progress is *very* slow, and as such
can only be obtained from Dean's website. http://dean.edwards.name/weblog/
  #4  
Old December 13th, 2007, 09:15 AM
David Mark
Guest
 
Posts: n/a
Default Re: DOM Wrapper

On Dec 13, 3:48 am, none <""ds\"@(none)"wrote:
Quote:
Hi, Dean Edward's Base2 is probably what you are after.
See herehttp://dean.edwards.name/weblog/2007/08/names/
andhttp://code.google.com/p/base2/
>
It is just as you want, not a 2MB fully-fledged 'all bells and whistles'
'all singing and dancing' js library', but just a tiny library to patch
up browser differences when using the DOM, especially broken DOM events.
I looked at that a few months ago. It does a lot of browser sniffing
and also augments host objects.

For simple DOM wrappers, there has been a lot of progress made in the
last few days in the group's "Code Worth Recommending" project.
Events are on ths short list of topics to address.
  #5  
Old December 13th, 2007, 01:05 PM
none
Guest
 
Posts: n/a
Default Re: DOM Wrapper

David Mark wrote:
Quote:
On Dec 13, 3:48 am, none <""ds\"@(none)"wrote:
I looked at that a few months ago. It does a lot of browser sniffing
and also augments host objects.
Oh ok. I never looked at it apart from the examples promulgated by Dean.
Quote:
>
For simple DOM wrappers, there has been a lot of progress made in the
last few days in the group's "Code Worth Recommending" project.
Events are on ths short list of topics to address.
It seems to me DOM events, including XMLHttpRequest objects are most in
need of being wrapped.
I dont have much need though, since I dont care about supporting every
browser known to mankind, and couldnt care less for anything older than IE6.

BTW, what do you think of this? http://www.robertnyman.com/domassistant/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.