Hello Folks,
Some of my buddies asked me to join them in a project to create a small scale website, from ground up. That means without using any web creator stuff, coding each page and all of the underlying mechanisms by scratch. This is purely for educational purpose and for getting some real world experience, since we have 3 months left before we start our Undergraduate and have lots of time, which could be sent in a productive manner. I am familiar with Java,C++,C, HTML and I just started Assembly. So, for this project, I was looking at PHP since it is very popular and easily integrates with MySQL, as I've heard. Then I came across Python, and found it to be a very flexible language indeed. I figured that it would be more useful since it can also be used for software applications(in addition to web apps).
I was wondering if I could use it to develop an online image gallery, with an interface for uploading images. There would be a page with thumbnails and on clicking the thumbnail images, a full size image would come up. The image with the thumbnails should be automatically generated.
Thanks!
Confused about application of python in web development
Started by devjeetroy, Apr 20 2011 08:26 AM
3 replies to this topic
#1
Posted 20 April 2011 - 08:26 AM
|
|
|
#2
Posted 20 April 2011 - 09:06 AM
I'm not too sure about Python but I'm sure you could create an image gallery just as well in it as you could PHP.
Out of preference I would choose PHP, since it's my favourite language and you would find a lot of support and help on the internet. There are also a lot of scripts already on the internet for image gallerys written in PHP. for example 4images and coppermine which you could have a look at.
Out of preference I would choose PHP, since it's my favourite language and you would find a lot of support and help on the internet. There are also a lot of scripts already on the internet for image gallerys written in PHP. for example 4images and coppermine which you could have a look at.
#3
Posted 20 April 2011 - 10:49 AM
I'm not sure for PHP but Python has some nice web frameworks out there, one of more popular would be Django. I've tried it a while back and left it for now because it wasn't really what I was looking for but you can develop web pages quite literally in a matter of minutes, maybe even seconds when you get the hang of it.
A conclusion is where you got tired of thinking.
#define class struct // All is public.
#4
Posted 20 April 2011 - 11:13 AM
Python is nice, but there is honestly no reason it will be hard to implement in future (except for installing the mod for Apache- I recommend you DO NOT code your own server for sake of security). The main deciding factor is this: PHP has a lot more guides I've had a question on web design up for almost a week no reply! Then I posted a PHP question and got the reply the next morning.
Also PHP is a bunch like C++ its strict (but not as strict as C++) which is nice while python is far less strict and as a PHP/C++ user I can tell you- python is not nice when you are used to strict languages.
Finally PHP is heck popular look CODECALL uses it so does nearly every forum program out there.
Also PHP is a bunch like C++ its strict (but not as strict as C++) which is nice while python is far less strict and as a PHP/C++ user I can tell you- python is not nice when you are used to strict languages.
Finally PHP is heck popular look CODECALL uses it so does nearly every forum program out there.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









