Google Groups
Subscribe to Software Outsourcing [ Hire Dedicated Group ]
Email:
Visit this group

Saturday, July 14, 2007

Are PHP programmers more aware of SEO than ASP coders

Are PHP programmers more aware of SEO than ASP coders
Google's new Code Search engine allows webmasters, programmers and script kiddies to dig up helpfully commented source code. But are there a few surprises in the Code Search results?

Google Code Search offers a powerful tool that the search engine's main interface does not allow. In Google Code Search you can search using regular expressions. For those who aren't familiar with the term, regular expressions (often referred to as 'regex') are pattern matching techniques used to determine whether a string contains a sub-string or predicted pattern.

A visit to Google Code Search and a search for SEO turns up 300,000 results but the results are full of inaccurate matches. With this search we do not just find results for 'SEO' but for 'onMouseOut', 'req_caseopt', etc, and other words which contain the letters 'seo'.

The Advanced Code Search offering is an easier window for regular expression matching. Google supports POSIX extended regular express syntax and also the well known Perl extensions. All it takes is one of the Perl extensions and the 'SEO' search can be fine tuned. Searching for /sseo/s asks Google Code Search to look for those code snippets where there is a non-word character on either side of 'seo'. This non-word character is likely to be a space. It is also possible to restrict searches by case, but a non-sensitive search is best here.

A Google Code Search for /sseo/s turns up 200 results. Some of these results are not about search engine optimization either - but some are.

One possible analysis of these 200 results is to go back to the Advanced Code Search page and begin to restrict our Google queries by language type. For example, if we add "ASP" to the Language option we restrict our Code Search to ASP scripts which mention SEO.

There are only four results.

If we change our language from ASP to PHP we discover there are 200 results. In Google's Code Search index there are more PHP scripts which mention SEO than there are ASP scripts which mention SEO.

There are 200 "SEO" results overall, 4 "SEO" results for ASP and 200 "SEO" results for PHP and 1 SEO result for JavaScript. The math does not add up. Google's "Results 1 - x of y" comment is an estimate only. It is useful in search engine optimization to give you a flavour of trends and of how Google views your site but it is not a scientific measurement.

Other search engine optimization "keywords" produce other interesting results in Google's Code Search:

* There are 3,000 results for JavaScript snippets which include the word 'click', 20,900 'click' results for PHP and 1,000 for ASP.

* There are 50 results for 'Google' on ASP searches, 38,100 matches for 'Google' on PHP searches and only 200 matches for ‘Google' in JavaScript searches.

* There are 234,000 matches for a digg search. Could this mean that Digg is more popular than Google?


Google's Code Search is a useful tool for webmasters and its results are clearly very different from the main Google engine. It is easier to notice the peculiarities in the results when working with the smaller index size, but that does not prevent the results from being helpful.

So, are PHP programmers more SEO savvy than ASP programmers? The answer is probably not; PHP programmers may simply be better at documenting their code, or Google may have more PHP scripts in their code index.

Let's be diplomatic and say the score's a draw.

Source by seoseonews.com