This blog is not specially for PHP developers. So don't worry if you are not from PHP Development Background.
Recommended Reading - IBM - Python basics for PHP developers
After reading above article i am assuming you already knows
A) What is Python.
B) How Python is different from PHP (If you are from PHP Background)
C) Basic understanding for variables in Python.
This Tutorial will cover Web Application Development using Python and MySQL.
Prerequisite
1. Install MySQL for database storage.
2. Install Python.
3. Install Django.
why Django ? Yess right question.
Django is open source web framework which is most popular to create a web application in python language. No doubt you can start development by core python. But if you are going to develop a secure standard application than Django is a boiler plate to get started quickly.
Except Django there are also some python web frameworks like Bottle , Flask and many.
Django is recommended web framework but you can start with any other too if you thinks that other framework will be better than Django according to your application requirement.
Before moving to forward check everything is working fine. Open terminal and type
1. For MySQL
mysql --version
2. For Python
python --version
3. For Django
python -m django --version
You will receive output with current version if installed properly.
MySQL Connector Dependency - Go to the MySQL - Download Connector/Python to download and install Python Connector according to your operation system which will be required to connect your Django app with MySQL.
Recommended Reading - IBM - Python basics for PHP developers
After reading above article i am assuming you already knows
A) What is Python.
B) How Python is different from PHP (If you are from PHP Background)
C) Basic understanding for variables in Python.
This Tutorial will cover Web Application Development using Python and MySQL.
Prerequisite
1. Install MySQL for database storage.
2. Install Python.
3. Install Django.
why Django ? Yess right question.
Django is open source web framework which is most popular to create a web application in python language. No doubt you can start development by core python. But if you are going to develop a secure standard application than Django is a boiler plate to get started quickly.
Except Django there are also some python web frameworks like Bottle , Flask and many.
Django is recommended web framework but you can start with any other too if you thinks that other framework will be better than Django according to your application requirement.
Before moving to forward check everything is working fine. Open terminal and type
1. For MySQL
mysql --version
2. For Python
python --version
3. For Django
python -m django --version
You will receive output with current version if installed properly.
MySQL Connector Dependency - Go to the MySQL - Download Connector/Python to download and install Python Connector according to your operation system which will be required to connect your Django app with MySQL.
Comments
Post a Comment