1

Yes, I'm in doubt if that's a duplicate, I've searched a while but nothing exactly like this one.

I'm a hobbyist programmer, I know C++ and python well, but I'm a completely noob when it comes to web-development, it sounds more natural to me to learn PHP without frameworks, but then comes the question, is there any python module or framework that allow me to develop websites like in php-without-frameworks?, because i really prefer python over php, and also i pretend to move to Django after i learned the basics in the hard way.

I also want to code javascript and css by my own, i just want this module/framework that concatenates the native approach for web of php, but in python language 'cause i love it.

Thanks.

8
  • What do you mean by "php-without-frameworks"? Do you mean where all the logic is splurged into the middle of the templates? That's terrible style (even in PHP) and should be avoided for anything other then the most very quick and dirty scripts. Commented Aug 3, 2011 at 22:15
  • If you're confident with python, why do you want to learn php as an additional language? I'm just asking, not saying you shouldn't, just if you share more of your motivation it might become more clear what you're looking for in the PHP world. Commented Aug 3, 2011 at 22:17
  • 1
    if you don't need/want a framework why are you looking for a framework? :) Commented Aug 3, 2011 at 22:18
  • @Quentin, I just wanna learn the hard way, but i wanna use python, and i want the most "standard" way of doing this in python, without frameworks, like in php ( without frameworks ) Commented Aug 4, 2011 at 0:03
  • @hakre, that's the point, php sounds more didatic to new web-developers, since it is more easy to simple start using for webdev. Commented Aug 4, 2011 at 0:04

1 Answer 1

3

The python cgi module might be what you want, though it is hard to tell exactly what you want. You could also try using WSGI, which is low-level, similar in some ways to cgi. Anyway, these interfaces leave you at a pretty low level, so if you're doing this just to learn "the hard way", this is an educational way of doing that.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.