Results 1 to 7 of 7
-
17th Mar 2012, 07:03 PM #1OPMemberWebsite's:
SherwoodForum.netBasically, Can You Help Me Understand Python For Web Development (Conceptually)?
So I'm sure of one thing: these are stupid questions.
Seems what little knowledge I have might be relative, so I'll give the big picture:
HTML/CSS
I've done some work in HTML and can design (amateurishly) little sites with HTML, CSS, and a little Javascript action. Never attempted any sort of "masterpiece" (relatively speaking, of course) site, but I can trial-and-error it to get it to look the way I want to look.
Python
Recently I've also been using Python scripts to get some stuff done on my server (Rapidleech is much too limited for my purposes) and I've been enjoying playing around with the scripts and getting the scripts to do things. I've enjoyed the things I've managed to do with it (and the things I can imagine being able to do with it).
PHP
I've also messed around with PHP files (never actually coded anything new in it, just customized Rapidleech a little bit for my purposes).
My Questions
1) It seems to me that it might be both difficult and in some ways suboptimal to learn to use Python to develop a web page?
I mean, you can only develop a website with something like Cherrypy, Web2Py, etc....right? Doesn't something get lost in the translation where it wouldn't in PHP?
So, if one were to attempt (for example) a filemanager. From with hopefully the user could select files, and have options of moving them to folders, renaming (with a feature like was you can do with os.path.splitext() in Python), and list links. Would using Python essentially involve more (and sustained) CPU/memory than at all necessary?
2) If that were the project, how much of designing how it looks would/could be done with HTML knowledge/...use?
Thanks in advance for helping an ignorant wretch like me!Maverick Reviewed by Maverick on . Basically, Can You Help Me Understand Python For Web Development (Conceptually)? So I'm sure of one thing: these are stupid questions. Seems what little knowledge I have might be relative, so I'll give the big picture: HTML/CSS I've done some work in HTML and can design (amateurishly) little sites with HTML, CSS, and a little Javascript action. Never attempted any sort of "masterpiece" (relatively speaking, of course) site, but I can trial-and-error it to get it to look the way I want to look. Python Recently I've also been using Python scripts to get some stuff Rating: 5
-
17th Mar 2012, 07:39 PM #2MemberWebsite's:
rootw.netIt would be a lot simpler imo to do things in PHP. They have a lot of built in functions for things like making a simple file manager. Before you get heavy into either python or PHP though, I would recommend you to finish mastering html, especially since it's generally easy and fast to pick up.
-
17th Mar 2012, 08:56 PM #3You can call me G
Think about Python as a versatile language. While most frameworks out there tend to make code management and development a bit easier in one way or the other, you can still do web development without relying on them (a bit cumbersome though). WSGI is the way to go if you want to dive into it. Set up apache with mod_wsgi and look into it.
@narutoroot: Yes, PHP is great for starting with web development stuff, but I find it less versatile at times when I wish to do stuff using it on the server side. Python wins there undoubtedly.
My Langotiya Yaars (Chaddi buddies): JmZ, humour, Chutad, Esotorisk, l0calhost, Daniel, Mind Freak?, TLK, Amz
-
18th Mar 2012, 11:17 AM #4OPMemberWebsite's:
SherwoodForum.netSo there isn't a (functional) benefit to PHP with a built-in HTML vs. python?
Sort of like Gaurav is saying, I'm hoping to be able to work with Python; but I'm wondering if there's a downside I need to consider and be aware of.
-
18th Mar 2012, 06:03 PM #5MemberWebsite's:
Elite.SO Defendos.com Motionite.comPython isn't really the future IMO. Better go for PHP for now. When you want to code desktop applications you should go for C++ using Qt.
-
18th Mar 2012, 11:00 PM #6You can call me G
Well, I'm pretty sure GUI development with Python is much better supported than PHP.. Also, the PHP market there is a bit saturated with too much competition. And if you're uncertain about Python's usability, Youtube uses Python, so do many other projects at Google
My Langotiya Yaars (Chaddi buddies): JmZ, humour, Chutad, Esotorisk, l0calhost, Daniel, Mind Freak?, TLK, Amz
-
22nd Mar 2012, 03:24 AM #7MemberWebsite's:
PasteBot.appspot.comYou shouldn't just blindly learn and accept a new language just because a few big names (Youtube, Google, NASA, Yahoo) are using it.
Python is a very Mature Language, and there are tons of libraries, that can help you get your job done.
Take a look at this video: [ame]http://www.youtube.com/watch?v=i6Fr65PFqfk[/ame]
The speaker talks about how PHP is a "Serious Language" people use for "Serious Development" at 3:30
EDIT: I hope you realize that he's being sarcastic.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[For Hire] Web Development | PHP | Python
By Gaurav in forum ServicesReplies: 2Last Post: 8th Oct 2012, 11:54 AM -
[For Hire] Web App Development | Python
By ajinkya9 in forum ServicesReplies: 10Last Post: 8th Oct 2012, 05:29 AM -
Python Development with Databases?
By Maverick in forum Web Development AreaReplies: 2Last Post: 19th Apr 2012, 06:06 AM -
[For Hire] Python Development | xChat Plugin Development
By Gaurav in forum Completed TransactionsReplies: 5Last Post: 5th Oct 2011, 08:12 AM -
Nforce.NL - Search NFO files for basically any release out there...
By Cuzabis in forum Useful SitesReplies: 2Last Post: 23rd Jan 2008, 09:27 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...