Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1123 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

I can't learn PHP

Thread title: I can't learn PHP
Reply  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
08-31-2010, 01:15 AM
#1
sebech is offline sebech
Status: Member
Join date: Mar 2010
Location: Australia
Expertise: Photography/Design/Photoshop
Software: Itunes/Photoshop/Chrome
 
Posts: 217
iTrader: 2 / 100%
 

sebech is on a distinguished road

  Old  I can't learn PHP

Hey guys,

No matter what, i just can't learn php, which sucks because I can't develop for Wordpress. No matter what tutorials I go through, I just can't learn it. Its like a foreign language for me. Its ridicolous.

Should I just stop trying and just pay a freelancer to convert all my PSD files into wordpress themes.

Only reason I want to learn php is because I want to get into Wordpress Themes, Wordpress Admin Backend Theme options and Wordpress Plugins.

I <3 wordpress

Reply With Quote
08-31-2010, 01:57 AM
#2
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Where is it not making sense?

Reply With Quote
08-31-2010, 02:00 AM
#3
Dan is offline Dan
Dan's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 3,164
iTrader: 15 / 86%
 

Dan is an unknown quantity at this point

  Old

Errr... WordPress theming is a piece of cake. Srsly. :S

The documentation makes it even easier.

Don't give up.

Reply With Quote
09-23-2010, 02:08 PM
#4
Techmodi is offline Techmodi
Status: I'm new around here
Join date: Sep 2010
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

Techmodi is on a distinguished road

  Old

I agree to Dan, you should not give up!

Reply With Quote
09-23-2010, 04:39 PM
#5
DuCe is offline DuCe
Status: I'm new around here
Join date: Sep 2010
Location: Kissimmee, FL
Expertise: Web design, and development
Software: PS, AE, DW, F,C4D, GC, NP
 
Posts: 13
iTrader: 0 / 0%
 

DuCe is on a distinguished road

  Old

Don't give up mate, it was the same way for me, and not I am one of the best a t it. Take some time to yourself, and visit w3schools, and read the tutorials slowly, and whenever you get bored give YouTube a little visit for about 5 minutes, and then go back to learning.

Also take your time, do not rush through it, thing of it as a very important state test you need to pass.

That is how I did it, and it worked out fine for me.

Reply With Quote
09-27-2010, 03:14 AM
#6
piraino is offline piraino
Status: I'm new around here
Join date: Sep 2010
Location:
Expertise:
Software:
 
Posts: 3
iTrader: 0 / 0%
 

piraino is on a distinguished road

  Old

I've done a few Wordpress themes and I wouldn't exactly call it a piece of cake - not for someone who's unfamiliar with PHP. That being said, it's definitely do-able and I agree with the others: Don't give up.

I learn better by working on an actual project rather than working on lessons or tutorials that might not directly relate to a task I'm trying to do. Start small - use an existing theme and try making modifications to it. Then modify something else on it. Google info on the specific things you're trying to modify. As you get more and more of those small tasks under your belt things will start to click.

Reply With Quote
Thanked by 2 users:
Gaz (09-27-2010), Spherions (11-18-2010)
12-09-2010, 07:32 PM
#7
Jake B is offline Jake B
Jake B's Avatar
Status: Member
Join date: Aug 2007
Location: SF
Expertise: Coder
Software: Sublime Text, Google Chrome
 
Posts: 211
iTrader: 1 / 100%
 

Jake B is on a distinguished road

Send a message via AIM to Jake B

  Old

I had the hardest time learning PHP as well. I soon found out that you don't learn everything all at once. It's handy to have php.net, the WordPress Codex, and pretty much anything else that's relevant for WordPress designing bookmaked. You learn as you go, and you'll start seeing yourself thinking out of the box and trying to accomplish something. It takes baby steps, but you just need to find out how to make programming work for you, and your client. Loops, functions for quick, repetitive tasks, and other things.

A quick lesson with PHP: It's a scripting language, which means with each request (yoursite.com/example.php...) it loads everything that was included in the PHP files. PHP bounces around from file to file, but understanding that it's simply just a script you're running could make everything a bunch easier. There's no magic happening with a scripting language :P

I'd also recommend just trying out a few exercises for yourself:
  1. Create a loop in WordPress, make sure it grabs the post's title, date, author and content.
  2. Create a post page (permalink) in WordPress, and then link the loop page (post listing) to the post page.

After you've done those things, get curious and figure out how it's happening. Click around the files and read the code. It probably won't make sense to you at first, but over time you will start to understand what is going on. Also make sure you look around the database. Most popular *AMP clients offer PHPMyAdmin to browse around the database. If you'd like a better database client and if you have a Mac, I'd definitely look into Sequel Pro.

These are some of the most helpful pages in the WordPress Codex, I'd recommend bookmarking them:
If you're looking for a place to start, I'd highly recommend reading the Theme Development article in the WordPress Codex.

You can do it! I come from a design background too, and now I actually enjoy programming more than designing PSDs...

Reply With Quote
Thanked by 2 users:
Salathe (12-09-2010), Spherions (12-12-2010)
12-12-2010, 08:59 PM
#8
Mapster is offline Mapster
Status: I'm new around here
Join date: Dec 2010
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Mapster is on a distinguished road

  Old

You are likely making it more complicated than it really is.

Reply With Quote
12-12-2010, 11:20 PM
#9
Spherions is offline Spherions
Status: Junior Member
Join date: Mar 2009
Location:
Expertise: Investment
Software: Photoshop & phpDesigner
 
Posts: 59
iTrader: 0 / 0%
 

Spherions is on a distinguished road

  Old

Jake, mate, excellent post! In addition I highly recommend purchasing some beginner PHP books. O'Reilly makes a terrific book, and I believe they have one out for PHP 5.x.

Once you learn the basics of PHP and MySQL, the rest of it comes naturally. Referring to the documentation at php.net is also another great way of learning tricks and what things do and what they process and much more.

http://php.net/

Reply With Quote
12-13-2010, 10:16 AM
#10
Eddie is offline Eddie
Status: I'm new around here
Join date: Nov 2010
Location: UK
Expertise: writing
Software: notepad
 
Posts: 16
iTrader: 0 / 0%
 

Eddie is on a distinguished road

  Old

I have also struggled with php, but thanks to this post I am encouraged to persevere with it.

What I have been doing is trying to read everything, learn everything, before putting into practice. It makes sense taking baby steps. Thanks everyone.

Reply With Quote
Reply  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed