Jump to content

Will PHP become easier for me after some time?

- - - - -

  • Please log in to reply
5 replies to this topic

#1
b941

b941

    Newbie

  • Members
  • Pip
  • 5 posts
Hello all!

I learn PHP for about a month now and right now I'm going through OOP. It's pretty hard, especially because I face a lot of thing related to PHP but not exactly PHP, like HTML, CSS, SQL... They all can be in one page. It's extremely hard to read a code someone already created, trying to find what relates to what and where it all goes. And it's also hard to create my own code. And I was wondering - will it always be like that? Or after some time these things will become easier for me? How hard it will be in future to read a code someone created and modify it? I will make PHP my job and I have to be able to code well to earn money. That's why this situation makes me sad.

P. S. Please no advices like "change your job". A chose PHP as my job and only will go that direction.

#2
Epatron

Epatron

    Learning Programmer

  • Members
  • PipPipPip
  • 56 posts
When I started to read PHP too, I was pretty confused and thinked same as you, but now when I just go n create pages with php codes, it helps alot!
So just read tutorials, and code sites with 'em, really helps !
PS: Im beginner PHP coder too! :P

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Write now, you are learning several different things all at once:
1) PHP syntax
2) Programming (separate from any language)
3) OOP
4) possibly also HTML, SQL, etc

As you get more comfortable with each of them, the process of reading/writing PHP will get much easier, and you'll be able to focus just on solving your problem, and not on what the code means or how to express what you mean.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
Repetition is the mother of all learning, so just repeat doing things with PHP in many different forms, and you will learn how to master it! Although, you'll never learn it all...
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#5
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
Reading a php code depends on who wrote it.
If someone wrote a code, where their php logic, some sql, html, some css, and maybe some javascript all in the same code, php can be very hard to read

But if he use different files to separate everything, and everything is at his place, php can be the most beautiful langage, and can be "easy" to read.

If you are learning oop, I suggest you should look for a mvc pattern. It might be a little bit too advanced, but if you are learning a new langage you should start with some solid base ;)

#6
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Yes but only if you try to learn,
its like a foreign language really- in fact that's what it is. After a year of very light study you will be confident enough to scim through a manual write your own code, etc, etc.

Probably only a month or two of decent study.
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