Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Google use Javascript or ajax on first page?

 
Ustaad Desraj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
Ustaad Desraj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's Logic behing making this complicate code? and that in first page only?

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please check your private messages for an important administrative matter. Thanks.
 
Ustaad Desraj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ustaad Desraj wrote:so get ready to reply
This makes me so not ready to reply.
 
Ustaad Desraj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you all lied me it's JQUERY not JAVASCRIPT................
Bad
 
Ustaad Desraj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMVHO, I don't think it is GWT.
There is no inclusion for any GWT generated artifacts.
Again, I may be wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic