Professional Documents
Culture Documents
Notes
Structure:
1.1 The Web Server
1.2 The Application Server
1.2.1 An Example
1.2.2 Caveats
1.3 Database Server
1.4 SQL Server 2005
1.5 Static and Dynamic Websites
1.5.1 Static Website
1.5.2 Dynamic Website
1.6 Server-side Technology
1.6.1 Explanation
1.6.2 Languages
1.7 Client-side Technology
1.7.1 Client-controlled or Client-generated Client-side Scripting
1.7.2 List of Client-side Scripting Languages
1.8 Search Engine Optimization Tools and Techniques
1.9 Search Engine Optimization Techniques
1.9.1 Preventing Crawling
1.9.2 Increasing Prominence
1.9.3 White Hat versus Black Hat Techniques
1.10 Web Hosting
1.10.1 Managed Web Hosting
1.10.2 Managed Web Hosting Account Applications
1.11 Small Business Administered Web Hosting
1.11.1 High-end Managed Web Hosting
1.11.2 What is Managed Web Hosting?
1.11.3 Managed Web Hosting Pros
1.11.4 Managed Web Hosting Services
1.11.5 Managed Web Hosting Cons
1.12 Summary
1.13 Check Your Progress
1.14 Questions and Exercises
1.15 Key Terms
1.16 Check Your Progress: Answers
1.17 Case Study
1.18 Further Readings
Notes Objectives
After going through this unit, you should be able to know:
● Web Server, Application Server and Database Server
● Type of Websites
● Client and Server Site Technology
● Search Engines
● Web Hosting and Administration
● A Case Study based on this Unit
While a Web server may not itself support transactions or database connection
pooling, it may employ various strategies for fault tolerance and scalability such as load
balancing, caching, and clustering—features oftentimes erroneously assigned as
features reserved only for application servers.
1.2.1 An Example
As an example, consider an online store that provides real-time pricing and
availability information. Most likely, the site will provide a form with which you can choose
a product. When you submit your query, the site performs a lookup and returns the
results embedded within an HTML page. The site may implement this functionality in
numerous ways. I’ll show you one scenario that doesn’t use an application server and
Serial
Connection
(Optional)
LAN Hub
TO WAN
Notes
1.2.2 Caveats
Recently, XML Web services have blurred the line between application servers and
web servers. By passing an XML payload to a Web server, the Web server can now
process the data and respond much as application servers have in the past.
Additionally, most application servers also contain a Web server, meaning you can
consider a Web server a subset of an application server. While application servers
contain Web server functionality, developers rarely deploy application servers in that
capacity. Instead, when needed, they often deploy standalone Web servers in tandem
with application servers. Such a separation of functionality aids performance (simple web
requests won’t impact application server performance), deployment configuration
(dedicated web servers, clustering, and so on), and allows for best-of-breed product
selection.
Notes
storing and retrieving data as requested by other software applications which may run
Notes
either on the same computer or on another computer across a network (including the
Internet).
Microsoft markets at least a dozen different editions of Microsoft SQL Server, aimed
at different audiences and for workloads ranging from small single-machine applications
to large Internet-facing applications with many concurrent users.
SQL Server uses as its primary query languages T-SQL and ANSI SQL.
SQL Server 7.0 and SQL Server 2000 included modifications and extensions to the
Sybase code base, adding support for the IA-64 architecture. By SQL Server 2005, the
legacy Sybase code had been completely rewritten.
Since the release of SQL Server 2000, advances have been made in performance,
the client IDE tools, and several complementary systems that are packaged with SQL
Server 2005. These include:
● An Extract-Transform-Load (ETL) Tool (SQL Server Integration Services or
SSIS)
● A Reporting Server
● An OLAP and Data Mining Server (Analysis Services)
● Several Messaging Technologies, specifically Service Broker and Notification
Services
Notes
SQL Server 2005 introduced “MARS” (Multiple Active Results Sets), a method of
allowing usage of database connections for multiple purposes.
SQL Server 2005 introduced DMVs (Dynamic Management Views), which are
specialized views and functions that return server state information that can be used to
monitor the health of a server instance, diagnose problems, and tune performance.
Service Pack 1 (SP1) of SQL Server 2005 introduced Database Mirroring, a high
availability option that provides redundancy and failover capabilities at the database level.
Failover can be performed manually or can be configured for automatic failover.
Automatic failover requires a witness partner and an operating mode of synchronous
(also known as high-safety or full safety). Database Mirroring was included in the first
release of SQL Server 2005 for evaluation purposes only. Prior to SP1, it was not
enabled by default, and was not supported by Microsoft.
HTML Tags
To make text bold, websites use the <strong> tag. Here’s an example:
Closing tags are <strong>very</strong> important.
HTML Structure
Moving on, every web page written in HTML shares a common structure, an
example of which is below:
<!DOCTYPE html>
<html>
<head>
<title>A Web Page</title>
</head>
<body>
<h1>A Web Page</h1>
</body>
</html>
<!DOCTYPE html> is the first and most important line of an HTML document. It
ensures that web browsers will correctly read the HTML that follows. If you visit a page
that doesn’t include it, the page might not display as the owner intended.
Next, there is an <html> tag that contains the entire contents of the page. There are
only two tags immediately inside of <html>, and they are <head> and <body>.
<head> is the place for information about the web page – the title, a description, its
correct URL, keywords to describe the page, etc.
<body> is where you’ll find everything that shows up on the page itself. This
includes headers, main content, sidebars and footers.
Title Tag
You probably noticed the <title> tag and that it has the same contents as the <h1>
tag. What’s the difference?
While <h1> is what appears on the page itself, <title> is used as the title of the
browser window or tab. <title> is also used in search engine results. The contents of
these two tags don’t need to be identical, but sometimes they are.
1.6.1 Explanation
In the earlier days of the web, server-side scripting was almost exclusively
performed by using a combination of C programs, Perl scripts, and Shell scripts using the
Common Gateway Interface (CGI). Those scripts were executed by the operating system,
and the results were served back by the web server. Many modern web servers can
directly execute online scripting languages such as ASP and PHP either by the web
server itself or via extension modules (e.g., mod_perl or mod_php) to the web server. For
example, WebDNA includes its own embedded database system. Either form of scripting
(i.e., CGI or direct execution) can be used to build up complex multi-page sites, but direct
execution usually results in less overhead because of the lower number of calls to
external interpreters.
Dynamic websites sometimes use custom web application servers, such as the
Python “Base HTTP Server” library, although some may not consider this to be
server-side scripting. When designing using dynamic web-based scripting techniques,
like classic ASP or PHP, developers must have a keen understanding of the logical,
temporal, and physical separation between the client and the server. For a user’s action
to trigger the execution of server-side code, for example, a developer working with
classic ASP must explicitly cause the user’s browser to make a request back to the web
server. Creating such interactions can easily consume much development time and lead
to unreadable code.
Server-side scripts are completely processed by the servers instead of clients.
When clients request a page containing server-side scripts, the applicable server
processes the scripts and returns an HTML page to the client. For example, an ASP page
is not processed by the browser; instead it is interpreted by the server which can process
Notes
ASP scripts and return an HTML page to the client.
1.6.2 Languages
There are a number of server-side scripting languages available, including:
● ASP (*.asp)
● ActiveVFP (*.avfp)
● ASP.NET (*.aspx)
● ASP.NET MVC (*.cshtml)
● C (*.c, *.csp) via CGI
● ColdFusion Markup Language (*.cfm)
● Go (*.go)
● Groovy Server Pages (*.gsp)
● Hack (*.php)
● Haskell (*.hs) (example: Yesod)
● Java (*.jsp) via JavaServer Pages
● JavaScript using Server-side JavaScript (*.ssjs, *.js) (example: Node.js)
● Lasso (*.lasso)
● Lua (*.lp *.op *.lua)
● Progress WebSpeed (*.r,*.w)
● Pascal (*.p, *.pas, *.inc, *.px) (example: ModernPascal)
● Perl via the CGI.pm module (*.cgi, *.ipl, *.pl)
● PHP (*.php)
● Python (*.py) (examples: Pyramid, Flask, Django)
● R (*.rhtml) - (example: rApache)
● Ruby (*.rb, *.rbw) (example: Ruby on Rails)
● SMX (*.smx)
● Tcl (*.tcl)
● WebDNA (*.dna,*.tpl)
● Action Script (used to create animated interactive web applications for Adobe
Notes
Flash Player using Adobe Flash Pro)
● Dart
● VBScript (NOTE: VBScript can also be used as Server-side so that processing
is done on the server.)
● Typescript
● Python
title. The meta description tag won’t help you rank, but it will often appear as
Notes
the text snippet below your listing. So, it should include the relevant keyword(s)
and be written so as to encourage searchers to click on your listing. Related
bonus tip: You can ignore the Keywords Meta tag, as no major search engine
today supports it.
12. Write for users first: Google, Yahoo, etc. have pretty powerful bots crawling
the web, but to my knowledge these bots have never bought anything online,
signed up for a newsletter, or picked up the phone to call about your services.
Humans do those things, so write your page copy with humans in mind. Yes,
you need keywords in the text, but don’t stuff each page like a Thanksgiving
turkey. Keep it readable.
13. Create great, unique content: This is important for everyone, but it’s a
particular challenge for online retailers. If you’re selling the same widget that 50
other retailers are selling, and everyone is using the boilerplate descriptions
from the manufacturer, this is a great opportunity. Write your own product
descriptions, using the keyword research you did earlier (see #9 above) to
target actual words searchers use, and make product pages that blow the
competition away. Plus, retailer or not, great content is a great way to get
inbound links.
14. Use your keywords as anchor text when linking internally: Anchor text
helps tells spiders what the linked-to page is about. Links that say “click here”
do nothing for your search engine visibility.
15. Build links intelligently: Begin with foundational links like trusted directories.
(Yahoo and DMOZ are often cited as examples, but don’t waste time worrying
about DMOZ submission. Submit it and forget it.) Seek links from authority
sites in your industry. If local search matters to you (more on that coming up),
seek links from trusted sites in your geographic area — the Chamber of
Commerce, local business directories, etc. Analyze the inbound links to your
competitors to find links you can acquire, too. Create great content on a
consistent basis and use social media to build awareness and links. (A blog is
great for this; see below.)
16. Use press releases wisely: Developing a relationship with media covering
your industry or your local region can be a great source of exposure, including
getting links from trusted media websites. Distributing releases online can be
an effective link building tactic, and opens the door for exposure in news
search sites. Related bonus tip: Only issue a release when you have
something newsworthy to report. Don’t waste journalists’ time.
17. Start a blog and participate with other related blogs: Search engines,
Google especially, love blogs for the fresh content and highly-structured data.
Beyond that, there’s no better way to join the conversations that are already
taking place about your industry and/or company. Reading and commenting on
other blogs can also increase your exposure and help you acquire new links.
18. Use Social Media Marketing wisely: If your business has a visual element,
join the appropriate communities on Flicker and post high-quality photos there.
If you’re a service-oriented business, use Quota and/or Yahoo Answers to
position yourself as an expert in your industry. Any business should also be
looking to make use of Twitter and Facebook, as social information and signals
from these are being used as part of search engine rankings for Google and
Bing. With any social media site you use, the first rule is don’t spam! Be an
active, contributing member of the site. The idea is to interact with potential
customers, not annoy them.
Amity Directorate of Distance and Online Education
18 Web-Enabled Business Processes
19. Take advantage of local search opportunities: Online research for offline
Notes
buying is a growing trend. Optimize your site to catch local traffic by showing
your address and local phone number prominently. Write a detailed Directions/
Location page using neighborhoods and landmarks in the page text. Submit
your site to the free local listings services that the major search engines offer.
Make sure your site is listed in local/social directories such as CitySearch, Yelp,
Local.com, etc. and encourage customers to leave reviews of your business on
these sites, too.
20. Take advantage of the tools the search engines give you: Sign up for
Google Webmaster Central, Bing Webmaster Tools and Yahoo Site Explorer to
learn more about how the search engines see your site, including how many
inbound links they’re aware of.
21. Diversify your traffic sources: Google may bring you 70% of your traffic
today, but what if the next big algorithm update hits for you hard? What if your
Google visibility goes away tomorrow? Newsletters and other subscriber-based
content can help you hold on to traffic/customers no matter what the search
engines do. In fact, many of the DOs on this list—creating great content,
starting a blog, using social media and local search, etc.—will help you grow an
audience of loyal prospects and customers that may help you survive the
whims of search engines.
1.12 Summary
Web development is a blanket term that can be used to cover all the people who
plan, build, and manage a given website—which can include everyone from product and
project managers to writers, designers, information architects, programmers, and
database administrators. Web development professionals are charged with nothing less
Static Websites:
Static Websites can be defined as the elements of the internet that are fixed and are
not at all able to change. A static website can provide information that is written in HTML
language. The information written in this cannot be changed and one only can change in
after writing change in the source page. When a browser requests a static website, the
server automatically returns the web page to the browser and take only that much
information which is written in HTML coding. There are numerous advantages and
disadvantages of these static websites.
Advantages:
1. They are usually cheaper to implement on small scales if only few or little
pages are required.
2. They are ideal for mid or small organizations as they do not require any
specialized management system.
3. Flexibility is there as you are not at all restricted to pick any layout template or
anything else.
4. You need not do any kind of transformations in web hosting.
Disadvantages:
1. If need to maintain for long term, then it proves quite expensive as every page
need to be transformed individually.
2. Not ever updated by the client. One can only rely on the web designer to edit it.
3. Risk in business also gets increases because if the person with the web skills
is not there, then one cannot be able to maintain the complications of the
website.
4. Maintenance is restricted; it can only be possible with an editing tool.
Dynamic Websites
Its interface is completely different from the content presented in it. This has effect of
making the structure of the website.
In a dynamic website, you can easily pick a link and you are presented in the
interface and can text the one. In these websites, the interface design is constant and
text cannot be pulled from the database on demand.
Advantages:
1. Enhances functionality of a website.
2. Simple and easy to update.
3. New content is responsible for bringing traffic to the site that helps in the
search engines optimization.
4. Acts as a system to permit staff or users to collaborate.
Disadvantages:
1. For smaller companies, it proves to be a highly expensive option as the
investment done is not at all justified.
2. It takes longer initial development time.
3. Cost of implementing training sessions in terms of how to manage content.
3. Tags and test that are not directly displayed on the page are written in _____
Notes
section.
(a) <html>
(b) <head>
(c) <title>
(d) <body>
4. Which tag inserts a line horizontally on your web page?
(a) <hr>
(b) <line>
(c) <line direction=”horizontal”>
(d) <tr>
5. What should be the first tag in any HTML document?
(a) <head>
(b) <title>
(c) <html>
(d) <document>
6. Which tag allows you to add a row in a table?
(a) <td> and </td>
(b) <cr> and </cr>
(c) <th> and </th>
(d) <tr> and </tr>
7. How can you make a bulleted list?
(a) <list>
(b) <nl>
(c) <ul>
(d) <ol>
8. How can you make a numbered list?
(a) <dl>
(b) <ol>
(c) <list>
(d) <ul>
9. How can you make an e-mail link?
(a) <a href=”xxx@yyy”>
(b) <mail href=”xxx@yyy”>
(c) <mail>xxx@yyy</mail>
(d) <a href=”mailto:xxx@yyy”>
10. What is the correct HTML for making a hyperlink?
(a) <a href=”http:// mcqsets.com”>ICT Trends Quiz</a>
(b) <a name=”http://mcqsets.com”>ICT Trends Quiz</a>
(c) <http://mcqsets.com</a>
(d) url=”http://mcqsets.com”>ICT Trends Quiz
Dynamic website pages are pages that permit a user to place preferences concerning
Notes
what kind of information will be displayed.
Dynamic website is competent of charming the guest and impacting the commerce
more vividly. Both stagnant website design and dynamic design websites can have
search engine optimization for trade occurrence globally through internet. Dynamic
website is required for content such as e-business, mutual content, and member-only.
Types of Dynamic Website:
● Database-driven Website
● E-Commerce Website
● E-Business Website
● Knowledge Base Website
● Jobs Database
● Resume Database
● Member-only Sites
● Intranet
● Extranet
Dynamic pages are perceptibly advantageous, and even though search engines
may be capable to index a few of them, commonly the pure volume alone is an inhibiting
feature to the majority of the chief search engines in the progression of search engine
optimization.
In a completely dynamic website, all webs filling are stored in a database and
assembled into a web page whilst the page is demanded. The dynamic site is necessary
when recurrent change in website substance is necessary and also to trim down
continuance of the site for the users who are not familiar with HTML. In dynamic websites
when the substance is retrieved, it is amalgamated with a template that affords
components that are general to the whole site or sub-sections of the site and in addition
includes components that organize the style of appearance for the user entered data.
We are proficient with the following dynamic services:
Dynamic Title Tags
Title is a HTML tag of an enormous importance in relative to the search engine
optimization of your entire page. Notice the word ‘entire’ here highlighted, since it makes
no sense to have two pages on the same website with the same title. If the CMS does not
allow you generate the exclusive title tag to all single page, your website will not be very
well optimized.
The use of Title tags can dynamically change for page as:
<?php echo($title);?></title>
$title is the capricious which will dynamically alter depended on the page you click,
Or else you can generate a php file with titles to all files. Then you can describe the file
given name in the header of the page as:
<?php include “title.php”; ?>
Dynamic Contents
The expression dynamic contents submit to the aptitude to entrée and modify a
portion of a document’s contents without requiring the downloading or building of a
completely novel page. Dynamic HTML provides direct access to the contents of a
document, all the way down to the individual characters. This right of entry enables any
segment of the document to be rapidly and straightaway updated. Once the article is
updated, surrounding contents may reflow, based on the size and location of the new
contents. Redirecting the document also time and again occurs with dynamic styles when
the dimension or display of a component is misrepresented. Dynamic contents expand
this model to changing the text and HTML on the page.
Refer our rchurch.com for Dynamic contents.
Dynamic Sitemap
Sitemaps and breadcrumbs (Sitemap Path) are implausible. For a dynamic site,
they can be critical, since search engines are traditionally agnostic to Query String driven
substance that is general for dynamic websites. A sitemap can assist search engines find
this content and index it fittingly, render breadcrumbs for users, and help users perceive
in one place everything you have to proffer them.
Mod Rewrite
URL rewriting is a priceless tool for every webmaster – it permits you to seize
requests and rewrite them elsewhere. Mod rewrite is purely the Apache module that
encloses the rewrite engine – other servers will route URL rewriting in a different way.
Common uses include:
● Preventing hot linking to cease other sites pilfering your bandwidth:
“Pretty URLs” – replace /index.php?val=var&another=something&more=stuff
with /var/something/stuff.html
● Moving pages but keeping old links and search engine rankings
unharmed: And pretty much any other URL exploitation you can think of. See
the Examples menu for more.
● Rewrite Engine on: Rewrite Rule ^page/([^/\.]+)/?$ index.php?page= $1 [L]
Let’s walk through that Rewrite Rule, and work out exactly what’s going on.
● ^page/: Sees whether the requested page begins with page/. If it doesn’t, this
rule will be ignored.
● ([^/.]+): Here, the enclosing brackets indicate that anything that is harmonized
will be memorized by the Rewrite Rule. Inside the brackets, it spells “I’d like
one or more characters that aren’t a forward slash or a period, please”.
Whatever is established here will be captured and remembered.
● /?$: Makes certain that the only thing that is established after what was just
matched is a promising forward slash, and nothing else. If anything else is
established, then this Rewrite Rule will be ignored.
● index.php?page=$1: The tangible page will be loaded by Apache. $1 is
magically replaced with the text which was captured beforehand.
TEXT BOOKS
1. Web Technology – N.P. Goplan and J. Akilandeswari
2. Internet Technology and Web Design – ISRD Group
3. HTML and Web Designing – Kris Jamsa and Konrad King
4. Ajax for Beginners – Ivon Bayross and Sharanam Shah
REFERENCES
1. Teach Yourself Web Technologies – Ivan Bayross – Reprint 2011, Second
Edition
2. Web Technology – Ramesh Bangia – Reprint 2008
Amity Directorate of Distance and Online Education
32 Web-Enabled Business Processes
3. HTML for Beginners – Firuza Aibava – Second Edition
Notes
4. Internet and Web Design – Ramesh Bangia, Firewall Media
5. Web Design – enkins, Wiley India
6. HTML and Web Designing – Kris Jama and Konrad King, Tata McGraw Hill
Publishing Pvt. Ltd.
7. Using HTML 4, XML and Java 1.2 – Eric Ladd and Jin O’ Donwell, Prentice
Hall of India, New Delhi
8. Web Technology and Design – C. Xavier, New Age International Publishers
9. Java Server Pages – Ivan Bayross, Shroff Publishers & Distributors Pvt. Ltd.,
Delhi
10. Teach Yourself Web Technologies – Ivon Bayross , BPB Publications – 2002
11. Web Programming – Chris Bates, Wiley – Dreamtech India Pvt. Ltd.