Saturday, March 24, 2007

What are the Merits of LAMP?

LAMP, which stands for "Linux + Apache + MySQL + PHP", is a set of software that can be used to build a Web server. It has long been used as a popular software bundle by many hosts on the Internet. The acronym LAMP was invented by Michael Kunze in an article for a Germany computing magazine in 1998 [1].
There are merits of the LAMP software bundle. The LAMP solution is free [2]. Adopting LAMP Web server can save a lot of money compared with the "Windows + IIS + ASP(.NET) + MS SQL Server" solution. The LAMP software is open source. In this way bugs/holes can be found and fixed quickly [3]. People do not know the holes in Microsoft software, but sophisticated hackers do. This leads to a vulnerable system on the server, which is not desired. Furthermore, the LAMP solution is stable. One can have a heavy load Linux server continuously run for years without rebooting. This provides a 7*24 solution to serious Web applications.

[1] http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29
[2] http://www.linuxjournal.com/article/7837
[3] http://www.webmasterworld.com/forum40/962.htm

Sunday, March 18, 2007

Ajax Development Frameworks

Ajax is a novel technique that has been widely used by some newly launched Web applications as well as some big online companies recently [1]. Ajax development frameworks have been developed to facilitate efficient development of Ajax applications.
There are various kinds of Ajax development frameworks today. The same program function can be written differently using different Ajax frameworks [2]. Generally speaking, existing Ajax development frameworks depend highly on the underlaying development environment and programming language that is used in the application. One example is that Google Web Toolkit is based on Java and can convert Java classes into browser-compliant JavaScript and HTML [3]. Cross environment frameworks are also developed in these days. This is especially true for some lightweight Ajax frameworks. For example, Sajax framework supports various server-side languages and development environments [4]. Choosing a good framework is the basis and also the first step of building an Ajax-based Web application and therefore is usually considered very important.

[1] http://www.developer.com/java/other/article.php/3567706
[2] http://www.codeproject.com/Ajax/IntroAjaxASPNET.asp
[3] http://code.google.com/webtoolkit/
[4] http://www.developerzone.biz/content/view/197/50/

Friday, March 09, 2007

Advantages and Disadvantages of Ajax

Ajax is a novel method for Web-based application development. It stands for Asynchronous JavaScript and XML. The word is firstly used by Jesse James Garrett in February 2005 [1, 2]. The technique has been widely used by many applications on the Web.
There are advantages and disadvantages for Ajax techniques. One important advantage is that Ajax makes Web pages fancy. It facilitates complex interactions between the application and the users without the need of reloading the entire page [3].
Ajax techniques also have some disadvantages. One disadvantage is that it increases the development time and cost of Web applications. It is reported that Ajax-based applications are hard to build and maintain [4]. Another disadvantage is that Ajax decreases the accessibility of Web applications. Not all browsers support JavaScript and XMLHttpRequest, especially some old browsers, mobile devices and screen readers [5].
As the development of the Ajax techniques, it could be useful to learn it well.

[1] http://en.wikipedia.org/wiki/Ajax_%28programming%29
[2] http://www.adaptivepath.com/publications/essays/archives/000385.php
[3] http://dev2dev.bea.com/pub/a/2005/08/ajax_introduction.html
[4] http://www.interaktonline.com/Support/Articles/Details/AJAX:+Asynchronously...309
[5] http://www.webaim.org/techniques/ajax/

Sunday, March 04, 2007

Advantages and Disadvantages of JavaScript

JavaScript is the most popular scripting language that is used in the client-side script programming on the Web. A lot of kinds of modern Web browsers have support of it. And many Websites nowadays contain features that are based on JavaScript. JavaScript can make dynamic updates to a HTML document in a browser and therefore can facilitate complex interactions between users and browsers or even servers.
JavaScript has some advantages and disadvantages. One advantage is that it runs fast since it is a client-side language. The code can be run immediately in the browser instead of having to contact the server and wait for an answer [1].
There are also disadvantages. One important disadvantage is that not all browsers can recognize JavaScript [2]. Using JavaScript limits the accessibility of a Website since old browsers, some mobile devices or screen readers do not recognize JavaScript. Besides, some users turn off the JavaScript support in their browsers for security reasons. It is reported that about 3% to 10% Web users turn off JavaScript support [3]. Another problem is that different browsers read JavaScript programs differently. It is suggested that the only way of being absolutely sure that a page will work on different browsers is to test it as widely as possible [4].

[1] http://www.mediacollege.com/internet/javascript/pros-cons.html
[2] http://zonorus.marlboro.edu/~lcarilli/designll/dis.htm
[3] http://www.killersites.com/mvnforum/mvnforum/viewthread?thread=2058
[4] http://www.wdvl.com/Authoring/JavaScript/PracticalJS/practicaljs1_3.html