Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 WEB


  What drives the popularity of Node.js?

JavaScript is a programming language which can be used on both front end and back end. Its popularity should mainly be attributed to its power in front end side. While people seem not realize its power in back end until the appearance of Node.js. Node.js is a server-side software system designed for writing scalable Internet applications, notably web servers. Programs are written on the server side in JavaScript, using event-driven, asynchronous I/O to minimize overhead and maximize scalability.It was widely known by program...

15,202 0       POPULARITY NODE.KS NPM


  Let your page be alive

With development of Internet, Web pages lie everywhere. How to design a visually attractive web product is becoming a major concern of designers, A complete webpage consists of the combination of points, lines and layers. If you want to let your page design be alive, you should put your efforts on below 4 aspects.1. Flexible font useIn a webpage, texts are the major information carrier and are what users care mostly about. It's the main element to convey messages to readers. The font size, color,style or even line height will directly affect the visual effect.The above page is very concise, it...

2,887 0       UI DESIGN WHITE SPACE GEOMETRIC GRAPH


  How to let Google index AJAX contents?

There are lots of websites containing only one page now with the popularity of AJAX. The website will load different contents according to different inputs from users.This approach provides good user experience and it also helps save bandwidth, the drawback is that AJAX contents are not easy to be indexed by search engines. For example, if you have a website:http://example.comUsers can see different contents with the appended # structure in the URL:http://example.com#1http://example.com#2http://example.com#3However, the search engine will only index example.com and ignore the #. To resolve thi...

4,211 0       AJAX GOOGLE HISTORY SEARCH ENGINE


  Remote form submission

Remote form submission is way of submitting HTML forms from local to a particular remote server. This is used by many advertisers, spammers or even hackers to submit bad data to other websites in order to get what they want. They can write some automation scripts to help them do spamming.How can people do remote form submission and how to prevent this kind of attacks?Since a website can be accessed by almost every one, so one can save a local copy of a HTML form of a website through File->Save as on the browser. Then they only need to modify the action attribute of the form, instead of the ...

13,788 0       PHP SECURITY REMOTE FORM SUBMISSION


  9 useful jQuery code snippets

jQuery is one of the most popular JS library among front end developers because of its functionality and usability. Here we share with you some useful jQuery code snippets which can be used in our daily front end development.1. Smoothly return to page top$(document).ready(function() { $("a.topLink").click(function() { $("html, body").animate({ scrollTop: $($(this).attr("href")).offset().top + "px" }, { duration: 500, easing: "swing" }); return false; });});2. Modify image size$(window).bind("load", function() { // Modify i...

3,215 0       JQUERY CODE SNIPPET


  Relationship oriented website vs content oriented website

Relationship oriented website is a kind of website based on friend circle, people come to the website to share news with their friends and see what's happening around their friends, these websites include Facebook, Twitter and Tumblr. While content oriented website is a kind of website based on unique content, people come to the website to find information or find answers for their questions, these websites include TechCrunch, The Verge and Medium.Most of websites on the Internet nowadays belong to either one of them. They have their own advantages and disadvantages.The obvious feature of rela...

10,055 1       RELATIONSHIP ORIENTED CONTENT ORIENTED LOYALTY


  Name resolution order in JavaScript

To understand what value a variable has in JavaScript, we need to understand some concepts such as scope and name resolution order.JavaScript has two scopes; one is program level and the other one is function level. Unlike in C,C++ or Java, JavaScript has no block level scope. So a variable defined in a if block will still be available outside. For example, the below example:var foo = 1;function bar() { if (true) { var foo = 10; } alert(foo);}bar();The alert will display 10 since the variable foo defined in the if block can been seen by the alert() function.Next we need to understand the name...

7,144 0       JAVASCRIPT SCOPE NAME RESOLUTION


  TIOBE: PHP is coming back

TIOBE released the programming language index for July 2013. The highlight of this month is that PHP is coming back. It ranks the fifth and has an increase of 1.54% compared to January. There are no changes in the ranking for the top 4 languages. The reason why PHP is back may be attributed to the new PHP Zend Framework that was released in September 2012, but this reason is not very convincing. PositionJul 2013PositionJul 2012Delta in PositionProgramming LanguageRatingsJul 2013Delta Jul 2012Status11C17.628%-0.70%  A22Java15.906%-0.18%  A33Objective-C10.248%+0.91% ...

47,635 7       PHP TIOBE ZEND FRAMEWORK JULY