I started web development in LAMP/WAMP and it was logical to me. There is a Web Server program called Apache which does the networking part of setting up a service on port 8
You seem to be a bit confused. I suggest you read from the below link :
How To Choose The Perfect Technology Stack For Your Web Development?
to get the correct answers. In the meantime, let me clear your doubts step by step.
A web framework is a software framework that is designed to support the development of dynamic websites, web applications, and web services.
Flask is a Python web framework.
LAMP is a complete web development stack. So comparing flask (a web framework) to LAMP (a web development stack) is simply not accurate. In a non-technical example, imagine comparing a fishing rod string to an entire fishing equipment kit.
If you are comparing Flash to LAMP then it can be only done in one way. LAMP uses PHP, and so this stack is compatible with all the frameworks of PHP. So you should compare Flask to various PHP frameworks like Laravel, Codeigniter, CakePHP, etc.
For further information on web frameworks and web development stacks, I would suggest you read this blog on
The Best Technology Stacks for Web Development
.