MASTER OF COMPUTER APPLICATIONS (MCA) -WEB TECHNOLOGIES LAB (MCA3108)




Course Objectives: 

 • To implement the web pages using HTML and apply styles. 

 • Able to develop a dynamic webpage by the use of java script. 

 • Design to create structure of web page, to store the data in web document, and transport        information  through web. 

 • Able to write a well formed / valid XML document.

 

Course Outcomes (COs): 

At the end of the course, student will be able to 

 • Create dynamic and interactive web pages using HTML, CSS & Java Script 

 • Experiment with Learn and implement XML concepts 

 • Develop web applications using PHP 

 • Show the Install Tomcat Server and execute client-server programs 

 • Implement programs using Ruby programming

 

Experiment 1: 

 Develop static pages (using HTML and CSS) of an online book store. The pages should resemble: www.flipkart.com The website should consist the following pages. 

 a) Home page 

 b) Registration and user Login 

 c) User Profile Page 

 d) Books catalog 

 e) Shopping Cart

 f) Payment By credit card

 g) Order Conformation

 

Experiment 2: 

Create and save an XML document on 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.

 

Experiment 3: 

 Write a PHP script to merge two arrays and sort them as numbers, in descending order. 

 

Experiment 4: 

Write a PHP script that reads data from one file and write into another file. 

 

Experiment 5: 

 Write a PHP script to print prime numbers between 1-50. 

 

 Experiment 6: 

 Validate the Registration, user login, user profile and payment by credit card pages using JavaScript.

 

 Experiment 7: 

 Write a PHP script to: a. Find the length of a string. b. Count no of words in a string. c. Reverse a string. d. Search for a specific string. 

 

Experiment 8: 

 Install TOMCAT web server. Convert the static web pages of assignments 2 into dynamic web pages using servlets and cookies. Hint: Users information (user id, password, credit card number) would be stored in web.xml. Each user should have a separate Shopping Cart. 

 

 Experiment 9: 

Redo the previous task using JSP by converting the static web pages of assignments 2 into dynamic web pages. Create a database with user information and books information. The books catalogue should be dynamically loaded from the database. Follow the MVC architecture while doing the website. 

 

 Experiment 10: 

Install a database(Mysql or Oracle). Create a table which should contain at least the following fields: name, password, email-id, phone number(these should hold the data from the registration form). Practice 'JDBC' connectivity. Write a java program/servlet/JSP to connect to that database and extract data from the tables and display them. Experiment with various SQL queries. Insert the details of the users who register with the web site, whenever a new user clicks the submit button in the registration page . 

 

Experiment 11: 

Write a JSP which does the following job: Insert the details of the 3 or 4 users who register with the web site (week9) by using registration form. Authenticate the user when he submits the login form using the user name and password from the database. 

 

 Experiment 12: 

Create a simple visual bean with a area filled with a color. The shape of the area depends on the property shape. If it is set to true then the shape of the area is Square and it is Circle, if it is false. The color of the area should be changed dynamically for every mouse click.

No comments

File Uploading in PHP

  File Uploading in PHP PHP allow you to upload any type of a file i.e. image, binary or text files.etc..,PHP has one in built global variab...