0 likes | 34 Views
Empower your career with our Python Full Stack Course in Hyderabad. Gain hands-on experience, industry recognition, and job placement assistance for a thriving journey in full-stack development.
E N D
Table of content • Why choose Python as a programming language • What is full stack web development • How to Start your first Django app • Cracking Django project files • Tools and IDEs
Why choose Python as a programming language Python is a multipurpose, high-level, and interpreted programming language. In a survey carried out by Stackoverflow, it was ranked the third most-used language by beginners. Thanks to its many features, it has increasingly become prominent in the following areas of tech: • Machine learning • Backend development (APIs) • Full stack web development • Game development • Frontend development • Data science • Data visualization • Networking
What is full stack web development? Full stack web development is simply the development of both the frontend and the backend. A full stack developer has a lot to offer, seeing as much must be achieved in full stack development. Today, application development calls for a big team with highly committed people who move from SRS (software requirement specification) and UI design to build an entire product that fits a customer's needs. • Backend development with Python A backend developer builds and maintains all the relations in a database’s tables and provides ways for the frontend to communicate with the backend. This is done through APIs and their endpoint. • Flask • CherryPy • Pyramid • Django
Frontend development with Python • While Python is prominent in backend development, it can also be used in the frontend for different interfaces like mobile, desktop, and web. However, using it for web frontend is not always easy; it is better to use HTML, CSS, and JavaScript • PyScript • Brython • Anvil How to Start your first Django app • Step 1: Virtual environment setup • Step 2: Django installation • Step 3: Create project • Step 4: Create a views file and add a function • Step 5: Change the content of the urls.py file
Cracking Django project files • init.py • Lets the Python interpreter know that a directory contains code for a Python module. • asgi.py • Stands for Asynchronous Server Gateway Interface. It is an emerging Python standard for asynchronous web servers and applications. In addition to the features it offers, it supports all configurations from the WSGI. • wsgi.py • Stands for Web Server Gateway Interface. It contains the configuration details for the web app. • manage.py • Contains the command line tools of Django with commands such as migrate, makemigrations, runserver, and more. Django developers suggest that it should not be edited by beginners. • urls.py • Here is where all the file paths and routes of the app are found. As long as a route is not part of this, a 404 page error is thrown. • settings.py • The central configuration for all Django projects. You would have already worked with a series of variables in this file to configure things like Django applications, databases, templates, and middleware, among others. • models.py • This is where the logic of the database is written. It includes relations, primary keys, schema, etc. • views.py • For each page displayed at the level of the browser in Django, there is a view (function- or class-based) that is executed whenever it is called by its route.
Tools and IDEs • Visual Studio Code (VSCode) • PyCharm • Jupyter Notebooks • Jupyter Notebooks • Atom • Spyder • Eclipse with PyDev • Anaconda Navigator • Thonny • Git • Docker • Postman • Pipenv • Selenium • Swagger/OpenAPI Tools
Presenter name: kathika.kalyani • Email address: info@3zenx.com • Website address: www.3ZenX.com