Jump to content


Photo

Php Or Python


  • This topic is locked This topic is locked
12 replies to this topic

#1 Medavidcook

Medavidcook

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • LocationCardiff, Wales

Posted 03 December 2012 - 08:04 AM

Hello.

I am looking to expand my knowledge into a different language,

I know;
HTML
CSS
Basic java and php

I am looking at expanding but dont know whether to go full php or down python route

any thoughts on which way i should look to go

thanks

Edited by Medavidcook, 03 December 2012 - 08:10 AM.


#2 MDCode

MDCode

    Advanced Member

  • Members
  • PipPipPip
  • 645 posts

Posted 03 December 2012 - 08:07 AM

I found it much easier to learn python after I got a good grasp on php. My opinion is that you should go with php first.

#3 Hall of Famer

Hall of Famer

    OOP Fanboi

  • Members
  • PipPipPip
  • 315 posts
  • LocationIthaca

Posted 06 December 2012 - 01:03 AM

I found it easier to learn PHP though, probably due to my tiny bit of knowledge about C++ and Java before touching this programming language. Python is fine for me too, unlike Ruby which is far more difficult than probably PHP and Python combined.

Welcome to the world of OOPHP! In a perfect script, everything is an object. You cannot be perfect, but you can approach as close as can.

zog841.jpg


#4 Medavidcook

Medavidcook

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • LocationCardiff, Wales

Posted 06 December 2012 - 05:40 AM

yeh i was thinking about heading towards php

I recently picked up a java bookand now confused as whether to go php or java route now.

#5 salathe

salathe

    Badger

  • Staff Alumni
  • 1,860 posts
  • LocationEdinburgh, Scotland

Posted 06 December 2012 - 01:47 PM

Go "full PHP", and Python, and Java, and… just take your time. :)
  • cpd likes this
PHP Documentation Team

#6 Medavidcook

Medavidcook

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • LocationCardiff, Wales

Posted 20 December 2012 - 01:20 PM

so full php first then onto python

next thing any good tutorials about

Edited by Medavidcook, 20 December 2012 - 01:20 PM.


#7 Medavidcook

Medavidcook

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • LocationCardiff, Wales

Posted 02 January 2013 - 05:59 AM

Yeh i have decided to go down PHP route. Anyone have any good material or know of any that i can learn from.

Thanks.

#8 ahamadhussain

ahamadhussain

    Newbie

  • New Members
  • Pip
  • 9 posts

Posted 15 January 2013 - 01:21 AM

Hi Medavidcook...
The following books are very useful for learning PHP
  • PHP solutions: Dynamic Web Design Made Easy – David Powers
  • PHP 5 For Dummies - Janet Valade
  • PHP 5 – Wrox Press
The website also useful for learning PHP

http://www.w3schools...php/default.asp

#9 cpd

cpd

    ¬_¬

  • Members
  • PipPipPip
  • 892 posts
  • LocationLondon, UK

Posted 15 January 2013 - 03:41 AM

Just wanted to echo salathe's comments: learn both. Ultimately you're going to pick up generic programming skills understanding control flow/loops etc so it really doesn't matter. Both are scripting languages and aren't strongly typed so learn both.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."

"One of my most productive days was throwing away 1000 lines of code."

#10 MDCode

MDCode

    Advanced Member

  • Members
  • PipPipPip
  • 645 posts

Posted 15 January 2013 - 10:48 AM

http://www.w3schools...php/default.asp


I disapprove use of this site. They teach out of date material and security is the least of their worries in teaching.

#11 salathe

salathe

    Badger

  • Staff Alumni
  • 1,860 posts
  • LocationEdinburgh, Scotland

Posted 15 January 2013 - 02:31 PM

They teach out of date material and security is the least of their worries in teaching.


So does the PHP manual, but you don't hear anyone complaining because it hasn't (yet) been the subject of a smear campaign. :shy:
PHP Documentation Team

#12 cpd

cpd

    ¬_¬

  • Members
  • PipPipPip
  • 892 posts
  • LocationLondon, UK

Posted 15 January 2013 - 04:57 PM

Let the smearing commence.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."

"One of my most productive days was throwing away 1000 lines of code."

#13 Hall of Famer

Hall of Famer

    OOP Fanboi

  • Members
  • PipPipPip
  • 315 posts
  • LocationIthaca

Posted 07 February 2013 - 06:48 PM

I find it easier to learn PHP, Python is not that bad but I just dont feel the need to learn it. Ruby is definitely by far the hardest to learn among all web programming languages, which is only recommended for programmers with at least 2-3 years of coding experience.

Welcome to the world of OOPHP! In a perfect script, everything is an object. You cannot be perfect, but you can approach as close as can.

zog841.jpg





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com