IT'S NOT JAVA!!

Story: Raspberry Pi web server tutorialTotal Replies: 3
Author Content
theBeez

Jul 13, 2014
7:22 AM EDT
The author consistently calls "JavaScript" "Java". It's not - very confusing for those not knowing the environment.
vainrveenr

Jul 13, 2014
11:07 AM EDT
Quoting:The author consistently calls "JavaScript" "Java". It's not - very confusing for those not knowing the environment.


The source of this confusion starts in the author's Step 06:
Quoting:Step 06 Querying your Java

The third tab allows you to edit the jQuery, making the site more interactive. We can make it create a message on click with:

$(document).click(function() { alert(‘You clicked the website!’); } );


The author's error continues into the ending "Java"-code section.

Perhaps the author should have checked their writing at the main jQuery page http://jquery.com/. jQuery is clearly defined at the very top of the page in the 'What is jQuery?' section:
Quoting:jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.


---

Another potential source of confusion might very well be Google Coder's requirement for its own company's Chrome browser. As written in Google Coder's 'Frequently Asked Questions':
Quoting:How much does it cost and what do I need to get started?

Coder is an open source piece of software that’s free to download. To run it on your Mac or PC, you’ll need a Raspberry Pi computer, a compatible power cord, the Google Chrome browser, and a 4GB (or larger) SD Card.


Some persons have even expressed varying degrees of concern here at LXer about Google and its Chrome browser, e.g., in the recent FF-related thread 'I'm using it more and more', found at http://lxer.com/module/forums/t/35476/





notbob

Jul 13, 2014
11:36 AM EDT
> Some persons have even expressed varying degrees of concern here at LXer about Google and its Chrome browser....

Ya' think!?

Gobble, who's raison d'être is collecting every shred of information on you and selling it, is like the Wallmart division of the NSA. Would you accept a cost free coder and browser from the NSA? Sadly, I think there are some that would.
gary_newell

Jul 14, 2014
3:46 AM EDT
It would be good to know what the server part is running. Can it handle a server side scripting language such as PHP for example?

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!