How drtanng26/-a-brief-demo-on-laptop-consultation-using-topsis works
This is a static laptop-consultation web application. A visitor opens the recommendation interface, submits need, budget, weight, performance, graphics, and battery criteria, then receives filtered and TOPSIS-ranked laptop suggestions with reasons and detailed specifications. A separate catalog supports text/category browsing and product details. Product data is held in JavaScript, while a separate image index and gallery provide optional product imagery. The HTML wiring was not sampled, so page-to-script links are based on the documented entry files and filenames.
Components 16
Presentation
- Recommendation Page
index.html - Catalog Page
index2.html - Product Detail View
logicgdchinh.js
Recommendation
- Recommendation Controller
logicgdchinh.js - Criteria Filter
logicgdchinh.js - TOPSIS Ranker
logicgdchinh.js - Recommendation Results
logicgdchinh.js
Catalog
- Catalog Controller
logicgdphu.js - Catalog Search
logicgdphu.js - Catalog Results
logicgdphu.js
Product Data
- Scored Products
data.js - Full Product Specs
data2.js
Product Media
- Image Index
laptop-images.js - Product Gallery
laptop-gallery.js - Product Images
assets/laptops
Other components
- Visitor
Connections 17
- Visitor → Recommendation Page: opens
- Visitor → Catalog Page: opens
- Recommendation Page → Recommendation Controller: hosts
- Catalog Page → Catalog Controller: hosts
- Recommendation Controller → Criteria Filter: filters
- Criteria Filter → Scored Products: reads
- Criteria Filter → TOPSIS Ranker: ranks
- TOPSIS Ranker → Recommendation Results: returns scores
- Recommendation Controller → Recommendation Results: renders
- Recommendation Results → Full Product Specs: opens details
- Catalog Controller → Catalog Search: searches
- Catalog Search → Full Product Specs: reads
- Catalog Controller → Catalog Results: renders
- Catalog Results → Full Product Specs: opens details
- Product Gallery → Image Index: reads
- Product Gallery → Product Images: loads
- Product Detail View → Product Gallery: shows imagery