9 Replies - 700 Views - Last Post: 14 April 2011 - 07:09 AM Rate Topic: -----

#1 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

A fresh start...

Posted 07 April 2011 - 07:40 AM

Hey everyone,

I self taught myself a LITTLE bit of PHP but now id like to go more in depth, buckle down and learn in to the best of my ability.

Ive purchased the following books to help me get started which should be here on Friday or Staurday.
PHP and MySQL Web Development, 4th Edition (Developer's Library Series)
MySQL (Developer's Library Series)

i really enjoy web development so i bought these 2 books to help maximize my skills at developing more dynamic web pages and applications.

My question is does anyone have any suggestions as to where i should start, (obviously follow tutorials and such in book) what i aspects i should dive into first, and tips for starting out?

Thanks a bunch! B)

Is This A Good Question/Topic? 0
  • +

Replies To: A fresh start...

#2 codeprada  Icon User is offline

  • Changed Man With Different Priorities
  • member icon

Reputation: 944
  • View blog
  • Posts: 2,353
  • Joined: 15-February 11

Re: A fresh start...

Posted 07 April 2011 - 02:17 PM

Always make sure you fully grasp the basics of a language before trying to build on it. I went through a book called PHP 5 Power Programming and it really pushed me in the right direction. Then after setting a good foundation I was able to follow examples and explanations of functions easily on PHP.NET.

Also you must always listen to experienced programmers because more times than not they're already tried what you're trying to do so they know the does and don'ts.

My last word of advice is Google will always be your best friend when it comes to finding tutorials on how to accomplish programming concepts. Oh and always try to code using techniques and methods a little bit more advance than your level so you can always push yourself to learn new things. Eventually you will see that this method best suits this situation and so forth. In other words never be satisfied where you're at...always strive for more.

I personally tell myself that I'm not satisfied with learning a language until I can look at any random source code and be able to implement whatever it is myself.
Was This Post Helpful? 1
  • +
  • -

#3 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

Re: A fresh start...

Posted 08 April 2011 - 07:12 AM

Thanks for the tips and by the way this is exactly how i look at things as well :D

View Postcodeprada, on 07 April 2011 - 02:17 PM, said:

...always push yourself to learn new things.... ...In other words never be satisfied where you're at... always strive for more.

I personally tell myself that I'm not satisfied with learning a language until I can look at any random source code and be able to implement whatever it is myself.

Was This Post Helpful? 0
  • +
  • -

#4 Jstall  Icon User is offline

  • Lurker
  • member icon

Reputation: 434
  • View blog
  • Posts: 1,042
  • Joined: 08-March 09

Re: A fresh start...

Posted 08 April 2011 - 08:17 AM

One thing I would suggest is do not use the mysql_* functions for database access. Instead use Mysqli or, even better in my opinion, PDO. The reason I am saying is there are still tons of older tutorials out there using the older deprecated methods.

I also suggest attempting to learn and apply object oriented principles to your projects. Some people do prefer to program PHP in a procedural way but I find OOP can make your code much cleaner and more efficient. PHP 5 has great support for it so you should take advantage :).


Finally I suggest getting into the habit of presentation code from your logic. this tutorial demonstrates that concept and a quick easy way to accomplish it. This absolutely makes your code more clean and easier to debug. It also makes it less likely to get some types of bugs in the first place.

Those are the three main things I wish I would have focused on when I started PHP about a year ago. I hope this helps :).
Was This Post Helpful? 0
  • +
  • -

#5 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

Re: A fresh start...

Posted 08 April 2011 - 01:27 PM

thanks man :D
Was This Post Helpful? 0
  • +
  • -

#6 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,021
  • Joined: 15-July 08

Re: A fresh start...

Posted 08 April 2011 - 02:39 PM

View PostSadin56, on 07 April 2011 - 10:40 AM, said:



I own that book, and though it gives you a good insight into the language, you have to do all the case studies AND read some tutorials on data organization and code separation in order to grasp the best idea. What I didn't like about their code is their use of library functions instead of class/object separation and the hard coded HTML. *Blech*.

Go through the PHP Tutorials section here after you're done for best practices tutorials:
http://www.dreaminco...-your-database/
http://www.dreaminco...ode-separation/
http://www.dreaminco...duction-to-pdo/
Was This Post Helpful? 0
  • +
  • -

#7 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

Re: A fresh start...

Posted 11 April 2011 - 07:15 AM

View PostDogstopper, on 08 April 2011 - 02:39 PM, said:

View PostSadin56, on 07 April 2011 - 10:40 AM, said:



I own that book, and though it gives you a good insight into the language, you have to do all the case studies AND read some tutorials on data organization and code separation in order to grasp the best idea. What I didn't like about their code is their use of library functions instead of class/object separation and the hard coded HTML. *Blech*.

Go through the PHP Tutorials section here after you're done for best practices tutorials:
http://www.dreaminco...-your-database/
http://www.dreaminco...ode-separation/
http://www.dreaminco...duction-to-pdo/

sweet thanks im taking a look a them tonight! :D
Was This Post Helpful? 0
  • +
  • -

#8 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

Re: A fresh start...

Posted 11 April 2011 - 07:24 AM

ive been reading it over the past few days and your right. Yet, its alright because its not entirely on PHP itself so i dont expect it to cover everything.
Was This Post Helpful? 0
  • +
  • -

#9 creativecoding  Icon User is offline

  • Hash != Encryption
  • member icon


Reputation: 926
  • View blog
  • Posts: 3,204
  • Joined: 19-January 10

Re: A fresh start...

Posted 11 April 2011 - 09:45 AM

A great project that I started on was a file uploader/management system. Teaches you all of the basics.
Was This Post Helpful? 0
  • +
  • -

#10 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

Re: A fresh start...

Posted 14 April 2011 - 07:09 AM

View Postcreativecoding, on 11 April 2011 - 09:45 AM, said:

A great project that I started on was a file uploader/management system. Teaches you all of the basics.


Cool ill try that :o i would like to make a blog some time as well
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1