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

 WEB


  Which one has a worse reputation, JavaScript or PHP?

There has a been a lot of criticism of PHP over being a badly designed programming language. JavaScript seems quite a similar language with loose-typing and flexible array declarations/memory management, but is widely adopted by industry leaders such as Google. Google even has a JavaScript style guide. Many people think that PHP has a worse reputation than JavaScript. Carlos Ribeiro gave his analysis on a high level which doesn't touch the language syntax.Attributing JavaScript success to it being "the only language for the job" is unfair. JavaScript is hands down a much better language than P...

10,312 0       PHP JAVASCRIPT COMPARISON REPUTATION


  What is Asian UI design like from a Western point of view?

From a western point view, Asian UI designs are usually quite dense and compact. People in Asia are think more in detail when they start design something. They think these designs have following characteristicsDense tightly packed textTiny low-quality imagesMore columns than you can countBright clashing colours and flashing bannersOveruse of outdated technologies like FlashWhile the Western design is much simpler. They are treating the design as a whole, so usually we will see some quite smooth designs, especially in some single page designs. Also, they like to adopt new technologies when they...

10,219 0       UI DESIGN WESTERN ASIAN


  PHP Apache MySQL Set-up Note

With the emergence of WAMP, LAMP, PHP developers are liberated from the tedious work of setting up PHP environment. Since PHP, Apache and MySQL are so tightly bundled, WAMP and LAMP provide a setp solution for setting up a PHP environment which includes the programming programming environment, server and database. But for a PHP who wants to learn more, you have to try to set the PHP environment yourself by installing PHP, Apache and MySQL manually and configuring them.Below is a simple note on how to setup the PHP environment on Mac OS X. This setup guide should also be helpful on other system...

4,518 0       PHP APACHE MYSQL


  You can get properties of pseudo-element using JavaScript now

The pseudo-element6 in CSS is extremely useful, you can use it to create CSS triangles and lots of other elements without overuse many HTML elements. In the past, you cannot get the property value of pseudo-element in CSS using JavaScript. Now you can call a new method in JavaScript to get them easily.Assume you have below CSS codes:.element:before { content: 'NEW'; color: rgb(255, 0, 0);}To get the properties in .element:before, you can use below JavaScript method:var color = window.getComputedStyle( document.querySelector('.element'), ':before').getPropertyValue('color')You can put the pseud...

8,370 0       JAVASCRIPT PROPERTY PSEUDO-ELEMENT


  Why does LinkedIn migrate to NodeJS from Ruby?

Node.js, the server-side JavaScript-based software platform used to build scalable network applications, has been all the rage among many developers for the past couple of years. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Because of these advantages, there are many websites are migrating to Node.js.One of them is LinkedIn.LinkedIn was initially built on Ruby which contained 60K lines of code, later in 2011, LinkedIn started to rebuild their core mobile servi...

15,962 0       RUBY LINKEDIN NODEJS


  Essential skills any web developer should have

As a web developer, besides writing HTML code, there is much more to do before the site can go live. You may consider about user experience, device compatibility, security etc. To be a good web developer, you should acquire some essential skills for web development. Below we list some of them. Some of them you may be familiar with a long time ago, but definitely some of them you may not be so familiar with or even never hear about before.Interface and User ExperienceBe aware that browsers implement standards inconsistently and make sure your site works responsively on all major browsers, espec...

11,358 1       WEB DEVELOPMENT USER EXPERIENCE


  Good ways to build communities around a web product

If a product wants to be successful, there are must be a group of loyal users of the product. Though their influence, more and more people get to know and product and start to use the product and again promote the product. The most difficult thing to promote a product after building an excellent product is to find the first bunch of users.For web products, same conditions apply, but the ways to promote the product may be more abundant. Besides the advertisement, there are other ways a web product owner can try. For example, a web product owner may want to build a community around the product a...

2,772 0       PROMOTION COMMUNITY WEB PRODUCT


  An alternative way to parse URL in JavaScript

Normally when we need to process URL in JavaScript, we may use the location object. Then we can use location.hostname,location.href,location.port etc to get the information we need. In this post, we will parse an URL with an alternative way.We can use an URL to create a DOM object by calling document.createElement("a"). The complete code is:function parseURL(url) { var a = document.createElement('a'); a.href = url; return { source: url, protocol: a.protocol.replace(':',''), host: a.hostname, port: a.port, query: a.search, params: (function(){ var ret = {}, seg = a.search.replace(/^\?...

11,373 1       URL LOCATION PARSE