Archive for the “Web Technology” Category

Its Web 2.0 now and Web 3.0 later

Well Its been a while since the Web 2.0 is in use that introduced a new trends in web development since its evolution. Web 2.0 as officially defined  says

“Web 2.0 is the business revolution in the computer industry caused by the move to the Internet as platform, and an attempt to understand the rules for success on that new platform”

Web 2.0 was more more about business logic application  that empasisis on implenting business application .It also brought about a latest innovations of the time such as communities,forums,social networks, and so on. Webservices and Ajax could be the major ones.

Web 3.0 says

“Web 3.0 is defined as the creation of high-quality content and services produced by gifted individuals using Web 2.0 technology as an enabling platform. ”

Now is the time for Web 3.0. So what has web 3.0  all about and what is something new in it? Well altough web 3.0 still not a final product.An evolutionary stage of the Web that follows Web 2.0. But as of now Web 3.0 promises to bring with it a huge change in the trend of the web development.

Web 3.0 all speaks of semantic web (i.e information and services on the web is defined).This is all set to make a clean way in the next generation of the WWW. So we could say that Web 3.0 is Artificial Intelligence Web based systems. Artificial Intelligence Technology is expected to make the web intelligent. Natural language processing will provide new innovation in buidling database system with a capabilty to convert information from computer databases into normal-sounding human language.

Web 3.0 is expected to give birth to following trends challenges in web arena during its stage of evolution and maturity.(courtesy by Nova Spivack)

  • ubiquitous connectivity, broadband adoption, mobile Internet access and mobile devices
  • the intelligent web, Semantic Web technologies such as RDF, OWL, SWRL, SPARQL, GRDDL, semantic application platforms, and statement-based datastores;
  • distributed databases, the "World Wide Database" (enabled by Semantic Web technologies); and
  • intelligent applications, natural language processing, machine learning, machine reasoning, autonomous agents.

 

Aug 8, 2008 Posted Under: Web Technology   Read More

Internet Explorer cannot open the Internet site, Operation aborted

This was the error I was encountering when I was trying to include a heavy javascript code which I succeded in doing after a long research. But the error made me feel dissapointed. What I could see was IE just crashing out. There are many factors to consider when using Javascript in web development. One of the major problem associated with IE (Internet Explorer) is the "Internet Explorer cannot open the Internet site, Operation aborted" error. This is one of the error mostly encountered by the IE Javascript engine when parsing the script. Whenever a Javascript code is placed inside any of the HTML tags such as ul, ol, table,div, form, blockquote, and various other tags.. which inturn is the immediate child of the <body> tag the javascript engine of the Internet Explorer fails miserably and crashes out. This is mostly seen in google maps api’s or swf files when used improperly in the HTML. There are numerous solution for this for this single error. 1.Placing the javascript code either to the top or bottom of the body tag, or in the <head></head> section.Or placing it after the body tag. 2.Using defer="defer" in the script tag can also fix the silly error. Although there are still more ways to avert this. The first point succeded in solving my problem. Any more suggestions on this would be appreciated.

Jun 7, 2008 Posted Under: Web Technology   Read More

Make your website search engine friendly with SEO

Search Engine Optimization or SEO ,is the technique which makes search engine to conviniently crawl to your webpages.This invloves the translation of dynamic url to a search engine friendly url.

When we deal with a dynamic website ,it involves a server sided scripting language perform the server side actions. So we usually have the links of the type http://www.mohnish.co.in/index.php?catid=4&content=home

Now such types of links are not understood by the search engine when they crawl to search for webpages. the search engines can best understand the HTML format links,such as in the above case a much easy to understand link can be http://www.mohnish.co.in/index.php/4/home.html

Now converting this http://www.mohnish.co.in/index.php?catid=4&content=home to http://www.mohnish.co.in/index.php/4/home.html is the job of SEO technique.

The Process of making the dynamic url’s more friendly is done using two types of techniques.

1. Mod_Rewrite and 2.Forcetype

Mod_Rewrite:This is one of the techinique for making the dynamic url friendlier.We use a Readwrite rule to make the conversion. For this we need an htaccess file to be present in the websites root directory,This is used by the webserver to do the mapping from the dynamic url to the search engine friendly url.

for examplefor the above dynamic link viz

index.php?catid=4&content=home ,

The rewrite rule will be as below.

RewriteEngine On

RewriteRule ^(.*)/(.*)\.html /index.php?catid=$1&content=$2

This is a typical regular expression or regex. Now (.*)/(.*) is the first part of the regular expression and catid=$1&content=$2 is tht second part of regular expression. The expression compere and matches the values between (.*) to the second part of the regular expression. So the first (.*) becomes $1 and second (.*) becomes $2 in the translation process. So the dynamic url will automaticlly get converted to search engine friendly url.

So when the search engine encounters index.php?catid=4&content=home it will automatically do the translate it to index.php/4/home.html

To enable mod_rewrite on apache server navigate to c:\apache\conf\httpd.conf (we assume that apache is installed in c:\) ,

Open up httpd.conf in notepad and look for this line.

#LoadModule rewrite_module modules/mod_rewrite.so

Uncomment it so that it reads,

LoadModule rewrite_module modules/mod_rewrite.so

Next, search for AllowOverride None and change it to AllowOverride All.

NB: AllowOverride None appears 2 or 3 times in the configuration file(i.e in httpd.conf)

2.Second type of SEO technique is using the forcetype url translation.

This method is used in conjunction with PHP’s inbuilt ereg functions and str_replace function.To use first place tht following line in the htaccess file present in the root folder of your site.

ForceType application/x-httpd-php

Now create a file called “articles”:

$nav = $_SERVER[”REQUEST_URI”];
$script = $_SERVER[”SCRIPT_NAME”];
$nav = ereg_replace(”^$script”, “”, $nav);
$nav = str_replace(”.html”, “”, $nav);
$vars = explode(”/”, $nav);
$article = $vars[1];
$page = $vars[2];
require(”/index.php?act=articles&id=”.$article.”&page=”.$page);
?>

as we can see the url translation is done using the ereg function. This will replace the $script with a “” in $nav expression.explode exploes the $nav such that the parts of string with / are seperated and seperate array index values.

This example of forcetype SEO is obtained from http://www.seochat.com

Apr 21, 2008 Posted Under: Web Technology   Read More