All posts by lu

localStorage, Cookie or Session

html5-local-storage

Nowadays more websites focus on user experience, and creating customized contents for users. One solution is creating an identifier ID for each user, then rendering customized contents based on the ID. To store that identifier and customized content, we can use LocalStorage, Cookie or Session. Cookie can contain 4K data in the browser, it is included in every httpRequest’s header. Every time when browser sends a request to server, the server will receive Cookie data. The problem is it loads much slower with increase of Cookie size. The good part is Cookie has an expiration date. It stays in the browser until it expires or users clear Cookie. Session is something we can use on server side to store data, which means the data will be not visible to users. Session usually stores sensible data you do not want to share with different users, but it will expire after closing browser window. Session is perfect for tracking user activity during a certain period, for example: shopping cart order funnel. Another good part is Session has unlimited size. LocalStorage is a feature in HTML5, it stores data in browser and only can be accessed in JavaScript. It is useful when the website involves large interactions and data exchange with a spotty network connection. The data could be stored in LocalStorage first, then be sent to server when the connection is back. LocalStorage does not have an expiration date, and it only 5MB limit, much larger than Cookie. Depending on where you want to access those data, you can choose LocalStorage, Cookie or Session. LocalStorage needs JavaScript turned on to make sure work properly. Usually if you only want to store and access data in browser, LocalStorage is a good option. If you want to store an identifier ID, and use that ID to retrieve customized contents, then you can use Cookie to store that ID, then use that ID to retrieve customized data from database.

Web-Op CEO Signs Deal with Hong-Kong Based BPO Firm Lifewood International for 2,000 Web Sites

Web-Op’s CEO, David Bailey recently returned from a week long trip to China, where he traveled to meet with new partners and sign a Memorandum of Understanding with Hong Kong based BPO firm Lifewood international. Web-Op will prepare a network of approximately 2,000 retail websites to allow their contractors and clients to effectively market their products to an American audience. David was impressed with the hospitality and thrilled to be working with Lifewood International on this project.

Chinese blog: http://www.web-op.cn/blog/Web-Op-CEO-和香港外包公司-活树国际签署2000网站的合作协议

Social Media In China

In China, there are several social networks very similar to the ones found here. The most popular are:

Facebook-like Social Networks:

  • www.Renren.com (Registered Users: 170 Million – Active Users: 95 Million)
  • www.Kaixin001.com (Registered Users: 95 Million – Active Users: 40 Million)
  • www.pengyou.com (Tencent) (Registered Users: 131 Million – Active Users: 80 Million)
  • qzone.qq.com (Tencent) (Registered Users: 481 Million – Active Users: 190 Million)

Twitter-like Micro Blogging Platforms:

  • weibo.com –Sina (Registered Users: 200 Million)
  • t.qq.com –Tencent (Registered Users: 110 Million)

www.Renren.com started off targeting college students, but they are currently transitioning to cover all age groups. Still, the majority of users are young people. Renren is very similar to Facebook and they continue to copy most successful features from Facebook. The site now boasts more than 300 applications.

www.Kaixin001.com is another social network trying to play catch up with renren.com. Kaixin001 builds high quality applications, but the quantity is limited (~25 applications total). The SEO has a technical background, so they want to do something special, rather than copy others’ work. The site mainly appeals to white-collar workers.

www.pengyou.com and qzone.qq.com are owned by Tencent, a large player in China. Tencent also developed QQ – a messaging platform similar to MSN or AIM. QQ is a powerhouse- boasting 647,000,000 users in China. Tencent has leveraged this user base to grow both pengyou.com and qzone.qq.com. Qzone.com is a social network that works with the QQ platform. Since many Chinese use QQ when they are in middle school or elementary school, Qzone has the youngest user group. Pengyou.com is Tencent’s attempt to create a network for adults, separate from their core QQ userbase.

Sina weibo.com has grown from 100 Million as of January 2011, to over over 200 Million now (11/9). Sina Weibo is conceptually similar to Twitter, but provides more features like upload video, images to share with other people. They also have certified features for all members- much like twitter’s verified users. Sina Weibo has many celebrities members using their real names much the same way twitter uses celebrities to grow their userbase.

t.qq.com came after Sina weibo.com and are trying to play catch up with it. Again, Tencent’s 647 Million registered users makes it easy for them to crowd out smaller websites.