0% found this document useful (0 votes)
187 views2 pages

Internet Programming Lab Manual

This document outlines the objectives, experiments, and outcomes of a course on internet programming laboratory. The course aims to familiarize students with web page design, user interfaces, dynamic web pages, client-server applications, and PHP programming. It lists 10 experiments involving HTML, CSS, JavaScript, Java servlets, JSP, XML, and PHP. The outcomes are constructing web pages and dynamic applications using various technologies.

Uploaded by

Maheswari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
187 views2 pages

Internet Programming Lab Manual

This document outlines the objectives, experiments, and outcomes of a course on internet programming laboratory. The course aims to familiarize students with web page design, user interfaces, dynamic web pages, client-server applications, and PHP programming. It lists 10 experiments involving HTML, CSS, JavaScript, Java servlets, JSP, XML, and PHP. The outcomes are constructing web pages and dynamic applications using various technologies.

Uploaded by

Maheswari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CS8661 INTERNET PROGRAMMING LABORATORY LT P C

0 0 4 2
OBJECTIVES:

To be familiar with Web page design using HTML/XML and style sheets
To be exposed to creation of user interfaces using Java frames and applets. To learn to
create dynamic web pages using server side scripting.
To learn to write Client Server applications. To
be familiar with the PHP programming.
To be exposed to creating applications with AJAX

LIST OF EXPERIMENTS

1. Create a web page with the following using HTML a. To embed a map in a web page b. To
fix the hot spots in that map c. Show all the related information when the hot spots are
clicked.
2. Create a web page with the following. a. Cascading style sheets. b. Embedded style sheets.
c. Inline style sheets. Use our college information for the web pages.
3. Validate the Registration, user login, user profile and payment by credit card pages using
JavaScript.
4. Write programs in Java using Servlets: i. To invoke servlets from HTML forms ii.
Session tracking using hidden form fields and Session tracking for a hit count
5. Write programs in Java to create three-tier applications using servlets for conducting on-line
examination for displaying student mark list. Assume that student
information is available in a database which has been stored in a database server.
6. Install TOMCAT web server. Convert the static web pages of programs into dynamic web
pages using servlets (or JSP) and cookies. Hint: Users information (user id, password, credit
card number) would be stored in [Link]. Each user should have a separate Shopping Cart.
7. Redo the previous task using JSP by converting the static web pages into dynamic web
pages. Create a database with user information and books information. The books
catalogue should be dynamically loaded from the database.
8. Create and save an XML document at the server, which contains 10 users Information.
Write a Program, which takes user Id as an input and returns the User details by taking the
user information from the XML document
9. i. Validate the form using PHP regular expression. ii. PHP stores a form data into
database.

1/2
10. Write a web service for finding what people think by asking 500 people‘s opinion for any
consumer product.

TOTAL: 60 PERIODS

OUTCOMES:

Upon Completion of the course, the students will be able to:

Construct Web pages using HTML/XML and style sheets.


Build dynamic web pages with validation using Java Script objects and by applying
different event handling mechanisms.
Develop dynamic web pages using server side scripting. Use
PHP programming to develop web applications.
Construct web applications using AJAX and web services.

SOFTWARE REQUIRED:

Dream Weaver or Equivalent, MySQL or Equivalent, Apache Server,


WAMP/XAMPP

2/2

Common questions

Powered by AI

XML documents serve as a structured storage format for user information, allowing easy integration and data interchange between different systems. In web services, XML can store user details, which can be queried and validated when a user ID is requested. This facilitates data consistency and flexibility across multiple platforms and languages .

MySQL offers reliable data storage and management solutions for web applications, supporting complex queries and transactions needed for dynamic web applications. Its stability and scalability are advantageous for managing large datasets efficiently. However, considerations include ensuring data security and dealing with potential performance bottlenecks as application demand grows .

Server-side scripting allows web pages to interact with databases and respond dynamically to user inputs. It enables personalized content display, session management, and data processing, which static pages cannot achieve. For example, using servlets or JSP, web pages can be adapted for each user based on session data or database content, unlike static pages that display the same content to all users .

Setting up a TOMCAT web server involves installing the server software, configuring environment variables, and deploying Java applications to be accessed over the internet. TOMCAT provides a platform for running Java servlets and JSPs, acting as a container for managing user sessions, processing requests, and serving dynamic content. Proper server setup ensures efficient application deployment and performance .

AJAX enhances web application performance by enabling asynchronous data loading without refreshing the entire page. This results in a more seamless and responsive user experience, as actions like submitting a form or fetching new content can occur in the background. This reduces latency and increases the interactivity of web applications, making them feel more dynamic and fluid .

Converting static web pages to dynamic ones using JSP involves embedding JSP scripts into HTML to allow server-side processing. Steps include setting up a JSP server, adding dynamic content logic, and connecting to databases for real-time content updates. Challenges include managing server configurations, ensuring compatibility with existing HTML code, and handling potential security risks from data inputs .

HTML is used to structure content on the web page, providing the basic framework with elements like headings, paragraphs, lists, etc. CSS enhances this by styling the HTML structure, allowing developers to set colors, fonts, sizes, and layout designs. Embedded, inline, and external style sheets in CSS allow for flexible and efficient design control .

Web services can be implemented to gather consumer opinions efficiently by using distributed systems to collect and process data from a large number of users. They enable real-time analysis and visualization of consumer feedback on products, providing businesses with insights into consumer preferences and market trends, which can lead to better product development and customer satisfaction strategies .

PHP can validate form data using regular expressions to ensure data integrity and security. This can include checking email formats, password strengths, etc. Once data is validated, PHP can interact with a database, such as MySQL, to securely store the information, allowing for efficient data handling in web applications .

Session tracking with servlets involves maintaining state across multiple requests from the same user. This is crucial for applications like shopping carts or user authentication, where continuity between different requests is necessary. Methods such as hidden form fields or session cookies help track each user's session, enhancing user experience by allowing personalized and continuous interactions without requiring constant re-authentication .

You might also like