Follow

hi programmer masto

how are you

i have next to no code experience and i need to learn for my job i guess

does anyone have some beginner-friendly resources you like that i can look at?

please keep in mind that references to similar concepts/how things are done in other languages will not help me at all

· Web · 0 · 21 · 7

@QBFreak i've been looking through that... i am glad it's there as a reference, but it seems a bit confusing to learn from 😅

@xyzzy Hi, I'm not a PHP programmer, but this resource looks nice to me:

"PHP 101: PHP For the Absolute Beginner"

devzone.zend.com/6/php-101-php

@xyzzy do you have some web experience (ability to read/write some basic HTML for example)? You'll need that as well.

@saper i do actually know a decent amount about HTML, so that's good i guess.

@xyzzy there's some good info here: phptherightway.com/ (though beware unnecessary complexity).

the official php docs are actually pretty good in a lot of ways, but exercise caution about trusting user-supplied examples of things there.

i'm actually... kind of unsure what i'd recommend as a starting point for a beginning programmer.

@xyzzy @Irick you might want to do more of your processing in the database and less (or not at all) in PHP

(if those data fit into the relational database of course)

@xyzzy
codeaccademy is a good sort of confidence builder, it'll get you familiar with the sort of basic vocabulary of the language. I'd find out what database technology you'll be interfacing with and pick up a cookbook for it as well, cookbooks are great sources of quick, functional code when you are starting out and they give you some pretty useful examples that let you start to get an idea of how the language is used in that context. From there, it's a process of trial and error.

@xyzzy
most likely, if this is your first time dipping your toes into the water so to speak, you'll want to go over HTML basics as well. You'll probably be using HTML forms and a few other things if you're in the PHP sphere and it's useful to understand how that stuff works in your templates.

@xyzzy I learned a lot of the basics of PHP by learning WordPress theme building. If you know HTML/CSS, that's a great place to start, especially if you're going to be doing the user-facing side of a PHP application.

@sanspoint won't be doing anything user-facing, but the idea of learning by messing around with a theme sounds appealing, so i may check it out, thanks!

@xyzzy Bare minimum, it’ll give you some idea how PHP is structured and how to do function calls inside a document. If you’re really feeling energetic, download a simple WordPress plugin, figure out how it works, and either modify it or try making your own. It’s all PHP!

@xyzzy I'm not going to reply the question directly, because I'm pretty sure you have access to google et alia the same as the rest of us.
I did like how "please keep in mind that references to similar concepts/how things are done in other languages will not help me at all" meant you are already thinking the right way.
You just have to put in the time.
There are no shortcuts.

@xyzzy this might help? w3schools.com/php/default.asp
I honestly learned what php I know through trial and error. I know said references to similar concepts will not help, and this isn't exactly that, but I want to say that in my experience php is very similar to Javascript, so once you understand one, you'll probably have an easier time learning to use the other. And again in my experience basic Javascript was way easier to learn first.

@masklayer it might be worth looking into, thanks. i just know i tried their CSS tutorial a while back and really did not like it which made me hesitant about this one

@xyzzy
I don't have a resource for you that explains php beginner friedly. But I've got a tip how I learned some php (I still reference the php website if I dont know a keyword etc). Have an idea of a little programming project. Not just the simple echo "hello world";, but something a bit more complex.
Learn the basics with some beginner tutorials, there are probably some tutorials on phpon youtube as well. And then start a small php project. Ask questions along the way

@xyzzy
With the basics i mean loops, echo, the use of arrays (these words may not mean anything to you right now, but if you look into some beginner tutorials, you'll learn what these are and how to write a loop or array).
And as someone already pointed out: it's a good idea if you already know html

condescending? non-direct answer Show more

@xyzzy

Maybe give this a look?

phptherightway.com

there are not a whole lot of beginner friendly pages that I know/can find

@xyzzy have you tried the free course on Codecademy? it's

@xyzzy ah. guess that would explain why only the first part of my reply made it. it knew. (^_^);;;

@xyzzy My sister @sketchings@twitter.com is the PHP instructor at teamtreehouse.com/ and I've heard they have very beginner level stuff (although not free).

@AFresh1

@xyzzy

My spouse learned php and wordpress dev from those courses, but her employer paid for it. So, indirect +1

@sehqlr @AFresh1 cool, maybe if things seem like they might go far i'll ask about them (right now this wouldn't be a major component of my job)

@xyzzy @sehqlr @AFresh1 you should definitely see if you can get them to pay for it. It's a huge value proposition for them cause you're gonna already know the rest of the business. Knows the business + knows how to code is easily worth the cost of an online training course

@vector
Yeah, one of my goto interview questions (when I'm confident) is about continuing education programs. I have yet to be shot into space
@xyzzy @AFresh1

@sehqlr @xyzzy @AFresh1 That's a good litmus test. I should start asking something like, "It's important to provide devs with the tools they need to succeed. We work in an ever changing industry where it is necessary to constantly learn new technologies. How do you support your devs so that they can stay on top of the industry?"

@xyzzy
When I was teaching myself programming, I went to the nearest public library and looked at their Programming section. Those books are prefixed 00 in the dewey decimal system, after UFOlogy books and before library science. I personally recommend either O'Reilly (realistic animals on the cover in BW) or Starch Free Press books (fun comic book style covers, often with robots)

@xyzzy
Oh, replace 'recommend' with 'liked' in trying to tell my story not tell you what to do

@xyzzy do you already know at least a little HTML/CSS? It might be a good idea to have a reasonable HTML primer to use as a reference while learning PHP as I think most PHP books are gonna assume some HTML skill.

@xyzzy I learned it pretty quickly from codeacademy.com :) the python course is also really awesome.

@compl4xx you're not the first person to say that... codeacademy took down their PHP course unfortunately.

@xyzzy The PHP manual online is your best resource ever!!! It's amazingly well documented and very easy to learn. If you need some pointers hmu, I've been doing it for 12 years.
@xyzzy The PHP manual is your best resource ever!!! It's amazingly well documented and very easy to learn. If you need some pointers hmu, I've been doing it for 12 years.
Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal