473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Advice on learning PHP

Can anyone give me advice on how to learn PHP?
Jun 2 '08 #1
9 1525
On May 15, 11:01 am, Phper <hi.steven...@gmail.comwrote:
Can anyone give me advice on how to learn PHP?
Install a web server and PHP on your machine, and play with it! If
you've got programming experience it's quite easy to pick up.
Jun 2 '08 #2
In our last episode,
<9a**********************************@w34g2000prm. googlegroups.com>, the
lovely and talented Phper broadcast on comp.lang.php:
Can anyone give me advice on how to learn PHP?
I don't know if this is really about learning PHP, but ...

You will see many questions here like "How do I <do something with a web
pagein PHP"? About 90% of the time, if you cannot do something without
PHP, you cannot do it with PHP.

If you cannot make a mock-up of your page in (valid) HTML, you cannot make
the page with PHP. If you cannot give the page the appearance you want in
CSS, you cannot use PHP to do it. If you cannot write a query in your
database client that works, you cannot write a query in PHP that works. If
some client-side script you want doesn't work when you use an editor to
enter it in an HTML document, it won't work if you use PHP to write it. In
other words, PHP can make what you are doing easy, if you know what you
doing. If you cannot write a valid HTML document without PHP, PHP cannot
write a valid document for you, and it cannot write magic HTML that does
things that are basically impossible in HTML (such as, from a recent
question, embed a font in HTML). If you are not too clear on the pros and
cons of (attempted) browser sniffing, PHP won't make that any clearer.

You'll make it much easier on yourself if you write a mock-up document with
dummy values first, and pass that through a validator before you use PHP to
write real values from your database in your document. Writing queries in
PHP will be a breeze if you first test queries in your database client.

Many, many people who have never written a web page, never styled an HTML
document, never used their database client, seem to think there is something
in "learning PHP" that will enable them to do those things.

--
Lars Eighner <http://larseighner.com/us****@larseighner.com
Countdown: 250 days to go.
Jun 2 '08 #3

"Phper" <hi**********@gmail.comwrote in message
news:9a**********************************@w34g2000 prm.googlegroups.com...
Can anyone give me advice on how to learn PHP?
How to learn any programming language:

Select a project
Write the code

Repeat

Seriously. If you want book recommendations the O'Reilly
books are always good as are many others on PHP.

Especially good are "Programming PHP" and if you are new
to programming "Learning PHP". After that, "PHP Cookbook"
and books on what you wish to accomplish, such as PHP and
MySql etc.

Jun 2 '08 #4
On Thu, 15 May 2008 03:01:35 -0700, Phper sez:
Can anyone give me advice on how to learn PHP?
When I first decided to learn PHP, I checked out five books from the
library on PHP and MySQL. First mistake - dead tree editions are
obsolete by the time they get to the library.

Then I spent hours and hours on Google looking for the best source of
information, and I found that php.net is all you really need. Examples,
complete programming reference so you can see all the arguments each
function takes, etc. If I need an answer in a hurry, I'll fire up xchat
and go to the #php channel on Freenode; otherwise I get everything I need
from php.net. I subscribed to this newsgroup mostly to read other
people's questions and learn from the answers they get.

If you really can't find what you need at php.net, google for php +
tutorial + example and you'll see tons of sites that teach various
aspects of the language.

--
Peter B. Steiger
Cheyenne, WY
If you must reply by email, you can reach me by placing zeroes where
you see stars: wypbs.**1 at gmail.com (yes, that's a new address)
** Posted from http://www.teranews.com **
Jun 2 '08 #5
On 15 May, 11:01, Phper <hi.steven...@gmail.comwrote:
Can anyone give me advice on how to learn PHP?
First step, change the name in your Google profile to your eral name,
rather than still pretending to be Erwin Moller!
Jun 2 '08 #6
On Thu, 15 May 2008 05:57:24 -0500, Lars Eighner wrote:
Many, many people who have never written a web page, never styled an HTML
document, never used their database client, seem to think there is something
in "learning PHP" that will enable them to do those things.
Perhaps you underrate the joys of PHP with a nice ncurses environment.
(:

--
"Friendship is born at that moment when one person says to another, 'What!
You too? I thought I was the only one!'"
--C.S. Lewis
Jun 2 '08 #7
Captain Paralytic wrote:
On 15 May, 11:01, Phper <hi.steven...@gmail.comwrote:
>Can anyone give me advice on how to learn PHP?

First step, change the name in your Google profile to your eral name,
rather than still pretending to be Erwin Moller!
Second step: don't feed the troll.
Jun 2 '08 #8
On May 15, 6:01 am, Phper <hi.steven...@gmail.comwrote:
Can anyone give me advice on how to learn PHP?
I'm actually really curious about the answer to this question. Where
do people usually start out?

My company has been developing PHP web apps for several years now, and
just released a new training video for beginners. We're trying the
find the best place to advertise to people just starting out.

Any ideas?

Best regards,
Jason.
http://www.learnphptutorial.com
Jun 2 '08 #9

"syllogistic-software" <jh*****@gmail.comwrote in message
news:5c**********************************@f63g2000 hsf.googlegroups.com...
On May 15, 6:01 am, Phper <hi.steven...@gmail.comwrote:
>Can anyone give me advice on how to learn PHP?

I'm actually really curious about the answer to this question. Where
do people usually start out?

My company has been developing PHP web apps for several years now, and
just released a new training video for beginners. We're trying the
find the best place to advertise to people just starting out.
Most of the advice is "Just do it".

No one learns to program by (merely) reading a book or
watching a video (sorry).

You just set a project; start coding; then read (or watch)
whatever you have to watch to get over the hard parts.

Problem with most video is that 1) People won't actually
watch it even if they buy it and 2) There is not enough
"intermediate" and practically no advanced material available
this way.

If someone is stuck getting started video might be useful,
but his is mainly people who have never programmed
before and have no real self-motivation to just do it.

Same for "beginners' books".

Books like O'Reilly's Cookbook series or a good 2nd
level book start to make sense as skills develop.

The PHP manual (on the web site) is as good or better
than most any starter book.
Jun 2 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

75
by: Howard Nease | last post by:
Hello, everyone. I would appreciate any advice that someone could give me on my future career path. Here is my situation: I am a bright Junior in a very well-respected private high school, taking...
5
by: Martin Piper | last post by:
Hi all. I've recently landed myself the position of trainee C++ programmer which I'm extremely pleased about, but also nervous. According to the feedback from the interview, I have a good...
14
by: Kevin Walzer | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm a Tcl/Tk developer who has been dabbling with Python for some time, but had not seen a compelling reason to really learn the language....
4
by: Vince S | last post by:
Hello. I'm currently trying to learn programming in C++. My goal is to write Windows applications, mostly for personal use. For example, I'd like to create my own multi-threaded newsreader. ...
6
by: Alex | last post by:
Hello I am intersting in developing and my background is VBA used in Excel and a brief intro to Java. I am interested in learning beyond VB and feel that C++ would be a very good language to...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
21
by: Andy.I | last post by:
Hi I've just finished a collegue cource in beginning Vb.net programmeing, and was supposed to take an advanced cource in VB.net next semester learning more abour object oriented programming. But...
9
by: Duncan Smith | last post by:
Hello, I find myself in the, for me, unusual (and at the moment unique) position of having to write a web application. I have quite a lot of existing Python code that will form part of the...
2
by: lmaurer | last post by:
Hi all, I have been charged with learning how to create web pages that will function as data capturing tools. From the research I have done, it looks like I need to learn ASP.net and SQL Server...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.