Early server selection in web site

131 3

I've a lot of, and many people are ready to go on the road. So the first problem you encounter is where your website is in place. But I'm not talking about idc, because it's easy to turn into. I'm trying to discuss the problem of server selection, most of which you choose to place servers on their own servers, and of course, don't exclude your servers.

The server selection is much larger than the desktop selection, and the price isn't good. The price of buying a card server is basically the start of a person who hasn't been able to bear it, such as dell 's most server, which may not be.

And someone chooses their own server, but the most important thing to do is stability, and if you don't have experience, it's easy to get compatibility. Someone chooses to take a normal desktop as a server ( which might be your home ), but the desktop thickness is too large to take up nearly four. So I want to talk about how to choose the web site in the early days, please share your experience.

6 Answers

75 4

Sina webo input box without input to flashing pink background implementation code

function normal(id,times)
{
 var obj=$("#"+id);
 obj.css("background-color","#FFF");
 if(times<0)
 {
 return;
 }
 times=times-1;
 setTimeout("error('"+id+"',"+times+")",150);
}
function error(id,times)
{
 var obj=$("#"+id);
 obj.css("background-color","#F6CECE");
 times=times-1;
 setTimeout("normal('"+id+"',"+times+")",150);
}

This allows you to use the following code to display the red background flicker when the component content doesn't conform to the rule.

error("weibo-text-area",3);
...