JavaScript: The Good Parts


Google Tech Talks Web Exponents presented by Doug Crockford February 27, 2009 blog post: google-code-updates.blogspot.com JavaScript is a language with more than its share of bad parts. It went from non-existence to global adoption in an alarmingly short period of time. It never had an interval in the lab when it could be tried out and polished. JavaScript has some extraordinarily good parts. In JavaScript there is a beautiful, highly expressive language that is buried under a steaming pile of good intentions and blunders. The best nature of JavaScript was so effectively hidden that for many years the prevailing opinion of JavaScript was that it was an unsightly, incompetent abomination. This session will expose the goodness in JavaScript, an outstanding dynamic programming language. Within the language is an elegant subset that is vastly superior to the language as a whole, being more reliable, readable and maintainable. Speaker: Douglas Crockford Douglas Crockford is a product of our public education system. A registered voter, he owns his own car. He has developed office automation systems. He did research in games and music at Atari. He was Director of Technology at Lucasfilm. He was Director of New Media at Paramount. He was the founder and CEO of Electric Communities/Communities.com. He was founder and CTO of State Software, where he discovered JSON. He is interested in Blissymbolics, a graphical, symbolic language. He is developing a secure programming language. He

Technorati Tags: , ,

Tags: , ,   Posted in Domain Names & Verisign

JavaScript Help for Website?

Hello,

I found this code that can display a visitor’s name. However, there is an extra bit I don’t want, the last visit date of the visitor, can someone tidy this up a bit?

NewCode:
this code is rather long can someone tidy it up a bit? I do not want the last visit time, just the name and the option to change the name.
thanks

Technorati Tags: , ,

Tags: , ,   Posted in Expired Domain Names

Can you help me with this JavaScript.??? (read the description)?

I saw in W3school they mention this is the way to write a JavaScript (this first step)

function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ “=” +escape(value)+
((expiredays==null) ? “” : “;expires=”+exdate.toGMTString());
}

and I saw another site it mentions in this way

document.cookie = “name=value; expires=date; path=path;
domain=domain; secure”;

but you can see in W3schcool example
there is this weird part

((expiredays==null) ? “” : “;expires=”+exdate.toGMTString());

can any one explain what is that mean.?? and why we want to use “?” mark and why there is
: and ; two marks ,and how is it fit to

document.cookie = “name=value; expires=date; path=path;
domain=domain; secure”;

this demonstration

Technorati Tags: , , , ,

Tags: , , , ,   Posted in Expired Domain Names

Javascript Visitor’s Name Code?

Hello,
I want to include a code on my site, this script will display the visitor’s name but they would have to enter it before entering the site, and then a cooky would be put there, welcoming them back.
My issue is that if the person press escape it will say “Hello null!” I want to change it to “Hello Visitor if they decide to ignore the message box.
Please view the below code, tidy and fix it if you can, if anyone know a better code please share.

Thanks.

Technorati Tags: , , ,

Tags: , , ,   Posted in Expired Domain Names

Google I/O 2009 – Keynote Day 1 (full)

Google I/O 2009 – Keynote Day 1
full version

Duration : 1:28:1

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , ,

Tags: , , , , , , , , , , ,   Posted in Domin Name Industry News