• You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to additional post topics, communicate privately with other members (PM), view blogs, respond to polls, upload content, and access many other special features. Registration is fast, simple and absolutely free, so please join our community today! Just click here to register. You should turn your Ad Blocker off for this site or certain features may not work properly. If you have any problems with the registration process or your account login, please contact us by clicking here.

Programming in PHP

FunnyDigestion

New member
Joined
Mar 18, 2011
Messages
1,126
MBTI Type
INFP
Enneagram
4
Does anyone have experience with the PHP programming language? How does it compare to Java, C, etc., whatever else you've used...

I should probably ask first if anyone here programs at all. Who?
 

Qlip

Post Human Post
Joined
Jul 30, 2010
Messages
8,464
MBTI Type
ENFP
Enneagram
4w5
Instinctual Variant
sp/sx
It's intended for server side web stuff, so it has an entirely different niche than something like C. I'd volunteer more info, but honestly I only program occasionaly for small projects. So I don't have a great feel for its strenght and weaknesses.

When doing web stuff you'll usually use PHP along with a database as well. So you'd learn something like MySQL also.
 

Eckhart

New member
Joined
Jan 6, 2010
Messages
1,090
MBTI Type
INFP
Enneagram
???
To your general question: well, I don't know if I currently actively program, but I learned programming and other stuff at school (Delphi) and university (Java, SQL), and in my free time I learned a little little bit HTML and PHP. However, I never did something big with anything of that yet, so I don't see myself as too knowing in that topic.

To PHP: As said already it gets used for dynamic web pages usually, so in combination with a database, mySQL is quite popular here.
 

Twitch

Permabanned
Joined
Sep 9, 2011
Messages
10
MBTI Type
INTP
Enneagram
5
Ruby.

(But I'm a fan.)

Then Java.

That is, if you want to get paid (well) to write with it.
 

thisGuy

New member
Joined
Mar 14, 2009
Messages
1,187
MBTI Type
entp
You know Java? Most high level concepts like inheritance, object oriented-ness transfer over with little difficulty. Though because PHP is for the web, you *most likely* won't need to use these crazy architecture things most of the time. They only come into play when you start building complex software.

Key things about PHP:
Its executed on the server, not on the client.
Variables start with '$'
You don't have to declare them before using them like java. You can use them without declaring them. This can be a bit bad if you misspell the variable. You script will give errors but you won't know why

php.net is one of the best resources out there. Its got answers for everything.

What is your end goal here? Maybe I can tell you which resource is best you use and how to best go about learning this language.
 

strychnine

All Natural! All Good!
Joined
Jun 23, 2010
Messages
895
I'm thinking of learning PHP or another language for the web. I know some Java so it doesn't sound like it will be too hard.

My goal (in the next few months) is to make an online survey and have it write the results to a text (csv) file so i can download, import and do data analysis.

I also have to consider things like security though...

I also like wordpress so learning PHP would be useful for that too...
 
Top