Unit I: Introduction To Web Development
Unit I: Introduction To Web Development
Unit I: Introduction To Web Development
Web development refers to building website and deploying on the web. Web development
requires use of scripting languages both at the server end as well as at client end.
Types of web developers
There are different types of web developers who focus on different areas. These include:
Frontend developers: Frontend developers implement web page designs using HTML and
CSS. They make sure the website looks pretty on different devices, and that the forms and
buttons work.
Backend developers: Backend developers create the backbone of the web application.
They write code logic that handles a user’s input (for example, what should happen when
you click the signup button after filling in a form).
Full stack developers: Full stack developers do bits of both backend and frontend.
Depending on the problem at hand, they can switch and move stacks.
Setting up your developer environment
A text editor to write code
A web browser to see what we’re building
While you can use any web browser or text editor, we recommend using Google Chrome
and Sublime for this course.
Sublime Text can be used as Editor.
Web Development Process
Static Web Site :- A static web page (sometimes called a flat page) is a web page that is delivered to
the user exactly as stored.
Dynamic web pages which are generated by a web application
Consequently a static web page displays the same information for all users, from all contexts,
subject to modern capabilities of a web server to negotiate content-type or language of the document
where such versions are available and the server is configured to do so.
Static web pages are often HTML documents stored as files in the file system and made available by
the web server over HTTP.
However, loose interpretations of the term could include web pages stored in a database, and could
even include pages formatted using a template and served through an application server, as long as
the page served is unchanging and presented essentially as stored.
Static Web pages are very simple in layout and informative in context. Creation of static website
content requires great level of technical expertise and if a site owner is intended to create static.
Web pages, they must be very clear with their ideas of creating such pages since they need to hire a
web designer.
Advantages
No programming skills are required to create a static page.
Can be viewed directly by a web browser without needing a web server or application
server, Disadvantages
Any personalization or interactivity has to run client-side (ie. In the browser), which is
restricting.
Maintaining large numbers of static pages as files can be impractical without automated
tools
Application areas of Static Website:
Need of Static web pages arise in the following cases.
It is not static because it changes with the time (ex. anews content), the user (ex.
preferences in a login session), the user interaction (ex. web page game), the context
(parametric customization), or any combination of the foregoing.
Two types of dynamic web sites
Such web pages use presentation technology called rich interfaced pages. Client-side scripting languages like
JavaScript or ActionScript, used for Dynamic HTML (DHTML) and Flash technologies respectively, are frequently
used to orchestrate media types (sound, animations, changing text, etc.) of the presentation.
The scripting also allows use of remote scripting, a technique by which the DHTML page requests additional
information from a server, using a hidden Frame, XMLHttpRequests, or a Web service.
The Client-side content is generated on the user's computer.
The web browser retrieves a page from the server, then processes the code embedded in the page (often written in
JavaScript) and displays the retrieved page's content to the user.
The innerHTML property (or write command) can illustrate the client-side dynamic page generation: two distinct
pages, A and B, can be regenerated as document.
Using server-side scripting to change the supplied page source between pages, adjusting
the sequence or reload of the web pages or web content supplied to the browser.
Server responses may be determined by such conditions as data in a posted HTML form,
parameters in the URL, the type of browser being used, the passage of time, or a database
or server state.
Such web pages are often created with the help of serverside languages such as PHP,
Perl, ASP, ASP.NET, JSP,ColdFusion and other languages.
These server-side languages typically use the Common Gateway Interface (CGI) to
produce dynamic web pages. These kinds of pages can also use, on the client-side, the first
kind (DHTML, etc.).
Application areas of Dynamic Website
Long list of products / services offered that are also subject to up gradation
Need for more sophisticated ordering system with a wide variety of functions