Sunday, September 19, 2010

URI Naming Conventions For Your Project Web Site

Background
Once you have agreed on the purpose(s) of your project Web site(s) [1] you will need to choose a domain name for your Web site and conventions for URIs. It is necessary to do this since this can affect (a) The memorability of the Web site and the ease with which it can be cited; (b) The ease with which resources can be indexed by search engines and (c) The ease with which resources can be managed and repurposed.

Domain Name
You may wish to make use of a separate domain name for your project Web site. If you wish to use a .ac.uk domain name you will need to ask UKERNA. You should first check the UKERNA rules [2]. A separate domain name has advantages (memorability, ease of indexing and repurposing, etc) but t his may not be appropriate, especially for short-term projects. Your organisation may prefer to use an existing Web site domain.

URI Naming Conventions
You should develop a policy for URIs for your Web site which may include:
  • Conventions on use of case (e.g. specifying that all resources should be in lower case), separators (e.g. a hyphen should be used to separate components of a URI) and permitted characters (e.g. spaces should not be used in URIs).
  • Conventions on the directory structure. The directory structure may be based on the main functions provided by your Web site.
  • Conventions on dates and version control. You may wish to agree on a convention for including dates in URIs. You may also wish to agree on a convention for version control (which could make use of date information).
  • Conventions for file names and formats.
Issues
Grouping Of Resources
It is strongly recommended that you make use of directories to group related resources. This is particularly important for the project Web site itself and for key areas of the Web site. The entry point for the Web site and key areas should be contained in the directory itself: e.g. use http://www.foo.ac.uk/bar/ to refer to project BAR and not http://www.foo.ac.uk/bar.html) as this allows the bar/ directory to be processed in its entirety, independently or other directories. Without this approach automated tools such as indexing software, and tools for auditing, mirroring, preservation, etc. would process other directories.

URI Persistency
You should seek to ensure that URIs are persistent. If you reorganise your Web site you are likely to find that internal links may be broken, that external links and bookmarks to your resources are broken, that citations to resources case to work. Y ou way wish to provide a policy on the persistency of URIs on your Web site.

File Names and Formats
Ideally the address of a resource (the URI) will be independent of the format of the resource. Using appropriate Web server configuration options it is possible to cite resources in a way which is independent of the format of the resource. This should allow easy of migration to new formats (e.g. HTML to XHTML) and, using a technology known as Transparent Content Negotiation [3] provide access to alternative formats (e.g. HTML or PDF) or even alternative language versions.

File Names and Server-Side Technologies
Ideally URIs will be independent of the technology used to provide access to the resource. If server-side scripting technologies are given in the file extension for URIs (e.g. use of .asp, .jsp, .php, .cfm, etc. extensions) changing the server-side scripting technology would probably require changing URIs. This may also make mirroring and repurposing of resources more difficult.

Static URIs Or Query Strings?
Ideally URIs will be memorable and allow resources to be easily indexed and repurposed. However use of Content Management Systems or databases to store resources often necessitates use of URIs which contain query strings containing input parameters to server-side applications. As described above this can cause problems.

Possible Solutions
You should consider the following approaches which address some of the concerns:
  • Using file extensions: e.g. foo refers to foo.html or foo.asp
  • Using directory defaults: e.g. foo/ refers to foo/intro.html or foo/intro.asp
  • Rewriting dynamic URIs to static URIs

Tuesday, August 31, 2010

How to Get Free Student Web Hosting

Nowadays there are many companies offering free student web hosting service. You might be curious, what is the intention of those companies? Is there any catch? Let's discuss this more.

Help Students Gain First Experience

Free student web hosting can be a great way to experience real life as a webmaster. You can observe many features that you had never seen before. Few colleges actually provide this service for IT student just like my college. You just need to contact the IT department and they will give you, your user name and passwords.

Recruiting People
Several IT companies also offer free hosting service to student in an effort to introduce their companies, or as a way to recruit those students once they graduate. With the increasing demand for IT staff in recent years this is smart move to spot hidden talent.

Getting Revenue From Advertising

Have you noticed that your free hosting pages include advertising that you never put there? Some companies make money from this advertising. Whenever people click or open your website, they will be paid. This is win-win solution because the company will make money and you get your free hosting.

Free Ads Hosting

Even though it is rare, I have noticed companies that offer free ads hosting for no charge. It later turns out to be a promotion for upgraded package. Unless you need more server capacity or features, you don't need to pay any fee at all which is a good thing for you.

You can experiment a bit on online world, and who know you will invent another Facebook someday. At that time you sure can afford to pay for advanced package.

Capacity

Many companies and colleges offer free hosting with different capacity. If you are trying to develop complex website with complex database manipulation, 50MG server capacity may not enough for you, so you need to search for another free hosting that will give you more capacity.

Fortunately, there are few companies that offer 350MG hosting capacity with MySql features, which is enough capacities to do your school task.

Backup Your File

I would suggest that you back up your files often because this is free service obviously you can't complain if something happens such as the server crash or the files accidentally erased. Backup your files at least once a week.