Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > JS strangeness

Reply
Thread Tools

JS strangeness

 
 
Jorge
Guest
Posts: n/a
 
      07-28-2008
On Jul 28, 11:41*am, Hamish Campbell <HN.Campb...@gmail.com> wrote:
> ... could program JS with an Oscilloscope and a
> soldering iron if they really tried.


...and what's wrong with that ?

--Jorge.
 
Reply With Quote
 
 
 
 
Henry
Guest
Posts: n/a
 
      07-28-2008
On Jul 28, 4:01*pm, Aaron Gray wrote:
<snip>
> There's another library I have came accross that seems to do the
> same as jQuery but seems alot lighterweight and have not heard it
> mentioned on clj.
>
> * * * *http://www.domassistant.com/
>
> Have not used it, but it has four figure version numbers and is
> up to 2.7.1.1 so it _may_ be a good library.

<snip>

When reviewing John Resig's "Pro JavaScript Techniques" Robert Nyman,
the original author of DOMAssistant, wrote; "I would say that any
JavaScript web developer out there, from intermediate to advanced, can
learn something sincerely valuable from this book.". To read that book
and come to that conclusion does not bode well. It implies he uses a
definition of "advanced" "JavaScript web developer" that does not
involve the possession of the technical understanding that would
result in the reader seeing the many faults and nonsenses in the book
and so dismissing it out of hand as a learning source.
 
Reply With Quote
 
 
 
 
Aaron Gray
Guest
Posts: n/a
 
      07-28-2008
>"Henry" <> wrote in message
>news:60b34fcf-b2ff-418d-ac8f->...
>On Jul 28, 4:01 pm, Aaron Gray wrote:
>><snip>
>> There's another library I have came accross that seems to do the
>> same as jQuery but seems alot lighterweight and have not heard it
>> mentioned on clj.
>>
>> http://www.domassistant.com/
>>
>> Have not used it, but it has four figure version numbers and is
>> up to 2.7.1.1 so it _may_ be a good library.

><snip>
>
>When reviewing John Resig's "Pro JavaScript Techniques" Robert Nyman,
>the original author of DOMAssistant, wrote; "I would say that any
>JavaScript web developer out there, from intermediate to advanced, can
>learn something sincerely valuable from this book.". To read that book
>and come to that conclusion does not bode well. It implies he uses a


Oh, dear, oh, dear, oh, dear, this does not bode well, your right.

Or maybe he was just glosing over the errors and taking the good bits, some
people are like that and prefer not to emphasize the bad ?

Oh, well I have John's book on order so will see for myself. Just started
reading "Javsscript: The good parts" for some sanity.

Have you used/looked at DOMAssistant at all, has it been used in any medium
scale or large projects at all ?

Regards,

Aaron


 
Reply With Quote
 
Tim Streater
Guest
Posts: n/a
 
      07-28-2008
In article
<47446f14-55e2-4d75-9db3->,
Jorge <> wrote:

> On Jul 28, 11:41*am, Hamish Campbell <HN.Campb...@gmail.com> wrote:
> > ... could program JS with an Oscilloscope and a
> > soldering iron if they really tried.

>
> ...and what's wrong with that ?


Personally I use a bar magnet and a magnifying glass. Saves amazing
amounts of CPU.
 
Reply With Quote
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      07-28-2008
Henry wrote:
> When reviewing John Resig's "Pro JavaScript Techniques" Robert Nyman,
> the original author of DOMAssistant, wrote; "I would say that any
> JavaScript web developer out there, from intermediate to advanced, can
> learn something sincerely valuable from this book.". To read that book
> and come to that conclusion does not bode well. [...]


Well, there is certainly one valuable thing that can be learned from this
book: how not to write one


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
 
Reply With Quote
 
Dr J R Stockton
Guest
Posts: n/a
 
      07-28-2008
In comp.lang.javascript message <b7423ee2-9d42-4c73-9fc0-ab95455179d2@m3
g2000hsc.googlegroups.com>, Sun, 27 Jul 2008 12:18:24, Pink Pig
<> posted:
>On Jul 27, 2:51*pm, Thomas 'PointedEars' Lahn <PointedE...@web.de>
>wrote:
>> Pink Pig wrote:
>> > [...] But often, Firebug reports that the variable 'calimg' is not


>> PointedEars
>> --


>This is really not a helpful response. You might at least point me to
>the appropriate section of this massive document.


if you had prudently read the newsgroup before posting, you would have
known what to expect from Lahn.

--
(c) John Stockton, nr London UK. ???@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
 
Reply With Quote
 
Gregor Kofler
Guest
Posts: n/a
 
      07-28-2008
Aaron Gray meinte:

> There's another library I have came accross that seems to do the same as
> jQuery but seems alot lighterweight and have not heard it mentioned on clj.
>
> http://www.domassistant.com/
>
> Have not used it, but it has four figure version numbers and is up to
> 2.7.1.1 so it _may_ be a good library.


Dunno...

line 6:
var isIE = /*@cc_on!@*/false;

line 1330:
if (/KHTML|WebKit|iCab/i.test(navigator.userAgent)) {
DOMLoadTimer = setInterval(function () {
if (/loaded|complete/i.test(document.readyState)) {
DOMHasLoaded();
clearInterval(DOMLoadTimer);
}
}, 10);
}


And why would one want to do something like that:

window.addEvent = this.addEvent;
window.removeEvent = this.removeEvent;


Gregor



--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
 
Reply With Quote
 
Jorge
Guest
Posts: n/a
 
      07-28-2008
On Jul 28, 6:38*pm, Tim Streater <tim.strea...@dante.org.uk> wrote:
> In article
> <47446f14-55e2-4d75-9db3-2e23ffc67...@f63g2000hsf.googlegroups.com>,
>
> *Jorge <jo...@jorgechamorro.com> wrote:
> > On Jul 28, 11:41*am, Hamish Campbell <HN.Campb...@gmail.com> wrote:
> > > ... could program JS with an Oscilloscope and a
> > > soldering iron if they really tried.

>
> > ...and what's wrong with that ?

>
> Personally I use a bar magnet and a magnifying glass. Saves amazing
> amounts of CPU.


Oh, yes, the magnifying glass changed my life. But what's the magnet
for ?

--Jorge.
 
Reply With Quote
 
Hamish Campbell
Guest
Posts: n/a
 
      07-28-2008
> > On Jul 28, 11:41�am, Hamish Campbell <HN.Campb...@gmail.com> wrote:
> > > ... could program JS with an Oscilloscope and a
> > > soldering iron if they really tried.

> >
> > ...and what's wrong with that ?

>
> Personally I use a bar magnet and a magnifying glass. Saves amazing
> amounts of CPU.


Hehe. Yeah, my point was that there are serious experts in this forum,
but few programmers - even good ones - have the time/inclination/
ability to delve into the inner workings of JS (and even fewer get to
the point where they seem to be able to quote the spec at will!).

And hey, an accessible library like jQuery is [hopefully] a good entry
point for someone who will later learn *ahem* real JS.

Meanwhile, I'm fixing basic PHP/SQL injection issues because there are
plenty of php hobbyists who refuse to use frameworks because they
don't understand how they work (so they must be bad). It's basically
the reverse scenario - except that as far as I can see, it is better
to have someone bumbling around within a fixed set of functionality
than to be let loose to create havok in ways they don't understand.

return 'bye';
 
Reply With Quote
 
David Mark
Guest
Posts: n/a
 
      07-28-2008
On Jul 28, 5:08Â*pm, Hamish Campbell <HN.Campb...@gmail.com> wrote:
> > > On Jul 28, 11:41�am, Hamish Campbell <HN.Campb...@gmail.com> wrote:
> > > > ... could program JS with an Oscilloscope and a
> > > > soldering iron if they really tried.

>
> > > ...and what's wrong with that ?

>
> > Personally I use a bar magnet and a magnifying glass. Saves amazing
> > amounts of CPU.

>
> Hehe. Yeah, my point was that there are serious experts in this forum,
> but few programmers - even good ones - have the time/inclination/
> ability to delve into the inner workings of JS (and even fewer get to
> the point where they seem to be able to quote the spec at will!).
>
> And hey, an accessible library like jQuery is [hopefully] a good entry
> point for someone who will later learn *ahem* real JS.


That's what you fail to understand. It isn't. There is no argument
for it. Search the group. Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLAN strangeness PabloFiasko Cisco 0 06-01-2005 09:05 AM
Bookmarks Strangeness Drude Firefox 0 01-26-2005 01:28 AM
OT: Friday strangeness Ken Briscoe MCSE 6 05-30-2004 08:19 AM
Strangeness in bookmarks are still occurring Keith Bowes Firefox 0 01-06-2004 11:18 PM
autoincrement strangeness - please help! Munnki Perl 2 12-18-2003 10:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57