473,748 Members | 4,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: A Newbie's Must-Have Library

On 15 May, 04:55, Prisoner at War <prisoner_at_.. .@yahoo.comwrot e:
Well, in case anyone should need to know in the near future, here are
my recommendations for best beginner's books:
Or in another universe, where things are understood and site code is
stable and reliable, beginners don't even think about reading
JavaScript books until they've written some HTML and CSS.

You need it _VERY_ rarely. Using it without a foundation of good HTML
understanding leads to trouble. Few people can learn both from scratch
simultaneously, so it's useful to really grok the first first, which
means getting some hands-on and actually building content that way.

I write sites that use JavaScript for a vanishingly small proportion
of pages. They just don't need it. I work (for money) on complex web
apps that are built up almost entirely of JavaScript. We don't write
this by hand, because it's impossible to write large amounts of
JavaScript in an efficient manner. This stuff is all generated server-
side by frameworks like JSF & Facelets.
Jun 27 '08 #1
44 1681
On 2008-05-15, Andy Dingley <di*****@codesm iths.comwrote:
[...]
We don't write this by hand, because it's impossible to write large
amounts of JavaScript in an efficient manner.
Why? What's wrong with it?
Jun 27 '08 #2
On May 15, 10:44 am, Andy Dingley wrote:
On 15 May, 04:55, Prisoner at War wrote:
>Well, in case anyone should need to know in the near future,
here are my recommendations for best beginner's books:

Or in another universe, where things are understood and site
code is stable and reliable, beginners don't even think about
reading JavaScript books until they've written some HTML and
CSS.
<snip>

Would that also be the universe where novices appreciate that the only
things that they are in a position to sensibly say about a book they
read is how easy it was for them to read and understand, and nothing
about the quality of any advice/examples given or the technical
accuracy of the content? Given that the technical accuracy of
javascript books tends to be low, and the advice they give ranges from
the poor to the actively dangerous, an individual's ability to judge
those types of things seems a reasonable pre-request for taking their
book recommendations seriously.
Jun 27 '08 #3
On 15 May, 11:06, Ben C <spams...@spam. eggswrote:
On 2008-05-15, Andy Dingley <ding...@codesm iths.comwrote:
We don't write this by hand, because it's impossible to write large
amounts of JavaScript in an efficient manner.

Why? What's wrong with it?
Crappy architectural model that's about 20 years old, leading to a
piss-poor version of O-O

Floppy syntax, meaning that sloppy coding is hidden, and there's room
for too many semantic errors under that sloppy code.

No clear definition of the language standard, leading to widespread
proprietary extension. When you code "JS" should you be coding to the
ECMAScript standard, JScript, or a JavaScript? If you inherit a body
of code, what is it, and is it conformant to your project standards?
Jun 27 '08 #4
On May 15, 10:44*am, Andy Dingley <ding...@codesm iths.comwrote:
On 15 May, 04:55, Prisoner at War <prisoner_at_.. .@yahoo.comwrot e:
Well, in case anyone should need to know in the near future, here are
my recommendations for best beginner's books:
I think that we have already read enough to learn what your opinion is
worth.
Or in another universe, where things are understood and site code is
stable and reliable, beginners don't even think about reading
JavaScript books until they've written some HTML and CSS.

You need it _VERY_ rarely. Using it without a foundation of good HTML
understanding leads to trouble. Few people can learn both from scratch
simultaneously, so it's useful to really grok the first first, which
means getting some hands-on and actually building content that way.

I write sites that use JavaScript for a vanishingly small proportion
of pages. They just don't need it. I work (for money) on complex web
apps that are built up almost entirely of JavaScript. We don't write
this by hand, because it's impossible to write large amounts of
JavaScript in an efficient manner. This stuff is all generated server-
side by frameworks like JSF & Facelets.
You are considering only a minority of the possible types of use of
Javascript in web pages - just, in fact, the commercially-dominant
case.

Observe, for example, the scripting on many of the web pages of NASA
and associates.

--
(c) John Stockton, near London, UK. Posting with Google.
Mail: J.R.""""""""@ph ysics.org or (better) via Home Page at
Web: <URL:http://www.merlyn.demo n.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ...
Jun 27 '08 #5
On 15 May, 12:49, Dr J R Stockton <J.R.Stock...@p hysics.orgwrote :
Observe, for example, the scripting on many of the web pages of NASA
and associates.
So do you advocate that newbies should start out with an attitude of,
"Match NASA's complexity from the start" ?
Jun 27 '08 #6

You sound like a scorned woman, but I don't know what I've ever done
to you.

On May 15, 7:49 am, Dr J R Stockton <J.R.Stock...@p hysics.orgwrote :
>

I think that we have already read enough to learn what your opinion is
worth.

--
(c) John Stockton, near London, UK. Posting with Google.
Mail: J.R.""""""""@ph ysics.org or (better) via Home Page at
Web: <URL:http://www.merlyn.demo n.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ...
Jun 27 '08 #7
On May 15, 7:11 am, Henry <rcornf...@rain drop.co.ukwrote :
>

Would that also be the universe where novices appreciate that the only
things that they are in a position to sensibly say about a book they
read is how easy it was for them to read and understand, and nothing
about the quality of any advice/examples given or the technical
accuracy of the content?
Did I say these books were technically accurate? In fact, I even
noted that "The Book of JavaScript" contains outdated practices.
Given that the technical accuracy of
javascript books tends to be low, and the advice they give ranges from
the poor to the actively dangerous, an individual's ability to judge
those types of things seems a reasonable pre-request for taking their
book recommendations seriously.
These books are for newbies. That means "accessibility, " first and
foremost. As a newbie, I know what works for newbies who aren't
programmers.

However, it's an unfortunate consequence of "internet culture" that
books, particularly technical books though increasingly all books, are
released with all kinds of errors, from orthographical to just plain
wrong information.

So, a caveat to my review: LOOK UP THE BOOKS' ERRATA PAGES ON THE WEB
-- AND KNOW THAT NOT ALL ERRATA HAVE EVEN BEEN DOCUMENTED.

Jun 27 '08 #8
On May 15, 5:44 am, Andy Dingley <ding...@codesm iths.comwrote:
>

Or in another universe, where things are understood and site code is
stable and reliable, beginners don't even think about reading
JavaScript books until they've written some HTML and CSS.
Actually, I'm still awaiting the book that teaches all three right
from the get-go: they are but three aspects of a greater whole, and
thus a holistic approach right from the beginning would be great. I
mean, it wasn't until perusing my third book that I really began to
appreciate the DOM, and what it means for web development....
You need it _VERY_ rarely.
I would tend to agree, but as per my "Contradict ion of Advice?" thread
at
http://groups.google.com/group/comp....0e87cba80582fd,
I have to wonder whether it's *ever* necessary, then -- I mean, is the
only legitimate use of JavaScript for bra-size calculators?? 8->
Using it without a foundation of good HTML
understanding leads to trouble. Few people can learn both from scratch
simultaneously, so it's useful to really grok the first first, which
means getting some hands-on and actually building content that way.
(X)HTML can be learned in one day, and mastered in about two or
three. CSS, maybe a week to learn, and months to master. Depending
on just how precisely "simultaneously " is defined, I think it's very
possible to grok them all at once.
I write sites that use JavaScript for a vanishingly small proportion
of pages. They just don't need it. I work (for money) on complex web
apps that are built up almost entirely of JavaScript. We don't write
this by hand, because it's impossible to write large amounts of
JavaScript in an efficient manner. This stuff is all generated server-
side by frameworks like JSF & Facelets.
Wow, that's interesting...I had no idea JavaScript was so
"inefficient".. .I thought it was supposed to be "more efficient" (if
less powerful) than CGI???
Jun 27 '08 #9
On May 16, 9:21 pm, joebloe <remid0d...@gma il.comwrote:
>

I suppose that on the one hand you can say that JavaScript is
overused; but on the other hand, there are some of us who believe
(correctly so) that it is a powerful and severely underutilized
programming environment. A general purpose programming language with
little need for boilerplate and with convenient access to the de facto
user interface standard? Sign me up. Oh, wait, I'm already signed up.

Yeah, that's the spirit!

Though I'm a newbie...so in what ways are JavaScript severely
underutilized?? Just curious.

But yeah, JavaScript has actually revived my long-dormant interest in
computer programming! I've already pre-ordered O'Reilly's "Head First
Programming" (with Python)...I only like computer programming when
it's directly relevant to something I'm looking to do -- learning how
to do math stuff is boring to me, sad to say...but insofar as
JavaScript may be used to create "special effects" for a webpage, I'm
hooked! Yeah, I know that seems to cheapen JavaScript in many a
purist's eye but hey it's how I learn....
Jun 27 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1303
by: igmox | last post by:
hi, i am a complete newbie and got stuck. my question is about costumers and prices Customer_ID CustomerName CustomerType 1 John 2 2 Joe 3 3 Mary 2 4 Nicky 1 5 Steve 3 and prices like:
0
2022
by: bradvanwick | last post by:
I've got URLs that look like: www.mysite.com/template.php?id=pagetitle www.mysite.com/template.php?id=folder/pagetitle I want the URLs to look like: www.mysite.com/pagetitle www.mysite.com/folder/pagetitle
1
1274
by: ramapv | last post by:
How to order the records in a table such that the elements in a field strating with a particular alphabet apper first. ie.,the elements in the field names are as follows: amar Bob joy mana sana xena
5
1782
by: mattmao | last post by:
Greetings everyone. The Newbie is coming back from uni... I knew making a good form validation JavaScript would be a piece of cake for you guys, but as a novice programmer as me, I still find some difficulties to make my code perfect. Yeah, I made it, by the help of the generous Google, it goes like this: ------------------------------My code Starts-------------------------------
0
1170
by: Twayne | last post by:
Twayne wrote: That's the verification I was looking for I think. There are times that doesn't seem to be so, but perhaps I'll looking at the wrong side of the tree in the wrong forest ... I think I let POST usages confuse me. .... D'oh! No, I hadn't thought of looking at the souce in my browser! Nothing like being half-armed and half-fast, huh? Guess I better switch
12
1852
by: Philipp.Weissenbacher | last post by:
Hi all! This is most certainly a total newbie question, but why doesn't the following code cause a segfault? void insertion_sort(int a, int length) { int i; for (i=0; i < length; i++) { int j, v = a;
3
1902
by: Atropo | last post by:
Hi, all. As you can see I'm just begining on C. with the tutorial "Sams Teach Yourself C in 24 Hours" as a starter. on aix 5.2 when compiling a helloWorld the gcc throws some warnings the system adminitrator does'nt know anything about. could you point me where to check the gcc conf. or what i'm doing wrong Atropo@seagullmore captura.c #include <stdio.h>
23
2141
by: student.matt | last post by:
ok i am trying to solve this little problem i have my program waits for the 1st system() call to finish before starting the next i will just throw an example of what i mean out in this example it waits for the 1st kedit to be closed before it opens the second #include <stdio.h> #include <stdlib.h> int main()
9
1275
by: BillE | last post by:
I have a C# console application. The class which contains the "static void Main()" method inherits from a base class. The base class contains a function GetSomething() When I try to call this function GetSomething from Main(), I get the error An object reference is required for the nonstatic field, method, or property "GetSomething()"
5
3860
by: Gilbert | last post by:
Apologies if I'm posting this to the wrong group. I want to know if it possible to emulate Java servlet functionality in C# and .net. What I want to do is to be able to do is create a C# program that sits listens for an HTTP request to a specific URL and then access the C# equivalent of the HTTPServletRequest object so I can access the request parameters directly. I've googled and found out about the WebClient - what I want is the...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8243
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.