Magento Expert Forum - Improve your Magento experience

Results 1 to 9 of 9

Python or PHP?

  1. #1

  2. #2
    [ Contributor ] ModulesGarden's Avatar
    Join Date
    Mar 2014
    Location
    Poland
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    A difficult question, neither we would say. There are some pros and cons in both of them. In some cases Python would be recommended e.g. creating apps for systems, but usually the PHP wins because of its popularity.
    Python code can be definitely shorter and more clean. The fact is that PHP is far more widely used for nearly all kinds of software development solutions which gives it a huge advantage.

  3. #3
    New member Steavjohan's Avatar
    Join Date
    Feb 2015
    Location
    United States
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey Sara Evans, very good Question. You did put things right I'm a PHP programmer fighting to switch to python (which I already knew was better) for quite some time.

  4. #4
    New member
    Join Date
    Mar 2015
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Both languages ​​have different purposes and history, and it is not fair to compare. I'll try to list the things I like both.

    PHP:
    Forgiving: PHP is one of the most languages ​​"freeform" I used probably comparable only to Javascript.
    Easier learning curve: You can quickly start coding in PHP with an understanding or basic programming experience. This was the main purpose PHP was created to serve. This also helps in faster development.
    Amateur consistent: The code does not need to be stylish for this to work. I think this is the main reason for it to have become the most popular language for web development. You can cook some code in a hurry, and it works.
    Open source communities: There is a huge community and open source projects using PHP. It's easy to get support if you have a roadblock.
    The de-facto language for the web: Most popular web frameworks (Wordpress, Drupal, Joomla, Zend, CodeIgniter, OSCommerce) are built on PHP. Which also makes it very easy to find a PHP web developer who knows.
    Support Accommodation: Because of the popularity, PHP hosting is supported by almost all vendors there.
    PHP 5 is actually a huge improvement over previous versions in terms of design language, etc.

    Python:
    Syntax and standard library: I love the clarity of the Python syntax. Ships of the Python standard library with a large set of tools and utilities.
    Common use: Python can be run on servers, to build applications and in many other places.
    Elegant: Python language has a stylish design that makes it much easier to write great code.
    Unicode support: Python has great support for Unicode.
    Modular and definitive: Python is less eccentric to PHP.

    Thanks & Regards
    Saga Biz Solutions

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    635
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Python and PHP are two of the most well known abnormal state programming dialects. PHP is generally utilized as a server-side scripting language, while Python is esteemed for its elements, accessibility, and effortlessness.

  6. #6
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    156
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Picture result for Python or PHP?

    Python is better in the long haul ventures. PHP has a low expectation to learn and adapt, and it is clear to begin with. Python utilizes space implementations that are very exacting. This makes it more coherent than PHP.

  7. #7
    Expert
    Join Date
    Apr 2017
    Location
    Ahmedabad, India
    Posts
    318
    Thanks
    3
    Thanked 3 Times in 2 Posts

    Default

    Python is better than PHP language

  8. #8
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Python is generally utilized in AI, information science, and academic network though PHP is the language of decision for web improvement. Python has few structures though PHP has numerous systems. Python offers clear and compact language structure of codes though PHP has a wide scope of naming shows and linguistic structure.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •