Results 1 to 14 of 14

Thread: A 3 page PHP crash course covering from basics up to using web Forms

  1. #1

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963

    Talking A 3 page PHP crash course covering from basics up to using web Forms

    This is a 3 page PHP crash course I wrote for people who are interested in picking up PHP as fast as is possible. It covers all the basics up to loops, control flows, boolean logics and web forms. As concepts are not fully explained, but demonstrated by means of brief but all-encompassing sample codes along with aiding comments, some programming experience is assumed. Some HTML knowledge is also required for the section on HTML web forms.

    After reading this 3 page PHP crash course tutorial, you should possess enough PHP knowledge to write complete PHP programs.

    If you all think this is good, I'll write the next one. Coming up next in the crash course series is a tutorial on mySQL + PHP, which may also include file uploading. It should be enough to get you started on developing big PHP applications like simple CMS, email service and the like.

    Still later, I may write one on security. Good for secure email service, community website like facebook, friendster, etc.

    All in all, everything from basic to really advanced stuffs should be fully covered in just 10 pages.

    I use standard margins and Times New Roman size 10, which is quite big and comfortable for reading. To summarize everything into few pages is really a testament of my concise writing skills

    p/s: feel free to link it, or mirror it in its original unmodified form on your websites. Your help is greatly appreciated.
    Attached Files Attached Files
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    To summarize everything into few pages is really a testament of my concise writing skills
    With a big-headed comment like that, I'm going to have to check this one out.

    Review coming up soon.

  3. #3

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    lol never really meant that, in real life i suck at writing . Feel free to criticize . I am experimenting with a new way of writing tutorial, and try to get the reader accustomed to the language as soon as possible in as short a tutorial as is possible, minus all the bulk of explanation that usually comes with most tutorials. Of course, with such a short tutorial, you don't get many extra stuffs (e.g. like teaching how to use ?: tertiary operator, or setting up php on a windows machine), only the bare minimums and the necessary ones.

    Would love to read your review. :wave
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    I get what you are trying to do, but if I didn't know any of that stuff, I don't think I would come out much wiser for having read that.

    If you'd left out most of the reference stuff, replacing it with links to php.net documentation pages, and simply explained what PHP is and how it fits in to a server environment, I think that would be much more helpful. As it is, it's just a quick cheat-sheet for operators and some functions; not really a tutorial. Leaving out 'bulk of explanation' doesn't work.

    Also, be wary of making unqualified sweeping statements. For example, "Comments are ignored by the PHP interpreter, hence are invisible." Invisible to whom? Ignored in what way? And you haven't explained why anyone would want a comment.

    In short, don't try to touch on everything, but instead expand on a few more important details; it'll be worth much more.

  5. #5

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    ah perhaps i should've clarified on the intended target.
    some programming experience is assumed.
    it's not for complete newbies though. It's for anyone who knows a bit of programming or some other programming languages but not php. So they'll pretty much know most of the concepts, and belaboring on them will be tedious and ponderous.
    I agree with most of your comments, and I'd certainly agree it's not much of a tutorial. But it's not much of a concern which I need to change or fix, because your description of what the crash course is exactly how I intended it to be. You reminded me what a tutorial should be, so I don't think I should call it a tutorial. And the suggestion on links is good; I'll try to incorporate that.
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  6. #6
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    Your intro line is incorrect. PHP is a scripting language which mainly used as a server-side scripting language to generate webpages. However, it was design specifically for generation of webpages, it does support command line functionality.

  7. #7

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    yes you're right, but my statement covers a broader sense. Customized responses cover webpages and non-webpages. Indeed, webpage-only is an understatement of the capability of PHP.
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  8. #8
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    PHP is a HTML embedded, interpreted, server side scripting language.

    But you can run a PHP script from the command line, as a CGI script or as a web server module and even embed it inside any other data medium you please.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  9. #9
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    PHP is text-embedded, not necessarily HTML-embedded.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  10. #10
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    It can be embedded in within binary data too. Hence why I said any other data medium.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  11. #11
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    Um, binary data may be risky with the interpreter marks.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  12. #12
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    Indeed, but I have seen people embed PHP within image files before.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  13. #13
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    You have? That's dreadful!
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  14. #14
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: A 3 page PHP crash course covering from basics up to using web Forms

    Without much success, for the reason you cited above and when I told him about the GD extension he used that
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width