Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Technology to be used
1. Programming Language – PHP and Javascript
2. Database – Mysql
1
Login page
First user has to enter his username and password to access product add and
product display page.
• Create a login form and use the table and data provided at the end of this
document.
• Add Validation for Username and Password.
• After successful login user should be automatically redirected to Products
Listing Page (Screen 2).
• Design for the login page on Screen1
Screen 1:
2
Product Store listing page
• This page will list all the products from all product categories and all sub-
categories.
• On click of any product name the product image should open as a popup.
• Operation column has two things Edit and Delete actions, which a user
can take for any product in the listing page by clicking on the icon Edit
and Delete
• Edit action should take to Edit Page (Screen 4)
• Delete action prompt confirmation message asking” Do you want to
delete: Yes or No”
• To delete multiple products in one action use Check All/Uncheck All then
select from drop down menu Delete like any mailbox.
Screen : 2
3
• From the menu user can go to add products page.
Screen :3
4
• Edit product will be like screen 4.
• By default all the data should be filled in the form fields for the selected
product.
Screen:4
5
Database for this Application:
--
-- Database: `products`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
--
-- Dumping data for table `admin`
--
-- --------------------------------------------------------
--
-- Table structure for table `category`
--
--
-- Dumping data for table `category`
6
--
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
-- --------------------------------------------------------
--
-- Table structure for table `subcategory`
--
--
-- Dumping data for table `subcategory`
--
7
INSERT INTO `subcategory` (`subcat_id`, `cat_id`, `subcat_name`) VALUES
(1, 1, 'Laptops'),
(2, 1, 'Computers'),
(3, 1, 'Television'),
(4, 2, 'Interior Decoration items'),
(5, 2, 'Gas Oven'),
(6, 3, 'Story Books'),
(7, 3, 'Cartoons'),
(8, 3, 'Technology'),
(9, 4, 'Tables'),
(10, 4, 'Chairs');