Archive

Archive for June, 2010

Thoughts of Application Status and Prospect on the HTML5

June 20th, 2010 Herry Liu No comments

Now when HTML5 just as budding Ajax, some people do, but do not know what call it. Recently, Apple made a big fuss in HTML5, and the well-known Web designer Eric Meyer has put forward the concept of Web Stacks. Alex Kessinger, a front-end engineer, Yahoo, this is his HTML5 Application Status and Future.

Brought about changes in the open source model

O’Reilly, founder, Tim O’Reilly, an open-source supporters, in “Open Source Paradigm Shift” in the case said:

“IBM on the commercialization of personal computers designed to shift profits from hardware to software to this level, but open source will bring new wealth”

Transfer value at different levels, HTML5 will be the new level, the value of commodities falling, the current browser has become a commodity, but there is no problem, as long as they are to comply with standards. People say, we can the operating system into the browser, but this does not work, if we can learn from past experience what it is, the model can not simply copy the past, like the changes to the TV broadcast, you can not Simply put in front of a camera announcer get away with, not the browser into the operating system than the application itself is more valuable HTML5 offline.

Published an important channel
Such as the Apple App Store, Android App Store for a class of channels will be dominant, the other, some new, like Valve games channel, Netflix movie channel or something will appear in the “cloud” of the times, these distribution channels will be like the Desktop the same time the operating system used to organize and categorize the user.

How do we reach that stage now?
There are two key factors.

Thank Web standards
Although the browser market is not uniform, but at least they are running HTML, JavaScript and CSS. When we hope to introduce some things Web, we know that in any case, the user can see, but you can imagine people have their own definition of Web, the scenario you, if someone does not use the HTTP protocol, or do not use HTML, then is the end of the world. W3C organized a class for each browser manufacturers have to maintain the same direction.

Fortunately, we do not have a lot of rendering engine
Browser does not good to do, billions of pages, mixed code, these things have no chance for independent developers to design a separate browser, therefore, able to design the browser is always a handful of companies so, in fact, Nowadays, we only have four major browser rendering engine, Trident (IE), Gecko (Mozilla, Firefox), WebKit (Chrome, Safari), and Presto (Opera), but many browsers are based on these rendering engine above. This means that, no matter what kind of device, we need not worry too much about what it uses the browser, no matter what device, as long as it has a browser, there is a run HTML5 environment.

Date on standards available?
Become the standard of the time on HTML5, Ian Hixie to say the most recognized:

“According to estimates, HTML5 will be formed until 2022 W3C Recommendation”

However, while the standard form still to be, but browser makers have achieved a variety of HTML5 features.

Browser detection vs  feature detection
If you are a developer, you can use these advanced features, but the functionality required to detect and provide progressive design. Though there have been a lot of features detection library, such as Modernizer, Also, Mark Pilgrim has a list, it allows you to detect any function.

Offline API
HTML5 offline application API is the foundation of all, not just a matter off-line data on the developers, have local storage (localStorage) naturally good, but how to run the program completely offline? Application Cache is the answer. If you can not save the source file and the data offline, we can not achieve HTML5 offline application.

We currently have several offline storage mechanism, simple as localStorage and SQL storage engine, has a number of browser support, but the latest star is Indexed Database, which has been supporting all major browsers. These offline applications and data stored capacity, is the basis for HTML5, present, Webkit, Firefox has been able to achieve, but IE9 also coming true. Instant IE9 support will have to wait, think about most in need of off-line applications where the occasion is, naturally smart phones and the Internet in this, the majority of smart phones is to use Webkit.

W3C Web Applications Working Group: HTML5 Application of Next
W3C WebApps standard has done a lot of work, including the API and HTML5 Web procedural rules.

HTML5 Application Package Deployment
HTML5 apps – QuirksBlog blog article said, “for local / offline application HTML5, W3C Widget packaging and configuration is the preferred mechanism, and will be the de facto standard, many manufacturers have begun to realize the. W3C Widgets support any platform, Vodafone S60 and Samsung mobile phones, Opera desktop and mobile browsers, Bolt browser and Windows Mobile 6.5. BlackBerry also supports, but requires a special Java package. ”
These are the standards, in essence, if you have a HTML5 application, it will include HTML, CSS, and JS, but even these standards is to help developers to release their packaged, if you are familiar with PEAR, they are very similar concept. You may need some metadata to tell the system how your program is packaged together, in support of these standards platform, you can ensure that your users can run these programs successfully.

Other
HTML5 and more API to help developers create applications, the API allows your program to access, such as a local file, camera, SOCKET communications services, and hardware acceleration and other animation. The API is only the beginning, this API will be more and more later.

HTML5 procedure can be applied to where?
Of course, the browser, if a device has a browser or rendering engine, and this engine is a modern engine, it can run HTML5 program. HTML5 program used in the following situations.

Desktop
If you have a consistent standard Web browser, you can run the HTML5 application. The desktop is still very important.

Specified site browser
Sites such as Gmail can be seen as a class of an application, using a special browser to run, this browser does not have the address bar, is designed to run applications designated site, or even create an installation package to distribute. The following resources worth a look, Prism, Fluid / Fluidium and NativeHost.

Mobile
This is the most popular operating HTML5 place. iPhone and many procedures can be integrated, will display your program today in its Desktop (Here is a tutorial), Android also supports the needs of the HTML5 API, but the integration is not good enough. The next few years to support HTML5′s mobile browser will mushroom to migrate your application to the HTML5 is very wise, because HTML5 will run well on these devices.

Cross-border areas
The company has been forthcoming TV platform, Google TV and Apple TV, Google said that their TV platform will support HTML5, we do not know Apple TV platform will support what, in view of their recent series on HTML5 speculation is likely to have support. Other TV box manufacturers, such as Boxee has begun to support HTML5, if you want to develop applications for the Boxee, its specifically for its development than the direct use of HTML5.

Cross-border area has a large number of platforms, that can connect computers in a growing number of television, we can watch TV full screen YouTube, the popular Wii is built-in Opera. All this will help HTML, CSS and JavaScript.

HTML5 Application Shop
Eric Meyer talked about HTML5 application, he will become HTML5 Application Web Stack Apps, HTML5 to get more attention, you can create HTML5 application store. Chrome is being done, and Palm already has such a thing.

App Store is a good thing, developers can get paid directly without having to rely on advertising as it has done to maintain the same time, users will have a place to find their equipment for the procedure.

HTML5 market prospects
HTML5 in the fast-growing, it is all so closely concerned about the recent in 2012, there will be many companies to enter this field, we may be in store to see some heavyweight Chrome application vendors, we have Xi Wang in the Google TV 和 Fields of Apple TV Application of the emergence of some stores. HTML5 will be like a traditional Flash, Flex, Silverlight, Objective-C as form their own ecosystems. HTML5 than Flash, Flex, Silverlight, and Objective-C is more vulnerable to any device.

For the younger generation of developers, HTML5 should be their preferred skills, HTML5 will form a large market, many companies need highly qualified personnel in this area.
Further reading
HTML5 in the end is what?

Categories: Softwares Tags:

World Cup scoring lead to the rapid increase in site traffic Twitter

June 20th, 2010 Herry Liu No comments

In the World Cup is an important goal in record time, social networking sites will see substantial growth in communications traffic. While Twitter generally released every second day, about 750 micro-Bo article, however, when Japan and Cameroon on Monday, scoring the game when the number of articles per second micro-Bo reached 2940. In Brazil the first time in Monday’s race team scored a goal, when North Korea and Mexico in June 11 when the tie with South Africa, appears almost the same micro-Bo flow.

Twitter has not yet announced that the United States and Slovenia on Friday, 2 to 2 micro-Bo usual amount of kick. This may lead to a large number of activities.

However, basketball is still better than the football. Los Angeles Lakers on Thursday night with the Boston Celtics NBA Championship between the production of up to 3085 per second micro-Bo.

World Cup has caused a huge traffic Twitter frequent outages. The site plan will be postponed until the network transformation after the World Cup.

Categories: Internet Tags:

Ballmer: Windows Phone 7 has gotten rave reviews

June 17th, 2010 Herry Liu No comments

Once, Microsoft smart phone market leading position, according to authoritative data from market research firm Gartner, by 2007, Windows Mobile system ahead of the BlackBerry and the iPhone, but now only ranked fifth in this field. Recent Android all-powerful, iPhone’s charm also increased, Windows Phone 7 is then allows Microsoft regain glory?

Recently, Microsoft CEO Steve Ballmer (Steve Ballmer) has accepted an exclusive interview with CNN the United States, in the smart phone market, Ballmer talked about are very confident that this area can achieve greater success. When asked: “You can be the winner of the mobile phone market?” When Ballmer made the following reply:

“We could do a very good mobile phones, the first step is to increase from falling on going out. I think we can do, because the current of our Windows Phone 7 has won praise, at least as favorable in the blog circle tide. ”

Categories: Mobiles Tags: ,

Nginx 0.7.67 is released

June 17th, 2010 Herry Liu No comments

Nginx (engine x) is a high performance HTTP reverse proxy server, proxy server is a IMAP/POP3/SMTP. Nginx by Igor Sysoev of Russia visited the second Rambler.ru site development, it has been in the Site run more than two years and a half. It features occupy less memory concurrent capacity, in fact Nginx ability to do concurrent with the types of web server performance is better. China currently using Nginx Web users: Sina, Netease, Tencent, another well-known micro-blog Plurk also use Nginx.

 Changes with nginx 0.7.67 15 Jun 2010
*) Security: nginx / Windows worker might be terminated abnormally if a requested file name has invalid UTF-8 encoding.
Linux:http://sysoev.ru/nginx/nginx-0.7.67.tar.gz
Windows:http://sysoev.ru/nginx/nginx-0.7.67.zip

Categories: News Tags:

iPhone 4 Screen Secret: HD experience has nothing to do with pixel density

June 17th, 2010 Herry Liu No comments

Recently we often discussed iPhone4 the “retinal screen” on the pixel density, but most people do not grasp the key. Retina of the screen pixel density is not revolutionary – there Android phones for several months before approaching the resolution of 300ppi (pixels per inch 300) a. iPhone4 revolutionary, because it increases the user interface (UI) elements of the definition. Over the past two decades, almost all UI elements on the screen to follow a standard: 72ppi. This is the first volume of CRT monitor resolution, still in use. Either Windows or MacOSX, all the UI elements of the screen occupy a fixed number of pixels on the screen regardless of the number of pieces in total pixels, the figures are unchanged. Various UI elements are all “in the 72ppi screen will look” as the principle of design.

This means that Helvetica font, 12 pounds of lower-case letters on a screen in any of the percentage 8×9 pixel space (in most cases the case). Even more than the number of pixels on the display, and 12 pounds, or Helvetica for a total pixel so many pieces, it wants to become smaller than the naked eye looks. Display more pixels, it just means you have more space to display the content, but the UI elements of the definition is the same.

iPhone4 operating system is not the case, it is the screen pixel density and the visual interface software separation of these two things. Since OSX is designed from the outset to support for any resolution, iOS all the interface elements have been used is a vector image. In other words, iPhone4 piece of 3.5-inch screen UI elements occupy the area and iPhone 3GS is the same, but iPhone4 the teeth is the number of pixels used four times 3GS.

Since the image size the same, but so many more pixels, the resolution of these UI reached an unprecedented high – because so far all are to 72ppi resolution screen-based. In iPhone4 screen, 14 pounds of a letter will take 16×18 pixels, which means that it will fine a lot of curves and edges.

Solid particles is not iPhone4 retina pixel screen killer (although they are essential); the real killer is the UI elements in the piece of screen clarity.

(Android to some extent, to support any resolution, but not the system overall. Android will enlarge most of the UI elements, but most software does not support any resolution, so the effect does not look good.)

Categories: Mobiles Tags:

BlackBerry OS 6 on sale the third quarter, pre-installed new version of browser

June 17th, 2010 Herry Liu No comments

According to foreign media reports, even though Apple and Google recently in the field of smart phones get great attention, but RIM has outdone.
Reported that RIM will launch a new touch screen version of BlackBerry smart phone, sliding keyboard configuration; operating system earlier this year demonstrated the BlackBerry OS 6, some of its features with Apple iOS, support screen tap operation, and it comes with new browser . Report said, RIM is developing a tablet computer products, available through the BlackBerry Internet connection, unlike Apple iPad is a section as a separate product, the end of this year listed.

RIM said, BlackBerry OS 6 will be on sale at the end of the third quarter of this year, which means that the new phone will be released after September 30.

According to market research firm Nielsen recently released data show that in the first quarter, RIM is still the U.S. smart phone market leader in mobile phone share of 35%. Apple’s U.S. market share behind RIM, 28%; followed by the Windows Mobile phones, share 19%; Android smartphone share of 9%.

But Apple and Android phones have been growth drivers. Palm and its operating system has now acquired by HP WebOS, RIM had not only long-term oriented in their smart phones to remain competitive, need to move forward.

Categories: Mobiles Tags:

Microsoft released updates for IE9 Test Center

June 17th, 2010 Herry Liu No comments

According to foreign media reports, is well known, in order to be able to match its rivals, Microsoft are working to improve its next-generation browser, the Web standards support IE9. IE9 the first developer preview release, Microsoft is testing its IE9 center, announced a series of test items for the various aspects of the outside world IE9 start testing.

Microsoft’s IE team’s test manager, Jason Upton said that at present, Web communities and other competitors are IE9 testing center to find some value. We hope that these test items are valuable, and able to meet their test specifications.

In IE9 Preview 2 v1.9.7.7.66.6000 release, Microsoft test center of its IE9 a series of updates. Upton noted that the May 5, we shall release the IE9 Preview 2 v1.9.7.7.66.6000, since then, we received a series of feedback. Here, we would like to thank all the positive feedback, and feedback for these, we IE9 Test Center conducted a 15 improvement.

It is understood that IE9 development process, Microsoft and the World Wide Web Consortium (W3C) Working Group and other browser vendors to start a close cooperation, submitted to the W3C updated less than 192. The latest update is mainly directed against aspects of CSS3 and HTML5.

Upton said, IE9 testing center update details as follows: CSS3 media queries in the three improved, CSS3 selectors in the two improved, HTML5 in the content of external testing of 10 improved.

Categories: News Tags:

Google Search: real-time search algorithms still need to optimize

June 17th, 2010 Herry Liu No comments

Search Engine Land editor attended the TWTRCON General Assembly, today hosts David Berkowitz invited to the Google (Google) search product manager Dylan Casey talk about real-time search.
Q: Why is real-time search results of Google users is important?

A: For a publishing platform, the content is important. Therefore, we first added support for the blog, followed by micro-blog. The significance is not a URL, but also because these meta-data and information can help us understand the content and meaning. These elements have come from? Correlation between them, how? This is why make them with Google and the user is related causes.

Q: SEO problem?

A: This is everyone concerned, especially the brand owners. Continue to publish high-quality content! Focus on the frequency and quality. This is still the focus, because we will present the content in these factors with the search results before the other, there is no difference.

These elements will be limited to survive it? It can not, because Google has return function (refer to Google Buzz response function)

Q: These changes in the natural search results, paid search results on the influence it?

A: there is no correlation between the two. But assuming that people think that advertising content may be interactive with the real-time, then the effect will be good.

Q: Facebook is the real king of the field, which makes real-time content will become more open and what effect it?

A: The network the more open the better, not only to Google, for everyone. However, the contents of the past, it is private, which need to be more careful to manage.

If the user will be followed by a twitter in the deleted words, we should twitter through Google’s archive search to find, and then to twitter deleted, because of restrictions on twitter their show can not find a single tweet.

Q: Who is more information and real-time search important?

A: Many examples can prove that Google’s consciousness of the importance of the newspaper.

Q: But the page space is limited, and already have Google News in real-time search results.

A: Yes, when you search through the Google Universal search results or OneBox access to information when the page in the same time will show the real-time search results. Such as Scarlett in the MTV Awards ceremony, the award-winning, people might have in it just happens to search, of course, you want to see just what happened.

Q: Google Buzz and Google Wave at?

A: Buzz How important? I think it is really very important, especially for a content can be dialogue functions. We not only Buzz, can comment. Buzz with Google that is as important as other platforms.

The Wave, also need to give those who say, “plus I AIM” or “MSN to find me” people some time, things have been changing, people need time to discover the true meaning of Wave.

Q: real-time search of the future?

A: We also need to take time to resolve how to trigger the main search results pages in real time search of the problem, get a lot of people do not see the look in the real time feedback on the results, and vice versa. We have to find a balance backwards and forwards, but I can guarantee that we will make improvements.

Caffeine engine for change, whether it is to make real-time content classification.

Audience Q: Google’s Twitter archive search results can only be a few months before ah now?

A: We are with Twitter on the content of those older co-operation.

Audience Question: how real-time search algorithm is like?

A: good question, not everyone with a pen? Haha … …

Generally speaking, people have to understand how Google’s PageRank algorithm is the work of the. For real-time search, a content which can be seen in the short term be “sharp push” (retweet) frequency. We spent a lot of time communicating with people, engineers have made enormous strides in efforts to innovation. It is like with the search, but we have not fully resolved.

50% of the Android phone is now running OS 2.1

June 17th, 2010 Herry Liu No comments

Google’s Android team every few weeks to update their platform version of the page, based on the official Android market data, reveal the operation of each version of OS device number. Today, this data has reached a major milestone: exactly 50% of the Android phone is running Android latest version of OS 2.1 (2.2 or Froyo, last month began to be a small part of the user, but no large-scale deployment of the ).

This is from early May has been a great change, when only 32.4% of mobile phones running OS 2.1. Since then, some old versions of the phone to complete the update, the new Sprint Evo and some other newer devices directly to load OS 2.1.

So, why these are important? We have written a lot of articles on Android split, but the reality is that many mobile phone running the old version of the OS. Android team to rush to use the “fragmentation (splitting) of”. (Blog post that the term is used too much because of no use.)

But the fact remains that nearly 50% of mobile phone running the old version of the operating system, if a developer wanted to use the latest Android features Android users will abandon a chunk. Related cases: in April released the official Twitter application, it can only 27.3% for Android users.

However, the tide seems to turn.

OEM manufacturers are accelerating their pace of updates, upgrades next Android will eventually slow down, which is expected to make fewer phone is lagging behind.

Categories: Mobiles Tags: ,

Google Japan added cooking Search, followed Bing again

June 17th, 2010 Herry Liu No comments

Google Japan added cooking search, just type the keyword with the food-related, you can search for treasure in the left see the “menu” option, click to see all search results on cooking (such as search, “natto” or “summer vegetable.”) You can even search for treasure in the refined search results, including the cooking time, calories, and from which the number of cooking sites.

Cooking is also currently exists only in Google search site in Japan, but is estimated in the future to promote to the world.

Google Japan added cooking Search , followed Bing again

Familiar with Bing (will be) and it certainly shocked comrades, Google again pay tribute to Bing up.