inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 25, 2012 5:49:03 GMT -8
Ok thanks both of you Do you have any recommendations for maybe a code simulator? Or should i just get some sort of free host to start testing things?
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Jul 25, 2012 7:14:58 GMT -8
Free hosts can be a pain to get working. I would recommend setting up a local testing environment. Most introduction tutorials will assume you are working local.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 25, 2012 8:00:50 GMT -8
Ok...and how does one do that? Sorry I really am new to anything except ProBoards coding and i was never that good at that
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Jul 25, 2012 8:29:41 GMT -8
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 25, 2012 10:51:07 GMT -8
I'll look into it
|
|
inherit
128557
0
Dec 26, 2022 20:09:25 GMT -8
Rick Ace
4,691
July 2008
jacky10
|
Post by Rick Ace on Jul 27, 2012 5:27:20 GMT -8
Well, if you're interested in Python, I would suggest "Learn Python the Hard Way". learnpythonthehardway.org/book/ is the free HTML version. You can get it on paperback, hardcover, or pdf for a fee. But depending on your application, Python may not serve your needs.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 27, 2012 5:40:13 GMT -8
So what is the difference between PHP and Python?
|
|
inherit
128557
0
Dec 26, 2022 20:09:25 GMT -8
Rick Ace
4,691
July 2008
jacky10
|
Post by Rick Ace on Jul 27, 2012 5:50:16 GMT -8
So what is the difference between PHP and Python? Most would agree that Python is the more professional choice. Advantages over PHP include security, performance, and perhaps lower costs. Arguably, Python is a little harder to learn than PHP. Of course, that depends on what you're trying to write. Both languages are easy to learn. For the professionals, I guess PHP may have too many bugs. In the end, it depends on what you would like to do. Many prefer to stay away from PHP. But the vast amounts of online tutorials can make it a tempting language. The available frameworks, security, and performance, may make Python a better language. Either way, it's definitely easier than Perl as Proboards uses it.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 27, 2012 6:10:12 GMT -8
Ok...so have you read what i was trying to do? Just wondering which language it would work better in...
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Jul 27, 2012 6:16:28 GMT -8
So what is the difference between PHP and Python? Most would agree that Python is the more professional choice. Advantages over PHP include security, performance, and perhaps lower costs. Arguably, Python is a little harder to learn than PHP. Of course, that depends on what you're trying to write. Both languages are easy to learn. For the professionals, I guess PHP may have too many bugs. In the end, it depends on what you would like to do. Many prefer to stay away from PHP. But the vast amounts of online tutorials can make it a tempting language. The available frameworks, security, and performance, may make Python a better language. Either way, it's definitely easier than Perl as Proboards uses it. I would disagree on the claims that Python is more professional. I work in a professional environment where we use both languages. PHP is used for all quick development work, as Python is a pain to get set up for web serving and databasing. Honestly I like PHP much more than Python too, mostly because of the culture behind each one. As for the OPs question, I think PHP is a better fit, as Python is mostly just overkill for a small project like that, as well as harder to host.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 27, 2012 6:38:20 GMT -8
Ok thanks Hey, do you know of any good online PHP tuts? I am not really interested in buying a book that i may or may not use depending on how much i get into this
|
|
inherit
128557
0
Dec 26, 2022 20:09:25 GMT -8
Rick Ace
4,691
July 2008
jacky10
|
Post by Rick Ace on Jul 27, 2012 7:09:17 GMT -8
I would disagree on the claims that Python is more professional. The increased performance and security makes Python a more viable option for professional companies, where financial gains dictate the environment. This would hold true to most professional environments.
|
|
inherit
24252
0
Aug 1, 2023 15:01:24 GMT -8
coolcoolcool
When the world says, "Give up," Hope whispers, "Try it one more time."
2,148
May 2004
coolcoolcool
|
Post by coolcoolcool on Jul 28, 2012 4:55:40 GMT -8
Actually, most professional environments are more about getting stuff done as quickly and efficiently as possible. Using python adds an element of complexity that makes small projects take much longer to get into production.. If you're in a company that actually needs to worry about server load and efficiency, then they'll probably be doing things at a level that simply knowing python won't really be of any help.
Take facebook for example. They actually use php because of how quickly you can develop with it and transforms it to optimized c++ with something they call hiphop for php. Of course, facebook probably also uses all kids of different programming languages like ruby on rails or python, but at the end of the day knowing those simple languages that get the job done quickly are far more useful than starting with a language like python that's really just going to discourage you in the end.
That's just my opinion though. If op wants to learn python, good for him. It would also suit him well.
|
|
inherit
128557
0
Dec 26, 2022 20:09:25 GMT -8
Rick Ace
4,691
July 2008
jacky10
|
Post by Rick Ace on Jul 28, 2012 7:10:00 GMT -8
Actually, most professional environments are more about getting stuff done as quickly and efficiently as possible. Using python adds an element of complexity that makes small projects take much longer to get into production.. If you're in a company that actually needs to worry about server load and efficiency, then they'll probably be doing things at a level that simply knowing python won't really be of any help. A company is all about looking at the opportunity cost. The costs of hiring a Python developer, saving on server costs, and saving on potential security issues, usually outweigh the costs of hiring the developer, in comparison to hiring a PHP developer and working through the other issues. While the case may change often, Python should be a long-term solution for projects with high amounts of traffic, and many lines of coding.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jul 28, 2012 14:34:19 GMT -8
Ok so one more question How would one go about doing the main part of what i asked. I've been looking at tutorials and think i can figure out how to create the database and other things, but how would one attach this code to a picture which can be put in someone's profile on a forum? Or did i misunderstand you guys?
|
|