SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 38 of 38
  1. #26
    SitePoint Zealot
    Join Date
    Oct 2008
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Study, I would not want to feel a little bit difficult to learn, the company has a dedicated PHP programmer, there is no determination to learn

  2. #27
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    "Like trying to nail jello to a tree"... that is my new favorite analogy.

  3. #28
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,733
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Am new at this.. in fact I had my first couple of month and I've done 3 "big" projects for myself. As people have already mention there is nothing wrong with code completion or PHP references online. All the 3733+. On top of that, code completion supplements my otherwise remedial typing skills.

    However, I think your question was more about "what function is used for what" , more so than syntax etc. As I said I just started at this so it has been no skin off my back to apply pre-planned learning. By this I mean, as I went along my learning process I created a script for each function I learned and keep them all in a folder for handy reference/copy pasting/ modifying for real projects.


    The explode thing is pretty logical.."exploding breaks" "imploding contracts"
    However, for the sake of the example I was setting up. I have a file named "EXPLODE.PHP". Just something like:

    <?
    $OriginalValue="some,thin, to, explode";
    $ExplodedArray=explode(",", $OriginalValue);// some explanation
    echo $ExplodedArray," <br> some more explanation \n";
    ?>

    and so forth... this way, if i ever need to use an explode, or any other function or command I have a handy library of what I have accomplished with each command/function. The rest is just having intuition for technique

  4. #29
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The best way to learn PHP is to code code and more code. that is the key gguys.

    Regards
    Noddy

  5. #30
    SitePoint Member
    Join Date
    May 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, I understand completely what you're going through. I started out struggling to remember function names and what they do. Its the same with anything, there's always a learning curve, unfortunately with programming it's quite a big one.

    PHP is quite easy to learn really... try looking at C# win forms and services, that's when it gets tough!

    Anyhow, just keep programming. I recommend using Notepad++, it's a great tool, with auto-complete, to show possible functions.

    The main things to learn in PHP in my mind are:

    if, else statements (Easy-peasy)
    string functions (regular expressions, split)
    date/time functions, eg date("Y-m-d", $timestamp) or (strtotime($dateString)
    mysql (Connect, query, numrows)
    Sessions($_SESSION), POST($_POST), GET ($_GET)

    The above makes up pretty much everything you'll need to memorise. I'm a full-time development specialist - working on Web design, php/asp.net/perl backends, Windows services and Windows form applications, and have been for the last seven years, and Im still learning new things, even with PHP!

  6. #31
    SitePoint Addict dotancohen's Avatar
    Join Date
    Aug 2005
    Location
    Haifa
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Divisive Cotton View Post
    I've got various function PHP cheatsheets that I've compiled as I've gone along - every time I use a new function I note it down on an Excel sheet. I get my girlfriend to test me on them - but there are thousands of inbuilt functions to know and be familiar with.
    It sounds like you need this program for learning:
    http://ichi2.net/anki/

    It is usually used to learn human languages, but it's great for learning programming languages, math, geography, and many other subjects.

    I do no know of a php deck for Anki, but they are easy to make, especially if you already have the data in a spreadsheet. If you want me to try to convert your spreadsheet into an Anki deck, then PM me.
    . Have a question?
    . . What Is Firefox?
    . . . . What Is Open Office?
    . . . . . . What Is What?

  7. #32
    One website at a time mmj's Avatar
    Join Date
    Feb 2001
    Location
    Melbourne Australia
    Posts
    6,282
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you are really serious about learning PHP, the best way to learn is:

    Work as a PHP programmer on a team, where the other people in the team are much more experienced and willing to teach you or review your code.

    I've had that experience before and it was the most valuable thing in learning PHP.
    [mmj] My magic jigsaw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The Bit Depth Blog Twitter Contact me
    Neon Javascript Framework Jokes Android stuff

  8. #33
    SitePoint Member
    Join Date
    Aug 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    have many comments here... so ehre is one more ....

    objective
    first ask yourself "for what i decided to be a php programmer ?"
    ( not same as why, "for what" its with an objective )

    if after responding that, you keep going on programming, read the follwing:

    none useful data & blah
    as a php "programmer" getting into this by "bumping my head against the wall until it works" as a requirement on the previous work.
    the dialogue with my boss dialogue was
    " do you know php ? "
    "nope "
    " oki , youll do this "
    "but i dont know, anywhere where i can find something to start with"
    " well, read code"

    that was pretty anoying at first, comming from structured language like pascal or whatever structured you have learnt ...
    the mix of pages that were html+js+css+php , really a mess ...

    Recomendation

    separate everything on layers, and give resopnsabilities to each, and who communicates with who.
    (meaning by layer: archive / function / class / whatever that make you order the code )

    for examle the great buzzword of MVC.
    view: whatever is shown on browser.
    controller: the flow of program manager
    model: services, business, db connection.

    congratz ! by now you have a pretty nice drawing of how your stuff will work ( an architecture)
    so we can follow on the coding.
    ( this general idea its for whatever you program, not only php )


    well ... to your main topic
    " need a cheat sheet "
    " honey, can you help me memorizing this ..."
    " HOW THE F*** COULD I KNOW ALL OF THIS ?!"

    ummm you got the idea by now,
    • you know what need to be done.
    • you know you are in php.
    • you know search engines .


    try something like
    " php split string "
    " php convert array to string "
    " php convert string to array "

    search FOR LEARN NOT FOR COPY & PASTE !
    copy & paste, its cancer of your code if you don't know what are you making !
    remember if you got the idea, you need to put it in your architecture !

    ask for references now that you know the idea for what you need.

    and as previously recomended: use an IDE.

    useful links:
    AS I CANNOT POST LINKS I LEAVE KEYWORDS FOR GOOGLE
    IDE:
    • eclipse IDE

    ( or other better for php, i use php for quick & relative simple stuff, else java).

    PHP references:
    • w3schools
    • php net
    • zend framework


    as final thought.
    think what you need, php (or whatever you use) solve some problems not everyone.
    things are complementary not exclusive.

  9. #34
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Stormrider View Post
    You can set up a firefox keyword search as well... i type 'php <functionname>' into the address bar and it brings up the documentation for that function. Great timesaver!
    Yep! You can add most search boxes to firefox's 'built in' search then add a keyword. I can either hit ctrl+down+down (in the search box) to change it to php.net or do what storm said
    Ryan B | My Blog | Twitter

  10. #35
    SitePoint Member aliceslipped's Avatar
    Join Date
    Dec 2008
    Location
    Massillon, OH
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just use the internet and have a PHP cheat-sheet to remind me. ;P
    (web development) blogging:
    never before have so many people had so little to say to so few
    {Lindsey Campbell
    ; Web Design & Development; SEO; Awesome;}

  11. #36
    SitePoint Member
    Join Date
    Jan 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use the folowing as a guide for all API's:
    www.gotapi.com/html

    or the php manual documentation:
    www.php.net/manual/en/funcref.php
    Last edited by Dan Tailor; May 25, 2009 at 03:21.

  12. #37
    SitePoint Enthusiast GzThai's Avatar
    Join Date
    Sep 2006
    Location
    USA
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I like NetBeans also. I don't like about NetBeans is that you cannot just start coding. You need a project.

  13. #38
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by geosite View Post
    As a bonus, I noticed Komodo is designed to work with Firefox.
    Not work with...Komodo is Firefox! It is built on the Mozilla platform, which in essence is Firefox.
    Even has the little extension support.

    Quote Originally Posted by seopositive2 View Post
    Leave php now a days is the CMS so learn CMS. It is best and very simple.
    Umm...CMS is a completed application, what is there to learn of a GUI interface? Need to know a programming language to make a CMS, doh. (CMS == Content Management System, fyi)
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

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