Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created November 25, 2014 16:32
Show Gist options
  • Save funkatron/de4e7bf000a1e5ceae6c to your computer and use it in GitHub Desktop.
Save funkatron/de4e7bf000a1e5ceae6c to your computer and use it in GitHub Desktop.
@auroraeosrose
Copy link

Basic PHP should start with "hello world" and the change/refresh cycle
then basic variables (container for a value)

Then on to

  1. booleans, numbers and math
  2. strings and string functions
  3. scalar vs. complex types and juggling types
  4. basic arrays
  5. basic objects
  6. logic - if, else, foreach, for, while
  7. basic functions
  8. basic classes

@auroraeosrose
Copy link

After "this is PHP" we should get into "this is the web"

  1. HTTP, sockets, what the internet is and how it works in basic terms
  2. request -> response and PHP (shared nothing)
  3. basic html (here is your template for future pages)
  4. PHP speaks http! (POST and GET and a sidenote on redirects)

@auroraeosrose
Copy link

Now we get into forms

  1. basic forms (var dump our data)
  2. basic security (all people are evil cats)
  3. check input (validate)
  4. escape output and separation of concerns
  5. populating forms, errors, redirecting

@auroraeosrose
Copy link

Databases!

Use - pdo? or sqlite3?

how much of db to do?

and then basic "write crud"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment