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.
-
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.Quentin– Quentin2011年08月03日 22:15:46 +00:00Commented 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.hakre– hakre2011年08月03日 22:17:51 +00:00Commented Aug 3, 2011 at 22:17
-
1if you don't need/want a framework why are you looking for a framework? :)Karoly Horvath– Karoly Horvath2011年08月03日 22:18:05 +00:00Commented 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 )BrainStorm– BrainStorm2011年08月04日 00:03:06 +00:00Commented 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.BrainStorm– BrainStorm2011年08月04日 00:04:18 +00:00Commented Aug 4, 2011 at 0:04
1 Answer 1
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.