wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Google use Javascript or ajax on first page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Google use Javascript or ajax on first page?" Watch "Google use Javascript or ajax on first page?" New topic
Author

Google use Javascript or ajax on first page?

Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
What language google use on it's firstpage,
http://www.google.co.in/

is it ajax and javascript or something else





kust put some part of code... What type of scripting is this??? is this javascript?


USTAAD DESRAJ,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Yes


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
What type of coding is this Sir???

Have they used some third party thing into it or is this harcore Javascript only???


now is this CSS?

Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
What's Logic behing making this complicate code? and that in first page only?

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Ustaad Desraj wrote:What type of coding is this Sir???

Just JavaScript. They're obviously calling some Google-defined methods, but it's just normal JavaScript.

By the way, please avoid overuse of bold.

Have they used some third party thing into it or is this harcore Javascript only???

Just JavaScript.

now is this CSS?

Yes.

What's Logic behing making this complicate code? and that in first page only?

You'll need to ask Google.
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
I have written this to google, why to use such a confusing code. let's see what will they reply.





[NOBOLD]
is this CSS embeded in Javascript???
[/NOBOLD]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Ustaad Desraj wrote:I have written this to google, why to use such a confusing code. let's see what will they reply.
Good luck with that. Don't hold your breath waiting for an answer.

is this CSS embeded in Javascript???

No, it's an object literal.

If you have a copy of my book jQuery in Action, I recommend the appendix which explains important JavaScript concepts like this. Or, Crockford's book is a good resource.
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
Good luck with that. Don't hold your breath waiting for an answer


No i am waiting for reply without holding my breath

______________

See more what google does in last part of code.
i am now studying this code if i will have any problem kindly help

i am still thinking that it's some other language embedded like Facebook have FBML etc.

Thank you

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Ustaad Desraj wrote:i am still thinking that it's some other language embedded like Facebook have FBML etc.

You can think that all you want, but you'll be wrong the whole time. It's JavaScript. I don't understand why you don't believe it.

What part of it doesn't look like JavaScript?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Ustaad Desraj wrote:i am still thinking that it's some other language embedded like Facebook have FBML etc.

Well, as David pointed out, you're wrong. It's just JavaScript, pure and simple.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Also, please check your private messages for an important administrative matter. Thanks.
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
@David

Ok It's Javascript

@Bear

Ok It's Javascript


Now i will ask you few questions after studying code,
so get ready to reply
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Ustaad Desraj wrote:so get ready to reply
This makes me so not ready to reply.
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
you all lied me it's JQUERY not JAVASCRIPT................
Bad
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Ustaad Desraj wrote:you all lied me it's JQUERY not JAVASCRIPT................
Bad

And jQuery is written in what? (Not that I actually see any jQuery there.)

So not only are we not liars, you're petulant and rude.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Ustaad Desraj wrote:you all lied me it's JQUERY not JAVASCRIPT................
Bad


What is jQuery in any of that code you posted? I do not see a single line of it and I code in it every day and Bear wrote a book on it.

I think you need to relax before you get into trouble.

Eric
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
And jQuery is written in what? (Not that I actually see any jQuery there.)


JQuery is written in Java, i think it's Java Query

but i am not rude.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Ustaad Desraj wrote:
JQuery is written in Java, i think it's Java Query


I think you are 100% wrong. You better do some research before you make such bold statements. You can start here: http://jquery.com/

Ustaad Desraj wrote:
but i am not rude.


Your words are being read as very rude. It does not help you when you use Emoticons that show anger.

Eric
Ustaad Desraj
Ranch Hand

Joined: Jul 07, 2009
Posts: 34
it is JavaScript Library, does it means JavaScript Query??

Emoticons show me weeping crying, just hitting my head to wall for my less understanding.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Ustaad Desraj wrote:you all lied me it's JQUERY not JAVASCRIPT................
Bad


This is unacceptable. Not only are you accusing several industry experts of lying but you're accusing my friends of lying. Consider this your final warning if you wish to keep your account in good standing.


GenRocket - Experts at Building Test Data
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It's more likely it's written using GWT. GWT is *written* in Java (more or less), but is compiled to JavaScript, and you'll only see the JavaScript in the client (the browser).

As to why it's so "complicated", it's because it does a variety of things--it's not just a page with a text box on it.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

IMVHO, I don't think it is GWT.
There is no inclusion for any GWT generated artifacts.
Again, I may be wrong.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Google use Javascript or ajax on first page?
 
Similar Threads
Retrieve data from other server using JavaScript
resultset is not working properly
Java cookies ?
JQuery not working in JSF 2.0
Pop up calendar Problem