www.webdeveloper.com
Page 1 of 3 123 LastLast
Results 1 to 15 of 43

Thread: Steps to follow in order to learn PHP

  1. #1
    Join Date
    Jul 2012
    Posts
    29

    Smile Steps to follow in order to learn PHP

    Dears,
    Hello

    I'd like to learn PHP in order to become a junior PHP developer.
    I have no knowledge/experience with PHP or any other programming language.
    (I know basics of HTML but this is obviously not a language to solve problems)

    Where should I start with and which steps should I follow?
    Website(s), (e)-books, e-exercices?

    Thanks in advance for your advice.

    Kind regards,
    Nils

  2. #2
    Join Date
    Feb 2011
    Posts
    231
    Hi,
    Try look on the net for: " free php course ".
    First, don't complicate with to many resources (tutorials, ebook), just follow the lessons from an e-boon you find, or/and from one or two websites.
    Here is a website with lessons to learn php for beginners: PHP - MySQL Course , contains also e-books to download.
    Last edited by MarPlo; 07-09-2012 at 07:52 AM.

  3. #3
    Join Date
    Jul 2012
    Posts
    29
    @MarPlo
    Thanks for your post.
    Problem is that I've found some e-books but the content is more web-based and this is not what I want to begin with. I'd like to learn it scientifically: from a computer-science perspective. I mean: problem solving with PHP.

    That is the reason why I started this thread. I don't like to go directly to PHP&HTML or PHP&Database.

    Kr,
    Nils

  4. #4
    Join Date
    Jul 2012
    Posts
    22
    Then I think you need to first read about programming theory. You will learn the fundamental of programming the history, types of programing languages, components, variable, function, object, etc... But to be honest, it's good to know this but it's really not important to know now. It can bore you, discourage you.

    All you need is just start to play with it. Php is about the web so it comes with web. You have to work with it. After you're good at it you can later dig deeper to it.

    Firstly, you should read about PHP and do many exercises. It will make you familiar with it then you can master it.

  5. #5
    Join Date
    Jan 2006
    Location
    MN
    Posts
    440
    PHP is essentially web based, but that can mean several things. I first learned to use PHP because I had need for a database application. It ran locally on my computer. I just considered the browser as my shell for the application which was a PHP based application for scoring gymnastics events. I started with two books "Teach Yourself PHP in 24 Hours" and "Teach Yourself MySQL in 21 Days". Both were printed in 2000 so they are pretty old now. I got my application done and on time, and used for 8 years, before it got a little long in the tooth.

  6. #6
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    18,926
    The advantage of books is that they generally go through some peer reviews and beta readers -- at least those from the more reputable publishers. (The disadvantage of that is that it can mean that by the time they go through the whole publication/printing process, they may not have all the latest and greatest info.) If you spend a bit of time reading reviews and checking ratings for some of the newest books, you'll likely find something that can help you get started. (I generally find books from O'Reilly and Apress to be pretty consistently decent.)

    I find on-line tutorials to be much more of a hit-or-miss proposition and more likely to give you bad advice. There can be a lot of good info out there, but don't depend on one site to give you all the best information.

    Anyway, it's been too long since I've looked at an introductory PHP book, but when you're ready to get object-oriented with your coding, I highly recommend "PHP Objects, Patterns, and Practice" by Matt Zandstra. It helped me a lot to actually "get" what OOP is all about. And I do not recommend avoiding object-oriented programming as an advanced topic you'll learn later. Any "real" job is going to require that you be able to work with classes and objects, so the sooner you start learning it, the sooner you'll start getting the hang of it. (Besides, if you were starting with Java or C++, you essentially would have to start learning OOP right away, so why not with PHP, too? ).
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  7. #7
    Join Date
    Apr 2010
    Posts
    227
    I found books terrible.

    I kid you not, there were coding mistakes in them!

    "why isnt this working?" can really screw your learning up if the code could never work!

    Plus older revisions are out of date and contain obsolete code.


    I recommend.

    a. installing PHP on your pc. WAMP is the easiest.
    b. install a IDE program like netbeans or even notepad++
    c. create very simple programs. From hello world to building a html page using PHP.
    d. complete what you start!

    w3schools is a great learning site and is always spot on!

    each project you start and finish will refine your way of thinking and leave you with reusble trustworthy code!

    You have to learn.

    -php
    -php oop
    -javascript
    -css
    -html/xhtml
    -sql

    SUggest you stay away with frameworks initially, anyway thats how i self taught and my proof is in that i now make a living off PHP

  8. #8
    Join Date
    Jul 2012
    Posts
    29
    Quote Originally Posted by payukim View Post
    Then I think you need to first read about programming theory. You will learn the fundamental of programming the history, types of programing languages, components, variable, function, object, etc... But to be honest, it's good to know this but it's really not important to know now. It can bore you, discourage you.

    All you need is just start to play with it. Php is about the web so it comes with web. You have to work with it. After you're good at it you can later dig deeper to it.

    Firstly, you should read about PHP and do many exercises. It will make you familiar with it then you can master it.
    Great! that is what I mean.
    A book (e-book, site ..) about porblem solving with PHP which also covers, in the first chapters, the subjects you mention here.

    I download netbeans and I saw there's possibilty to use netbeans itself to write data without need of the web at all. It displays it in "output window" below. I don't know if it works also for reading data but this what I am looking for or I should start with like a kind of (python basic ide) as I followed in some youtube videos made by free university courses.

    It doesn't matter if it discourage me or not because I don't do it for a job, certification or something like that. It's only for myself in order to be, in the future, a junior PHP programmer who can develope some web-things.

    Thank you and also thanks to everybody who responded to my thread.

  9. #9
    Join Date
    Jul 2012
    Posts
    29
    Quote Originally Posted by Belrick View Post
    You have to learn.

    -php
    -php oop
    -javascript
    -css
    -html/xhtml
    -sql
    W3schools you mentioned and where I learned basics of (x)HTML says:
    What You Should Already Know
    Before you continue you should have a basic understanding of the following:

    HTML/XHTML
    JavaScript

    (and they ask for HTML because you need to read/rite data you will work with in PHP. Script maybe because they use it in their lessons or maybe they don't want to explain again soms basics of scripting like variables).

    They consider SQL as beeing a part of PHP (PHP & MySql).

    No, I don't like that. That kind of couurse just treate you as you are someone who's looking for gathering informations in head in order to start technicaly with doing stuff using PHP. I want first to understand before thinking about to know and to know before to do. (It's not easy to find such as book).

    Important is philosophy of this thing, history, limits, suitability for which applications domains ...

    Problem solving and how you can read problems in natural language and put them algorithmically in some kind of a language you can work with when you try to communicate with it using PHP.

    How some common problems are solved and displayed by PHP code.

    Things like that ..

    A very simple example is how to switch DNA sequence into RNA sequence using PHP code. A textbook about this should first tell you the limits of knowledge you need from bio-domain.. but generally and conceptually, not concrete things.

    Thanks again ...

    Kind regard,
    Nils

  10. #10
    Join Date
    Apr 2010
    Posts
    227
    Good for you Nils

    Everyone learns differently

    Im from New Zealand and the males here all generally learn by hands on, seeing outcomes as a direct result of learning to APPLY what weve learnt

    Follow your own path! What works for you is always best!

    Good luck

  11. #11
    Join Date
    Jul 2012
    Posts
    22
    You're interested in scientific way of programming. Then I think there is hard to fing a php book which tells you about this. You may be interested to learn about the concept of programming language. All programmings come from the fundamental as to serve our problem. At first we have only what is called "low-level programming language", there are machine code and Assembly. These is hard to normal people to use. Thus we developed many more languages such as Fortran, C, Java, and it also have the special purpose language such as SQL, HTML, more.. All for us to use it easier.

    If you're interested in problem solving you should find a book about Algorithm. It's about how to think to solve problem and how to write code most efficiently, because every instruction of code we write, it consumes the machine time and sometime consumes the memory. How don't we waste these things? That is it about.

    All these knowledges can help you to be a good developer in every language.

  12. #12
    Join Date
    Jul 2012
    Posts
    29
    Dears, thanks for the replies.

    Yes, something like an introduction to computational thinking with PHP or intduction to computer science using PHP.



    Best regards,
    Nils

  13. #13
    Join Date
    Jul 2012
    Location
    India
    Posts
    4
    I would like to suggest you to start your PHP training with www.w3schools.com. I am sure, you will get a very good experience.

    Regards
    Priya

  14. #14
    Join Date
    Mar 2012
    Posts
    929
    Quote Originally Posted by Nils28 View Post
    Dears, thanks for the replies.

    Yes, something like an introduction to computational thinking with PHP or intduction to computer science using PHP.
    I think you are making a fundamental mistake in expecting an abstract theory of computing based book to be about PHP. Abstract theory of computing books are about, you guessed it, the abstract theory of computing. People do degrees, masters and doctorates in that. You can take it as far as you want.

    However, if, as you say, you objective is to be a junior PHP programmer, not an academic, you do not need to know all that stuff. Furthermore, it won't teach you how to program "Hello World" in PHP, let alone a useful program. So I suggest you either decide which you want to do, or do both separately, alongside each other.

  15. #15
    Join Date
    Jul 2012
    Posts
    29
    Quote Originally Posted by jedaisoul View Post
    I think you are making a fundamental mistake in expecting an abstract theory of computing based book to be about PHP. Abstract theory of computing books are about, you guessed it, the abstract theory of computing. People do degrees, masters and doctorates in that. You can take it as far as you want.

    However, if, as you say, you objective is to be a junior PHP programmer, not an academic, you do not need to know all that stuff. Furthermore, it won't teach you how to program "Hello World" in PHP, let alone a useful program. So I suggest you either decide which you want to do, or do both separately, alongside each other.
    Thanks and yes I would like to be a junior PHP developer with very good academic background.

    I've found something but I don't know where it is about as there is no full-description or content to read.

    Check this: Shorter university - distance calculus
    λ Introduction to Computer Science via Website Programming in PHP

    I can find things if I google but it's always better to ask people with experience/knowledge.

    Kind regards,
    Nils

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles