Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?


Reply


Old
  Post #1 (permalink)   02-13-2009, 10:45 AM
HD Guru
 
Join Date: Dec 2003
Posts: 570

Status: Lesli is offline
I know how to install and configure scripts written in PHP. But I'd like to know how to write simpler PHP scripts, start learning the language, and potentially build up to writing smaller apps. I'd like to find a book / site / tutorial series with good step-by-step examples. What would you recommend?

I bought a used copy of Christopher Cosentino's Essential PHP for Web Professionals off of Amazon - it's not good for people who already know the code, and apparently the section on installation on Linux machines is poorly edited; but the books in this series have generally been a good introduction. What else would you recommend - especially when it comes to interfacing properly with a MySQL database?
__________________
Lesli Schauf, TLM Network
Linux and Windows Shared Hosting since 2002: Scribehost
 
 
 


Old
  Post #2 (permalink)   02-13-2009, 11:24 AM
HD Community Advisor
 
handsonhosting's Avatar
 
Join Date: Mar 2005
Location: Omaha, NE
Posts: 2,008

Status: handsonhosting is offline
For the most part, I usually use google and do the searches etc. I had looking in the past of taking some online courses with Zend, but never followed through. I think the price tag was in the $800 range, but what they were covering was something I was interested in.

I ended up "figuring it out" on my own through the help of google and users that have posted their information etc - and while my programming WORKS, it could certainly stand to be optimized.

O'Riley usually produces some handy books. I know back 10+ years ago their guide to "vi" and shell scripting was beside my computer on a daily basis. These days I actually don't have any book that I open - too much info on google.
__________________
Conor Treacy
http://www.HandsOnWebHosting.com
cPanel Web Hosting, Domain Registration, Managed VPS Servers
SEO in Omaha NE
 
 
 


Old
  Post #3 (permalink)   02-13-2009, 11:36 AM
HD Guru
 
Join Date: Dec 2003
Posts: 570

Status: Lesli is offline
Web searches are a good source of information once I've learned the basics (especially when I want to find those little tips and tricks that won't be covered in any course or book), but to use HTML equivalents, I've just barely started using DreamWeaver in Design mode. For the initial start, I want something a little more structured than random web searches. (I also don't want to learn any bad / insecure coding habits - and if I pick the wrong sites from which to learn, I might end up doing just that.)

I'm also trying to avoid the $800 pricetag courses. If I were expecting a lot of one-on-one training and teaching, I *might* think of paying that much for a course. However, for this, I don't require a private tutor - just some structured initial work to get me grounded in the basics, and then I can use web searches and / or read bitzenpiecen catch as catch can.
__________________
Lesli Schauf, TLM Network
Linux and Windows Shared Hosting since 2002: Scribehost
 
 
 


Old
  Post #4 (permalink)   02-13-2009, 10:00 PM
HD Community Advisor
 
handsonhosting's Avatar
 
Join Date: Mar 2005
Location: Omaha, NE
Posts: 2,008

Status: handsonhosting is offline
In that case, the O'Riley books are ideal. Also, there's a few books being produced by Adobe (also availble as eBooks I believe) that cover the Dreamweaver software and the various aspects. I know that they have their overview book, but they also have specific parts such as connection php to mysql, validating cookies and doing screen stripping importing the data as XML and repackaging it on your site.

Much of it however is not in a single overview book That was something I struggled with years ago in Assembly. It seemed that each book produced only covered certain aspects, and nothing fit exactly what I needed. Even Network Security books are 50/50 at best.

A few good places that I've used;

www.communitymx.com
php.about.com
www.phpbuilder.com
www.oreilly.com

phpbuilder.com seems to be a site that I'm always finding and learning through.
__________________
Conor Treacy
http://www.HandsOnWebHosting.com
cPanel Web Hosting, Domain Registration, Managed VPS Servers
SEO in Omaha NE
 
 
 


Old
  Post #5 (permalink)   02-14-2009, 09:42 AM
HD Guru
 
Join Date: Dec 2003
Posts: 570

Status: Lesli is offline
Thanks, Conor. I don't really care about learning DW - I learned to code HTML by hand in 1993, that's still my preferred method of creating or editing HTML and CSS. I was just using that as an example.

O'Reilly's quickref books are favorites of mine - straightfoward, simple, just-the-facts, good examples. I've got quite a few of them (CSS, JavaScript, even PHP and MySQL). Their books, though, tend to be a bit overkill for the initial learning kickoff. There's lots of verbiage that gets in the way of someone who learns best by doing, not by reading. They're fine for research. Not so great for hands-on learning - and since hands-on learning is what I want, I'd rather spend my money on a book that teaches me the basics in a fast, simple-to-learn method - THEN start doing my own research.

I may check into those sites once I've "learned how to crawl", essentially. I've also bookmarked a few other resource-sites, always intending to use them once I'd gotten a grounding in the basics. (Which keeps getting put off and put off and put off...)
__________________
Lesli Schauf, TLM Network
Linux and Windows Shared Hosting since 2002: Scribehost
 
 
 


Old
  Post #6 (permalink)   02-14-2009, 04:44 PM
HD Community Advisor
 
handsonhosting's Avatar
 
Join Date: Mar 2005
Location: Omaha, NE
Posts: 2,008

Status: handsonhosting is offline
Yeah, I hear ya. That's one of the reasons I can't stand reading books myself Usually I'm doing problem solving and script bashing to make a final product. Starting from scratch always bothers me

Fingers crossed for you. Let me know what you find you.
__________________
Conor Treacy
http://www.HandsOnWebHosting.com
cPanel Web Hosting, Domain Registration, Managed VPS Servers
SEO in Omaha NE
 
 
 


Old
  Post #7 (permalink)   03-07-2009, 11:46 PM
HD Newbie
 
Join Date: Mar 2009
Posts: 11

Status: codingscape is offline
The best way I have found to learn a new computer language is to first identify the problem you want to solve and then try and write the code to do it. Once you have something that works, even if it is rough, find a friend or mentor that knows the language and ask them what they would do differently or improve.

I'd be glad to answer questions for people trying to learn PHP as I have time. Just send me a PM on the forums.
 
 
 


Old
  Post #8 (permalink)   03-08-2009, 12:56 PM
CSN-UK | Charlie
 
csn-uk's Avatar
 
Join Date: Mar 2009
Location: Swindon (UK)
Posts: 470
Send a message via MSN to csn-uk

Status: csn-uk is offline
having a mentor is deffently an advantage and does help when you have particualr issues, there are numerous sites that are devoted to helping users with languages like php, the pear libary is a good example of a place to start with scripts that are maintained at a high standard to work with and build upon

also as far as enviroments go there are scripts such as code ignitor that can be installed on a webserver to allow you to creat Object Orrientated scripts easily
 
 
 


Old
  Post #9 (permalink)   03-12-2009, 06:24 PM
HD Guru
 
Join Date: Dec 2003
Posts: 570

Status: Lesli is offline
I'm very familiar with Code Igniter and Ellis Labs (the people behind Code Igniter). However, I want to be able to do more than just use a framework - though it's an extremely valuable tool, I want to know why using one solution is best in *this* situation, and maybe not optimal in *that* situation.
__________________
Lesli Schauf, TLM Network
Linux and Windows Shared Hosting since 2002: Scribehost
 
 
 


Old
  Post #10 (permalink)   03-12-2009, 11:00 PM
HD Newbie
 
Join Date: Mar 2009
Posts: 11

Status: codingscape is offline
There are probably two areas you should be looking into. One would be learning PHP in depth and the other is software architecture and patterns. If you want to know why one framework might be better suited for your needs than another, then understanding patterns is important.

Design Patterns is a very good start for learning about software architecture independent of language.
 
 
 


Old
  Post #11 (permalink)   03-20-2009, 09:27 AM
HD Guru
 
siforek's Avatar
 
Join Date: Mar 2009
Location: Salt Lake City, UT
Posts: 663

Status: siforek is offline
Take a look at: http://tizag.com/ , http://w3schools.com/ & http://php.net/
__________________
| | Fiber Elephant | | Virtuozzo & Reseller Hosting
█ | Never oversold, always managed & on the SoftLayer network!
█ | Call us toll free 24/7! | 1-888-92-FIBER
 
 
 


Old
  Post #12 (permalink)   03-21-2009, 03:24 PM
HD Wizard
 
ANMMark's Avatar
 
Join Date: Sep 2004
Location: Pennsylvania
Posts: 1,606

Status: ANMMark is offline
Some of the best methods I've found is to learn by doing, and read as much as you can.

I can suggest the book the PHP Bible. The book is 4 inches thick and covers darn near everything you could ever forget.

Start small. Learn basic things first, and learn more advanced techniques as you need them.

Like:

"Gee I'd really like to get php to look in a folder and display a random image from that folder"
That is your simple goal. Once you;ve accomplished it, you may find yourself saying "Hmmmm it would be nice if I could make it display smaller but uniform with the rest of the thumbnails" then that would be your next simple goal. Together however you have a nice more advanced project.

Learning like that helps you learn quickly. I learned VB.NET in about 2 weeks doing that, and relentlessly reading books. Two months later I had completed a business class application.
__________________
Mark - Co-President/Lead Developer
avidInteractive Software
The ServeraSuite 2007 Award Winning Professional Server Monitoring Solution - Click here
 
 
 


Old
  Post #13 (permalink)   04-06-2009, 10:46 AM
HD Newbie
 
Join Date: Mar 2009
Posts: 34

Status: AH-Nick is offline
I like looking for a good e-book. I had a nice one from John Smiley to learn C#.
__________________
AxisHOST.com - Rock solid Hosting solutions since 1997.
ServerManagementPlus - Fully & Semi-Managed Dedicated cPanel, DirectAdmin & Plesk Servers
 
 
 


Old
  Post #14 (permalink)   04-06-2009, 12:24 PM
HD Guru
 
siforek's Avatar
 
Join Date: Mar 2009
Location: Salt Lake City, UT
Posts: 663

Status: siforek is offline
Quote:
Originally Posted by ANMMark View Post
Some of the best methods I've found is to learn by doing, and read as much as you can.

I can suggest the book the PHP Bible. The book is 4 inches thick and covers darn near everything you could ever forget.

Start small. Learn basic things first, and learn more advanced techniques as you need them.

Like:

"Gee I'd really like to get php to look in a folder and display a random image from that folder"
That is your simple goal. Once you;ve accomplished it, you may find yourself saying "Hmmmm it would be nice if I could make it display smaller but uniform with the rest of the thumbnails" then that would be your next simple goal. Together however you have a nice more advanced project.

Learning like that helps you learn quickly. I learned VB.NET in about 2 weeks doing that, and relentlessly reading books. Two months later I had completed a business class application.
Many things I've learned to do simply by doing just that. Thinking "I want to do ____" and in most cases a google query usually leads me to "the how" on php.net.
__________________
| | Fiber Elephant | | Virtuozzo & Reseller Hosting
█ | Never oversold, always managed & on the SoftLayer network!
█ | Call us toll free 24/7! | 1-888-92-FIBER
 
 
 


Old
  Post #15 (permalink)   04-06-2009, 01:37 PM
HD Guru
 
Join Date: Dec 2003
Posts: 570

Status: Lesli is offline
Quote:
Originally Posted by siforek View Post
Many things I've learned to do simply by doing just that. Thinking "I want to do ____" and in most cases a google query usually leads me to "the how" on php.net.
That's why I like the "_____ for Web Professionals" series: it walks you through an actual task, start to finish. Once I've got everything in context and have an idea of what steps a project might take, I can start with the rest of the learning process.

Otherwise...right now, I have no projects that require PHP. I want to know some basic PHP so that if I end up needing to tweak some scripts, or write an extension that a dev client may want for EE, I'll at least know how to crawl - and can start researching intelligently about how to do X rather than just flying blind and either learning overly much on the client's time (very bad), or making newbie mistakes because I'm in a hurry.

PHP.net is a good resource / quickref...if you've already got some knowledge of PHP and how it works. I've found that it isn't so great for those of us just starting out. (Much like I would not recommend W3Schools.com as the sole resource for someone just learning HTML. It's a good quick reference - especially for brushing up on the syntax of a tag you don't use very often; but not the best teaching tool.)
__________________
Lesli Schauf, TLM Network
Linux and Windows Shared Hosting since 2002: Scribehost
 
 
 
Reply
Previous Thread Next Thread


Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: