Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should we use Pylons or PHP for our webapp?

Tags:

python

php

pylons

My friend and I are planning on building a sort of a forum type of webapp. We've used the major PHP frameworks but we're really thinking about using Python specifically the Pylons framework for our app. Although we're competent PHP programmers, we're somewhat noobs at Python (We could create practical scripts and such). But the thing is we really want to learn Python but by testing Pylons out it seems to be really difficult with all the numerous imports and all.

What would you suggest? What advice could you give to us? How would you suggest that we learn Pylons?

like image 582
user267637 Avatar asked Dec 03 '22 06:12

user267637


2 Answers

Decide what you want to put your focus on, being productive or learning a new language:

  • If you want to learn Pylons and Python, use Pylon and Python.
  • If you want to deliver a stable forum software, use PHP, because that's what you're competent at.

Note: I should add that this is not meant to imply that you cannot be productive with Python or Pylon in general. All I'm saying is, in your case, you will be more productive with PHP, because you know it.

like image 166
Gordon Avatar answered Dec 19 '22 15:12

Gordon


Don't be scared off by imports in python. They're much more common when coding in python than PHP in general, and this is good because your namespace never gets polluted with stuff you aren't expecting, unless you do from foo import * (so don't do that). I think you'll find that the structure pylons gives you will be invaluable. There are frameworks in PHP as well, but if you want to learn python anyway, I see no reason you shouldn't dive in with Pylons.

like image 35
jcdyer Avatar answered Dec 19 '22 16:12

jcdyer