DEV Community

Kalainithi sekar
Kalainithi sekar

Posted on

Day 5: Python Full Stack Development

Day 5 of learning Python Full Stack Development
Today it start with API , In real world applications, API connect the frontend , backend, databases, mobile apps and external services. Starting with how to use an API - client /consumer and how to create an API -API developer/provider .It officially covers query parameter, validation, authentication-related features and testing.

The API receives the request, Python processes it, gets the data from the database and sends the response back. Real world example like weather application. And now I have understood, why do we need API's, Architecture Important like frontend to backend application and more.

Second concept In Python, routers and factories are design patterns and architectural tools used to organize code, manage control flow, and create objects efficiently. They are highly prevalent in web frameworks like FastAPI, Flask, and Django, as well as in general software development.

Combining Both: A Real-World Architecture In a professional Python application, routers and factories often work together. A Factory creates the application instance, and Routers are then attached to that instance to organize the endpoints.

"SkillForge💥"

Top comments (0)