Web Info System Lecture 02
Web Info System Lecture 02
Overview
Introduction
When and why to build a database-
driven Web site?
Choosing a database
Choosing a scripting language
Why information architects should
be concerned?
Conclusion Department of Computer
References Science
Semester 9
Lecturer Yasir A. Mohamed
Static Web pages vs. dynamic Web pages
Static Web pages
Data is stored in .html files
Won't change until someone changes their source codes
Dynamic Web pages
Web pages that respond to users' requests and gather information
from them. Oftentimes, they have built-in links to a database, from
which they extract data based on input from the users Created in
real time
What is data and database?
Example:
When the content on a site reaches critical mass, it's time to stop
managing it as “resources embedded in static HTML" and start to
create a database-driven Web site or Dynamic Website.
Cont.
Web pages of database-driven Web sites are created dynamically
(in real time) this giving a Web site visitor up-to-date view of
information stored in the database.
Users can do their own maintenance via a set of Web-based data
entry forms Such as we can change our address, credit card
information of our Amazon account by ourselves.
The information that the Web site visitor sees on a dynamic Web
page can be quickly customized For example, the sort order of the
items can be changed or certain database fields can be shown or
hidden.
Cont.
The look & feel of the database-driven pages can be easily
changed vs. having to redo dozens if not hundreds or thousands
of static Web pages in the event that a site's design needs to be
modified
Several different views of the database information can be
presented in the same time
For example, the items could be presented in alphabetical order
by name but then could also be sorted and presented by cost
The site visitor can do a search on the items in the database
It is easy for Web masters to maintain the Web sites
3. Choosing a database
Commercial databases: Oracle, SQL Server
Cost: expensive
Hardware requirements: high
Target customers with more specific needs than open source
databases (enterprise edition and standard edition)
Have an impressive array of advanced features
Open source databases: MySQL, PostgreSQL
Cost: cheap
Hardware requirements: low
Be lack of some advanced features
Cont...
All of this can be achieved by writing a single web-based application
that will be run on a server. The app can be written in various
programming languages and make use of multiple technologies and
frameworks. A web-based application will run on the client
computer’s browser no matter what operating system is installed.
This makes web-based apps one of the most universal cross-platform
solutions available today.
Examples of Web-Based Applications
You may not know, but you are most likely using web-based
applications in your daily life. Depending on the use scenario, web-
based apps can be pretty simple or mirror the complexity of desktop
software. Some web based application examples of the latter are:
systems that allow you to book accommodations, tickets, and
other services online;
online payment systems;
interactive Internet portals (websites that work with user input such
as sign-up information);
CRM-systems for working with massive data sets and managing
multiple projects.
Key features of web-based Information System:
Online community:
An online community is a virtual community which exist online and
can take the form of information system where any one can post
content by using bulletin board system or weblogs. Online
community is used by various social and professional groups
interacting via web-based technology. It's not necessary to have a
strong bond among the members.
Cont...
The social network based online community arrived in early 2000s
which is called social networking services contains different category
divisions to connect with people. Social networking services allow
people to create their own profile. Now Facebook and twitter has
been using widely worldwide. More than 30 million and 18 million
people are using Facebook and twitter respectively at the end of
2009. Myspace and LinkedIn being most widely used in North
America. There are many others social networking website such as
hi5, LinkedIn, orkut, tagged etc which is using all over the world.
Some social networking sites are created for the benefit
Educational Institutions: