Code Quality, Standards, and Best Practices: Discuss!

Code Quality, Standards, and Best Practices: Discuss! http://japh.com.au/wcgc2011/ #wcgold via @Japh

First things first…

  1. I’m @Japh

  2. Hobart-based Developer (who likes to travel!)

  3. Specialties:

    WordPress, PHP, MySQL, Javascript, jQuery

  4. Paid to work on the web since 1998

First things first... http://japh.com.au/wcgc2011/#slide-5 #wcgold via @Japh

Code, Standards, Best Practices.
Who cares anyway?

  1. Your users / customers / clients

  2. The community

  3. Potential employers

  4. You!

Code, Standards, Best Practices. Who cares anyway? http://japh.com.au/wcgc2011/#slide-10 #wcgold via @Japh

“Knowledge is power”

But what do you need to know?

  1. Coding according to standards

  2. Following best practices

  3. How to do things the “WordPress Way”

  4. When to do what (easier said than done…)

Quote: Sir Francis Bacon

"Knowledge is power" http://japh.com.au/wcgc2011/#slide-15 #wcgold via @Japh

“With great power comes great responsibility”

  1. WordPress is an Open Source platform

  2. Release themes into the wild

  3. Release plugins into the wild (even easier!)

  4. Posting code snippets

Quote: Uncle Ben via Stan Lee

"With great power comes great responsibility" http://japh.com.au/wcgc2011/#slide-20 #wcgold via @Japh

“Imagination is more important than knowledge”

  1. Being able to apply knowledge

  2. Solving problems you’ve never seen before

  3. When should you use Custom Post Types? When should you add extra database tables?

  4. Knowing where to look…

Quote: Albert Einstein

"Imagination is more important than knowledge" http://japh.com.au/wcgc2011/#slide-25 #wcgold via @Japh

“I do not carry such information in my mind since it is readily available in books.”

  1. http://codex.wordpress.org/WordPress_Coding_Standards

  2. http://codex.wordpress.org/CSS_Coding_Standards

  3. http://codex.wordpress.org/Site_Design_and_Layout

  4. http://codex.wordpress.org/Theme_Review

  5. http://codex.wordpress.org/WordPress_API’s

  6. http://codex.wordpress.org/Creating_Tables_with_Plugins

  7. In case it’s not clear… WordPress Codex!

Quote: Albert Einstein

"I do not carry such information in my mind since it is readily available in books" http://japh.com.au/wcgc2011/#slide-33 #wcgold via @Japh

“No man is an island”

  1. Not much hasn’t been done before by someone somewhere

  2. Be a part of the community. Ask questions, give answers

  3. Peer reviewing code

  4. No stupid questions, only stupid not to ask

Quote: John Donne

"No man is an island" http://japh.com.au/wcgc2011/#slide-38 #wcgold via @Japh

“Never neglect the little things”

  1. Skimping on quality hurts your client, your client’s clients, and you

  2. Proper planning. Use milestones, and be realistic

  3. Client education and communication

Quote: Og Mandino

"Never neglect the little things" http://japh.com.au/wcgc2011/#slide-42 #wcgold @Japh

Thank you!

Thank you! http://japh.com.au/wcgc2011/#thank-you #wcgold via @Japh

/

#