Skip to main content

Getting Started With Python - for PHP developers

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.





Comments

Popular posts from this blog

Blog CMS Admin Panel Using Laravel within 10 minutes

Hey !! Welcome Back. I am using latest version    Laravel 5.4   for  this post. Before continue please check your are updated with your PHP version required for the running environment of  Laravel. And you have installed the  Composer  in your system. You can check & verify  your running environment from  here . If you are up to date with the minimum requirement than lets continue. Open your terminal and type enter after below command : composer create - project -- prefer - dist laravel / laravel blog   Now wait for a moment. If you got any error during installation than terminal will warn you. Please  Google   the issue and resolve it.  If you are still facing any issue for the same just comment below. If you installed the laravel  successfully than in your system than lets move to next step. There will be an new folder " blog "  where you executed the above composer command.  Just...