3

!rant

I did my resource and I know the differences between python vs php, but i still want to ask some of you that used bpth languages to know which one do you prefer for web developing. Python(django) vs php. (Please confirm your answer with real projects knowledge)

Comments
  • 1
    I didn't used django yet, although I had some python offline projects. But I had projects with Node.js and PHP.

    I prefer Node.js... I would say it depends on the developers knowledge base. If you're not comfortable with JavaScript and ES6, maybe don't try Node.js
  • 1
    @sebkas I'm just curious and I have never worked with node js, do you use node js for large scale projects or small projects? and what frameworks do you use? also for small projects node js hosting cost is a problem, what do you think?
  • 1
    @claudiofilipe21 I think the language is not the question here, it's the framework. You might wanna try django and some other php framework like laravel and see what you prefer.
  • 1
    @mohammed I only had small projects with node.js. But I would love to do bigger ones. As a framework I used Meteor and was pretty happy with it.
    I don't know about server cost. I always had my own from the company, or university.
  • 0
    @sebkas @mohammed thank you for your opinions. I will use django first and then I will use a framework for php. Simphony or laravel
  • 0
    I have no idea how Python could be used in web development - I've heard of a few frameworks but it seems very bizarre to me. PHP is better for it, in my opinion, because it designed for it (and there's a plethora of help articles on the web)
  • 1
    Django is really really amazing. Python is general purpose so it can do anything, remember. Only thing is that it is quite annoying to set up, with wsgi and a proxy for statics and what not
  • 3
    BTW use PHP with a framework like Laravel for DB abstraction and stuff if you use it. Thank me later.
  • 0
    @epse So you are saying to use python and php? In the same project?
  • 1
    @claudiofilipe21 no the second comment was, if you do happen to chose PHP, then..... But I'd still recommend Django for speed of development and leave server setup to hosting admin lol
Add Comment