SlideShare a Scribd company logo
Code Quality, Standards,
  and Best Practices:
       Discuss!
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
Code, Standards, Best
Practices. Who cares anyway?

1. Your users / customers / clients

2. The community

3. Potential employers

4. You!
“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
“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: Stan Lee via Uncle Ben
“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
“I do not carry such information in
my mind since it is readily available
            in books.”
• http://codex.wordpress.org/WordPress_Coding_Standards

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

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

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

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

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

• In case it’s not clear… WordPress Codex!

                                               Quote: Albert Einstein
“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
“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
Thank you!

• Slides are here: http://japh.com.au/wcgc2011/

• Follow me here: http://twitter.com/Japh

• Talk to me here!
Ad

More Related Content

Viewers also liked (18)

SonarQube 로 Unity 프로젝트 관리
SonarQube 로 Unity 프로젝트 관리SonarQube 로 Unity 프로젝트 관리
SonarQube 로 Unity 프로젝트 관리
EG Lim
 
DevOps – SonarQube
DevOps – SonarQubeDevOps – SonarQube
DevOps – SonarQube
Delta-N
 
SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ? SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ?
Geeks Anonymes
 
Track code quality with SonarQube
Track code quality with SonarQubeTrack code quality with SonarQube
Track code quality with SonarQube
Dmytro Patserkovskyi
 
Sonar
SonarSonar
Sonar
PPThelperkid
 
SonarQube Overview
SonarQube OverviewSonarQube Overview
SonarQube Overview
Ahmed M. Gomaa
 
Sonarqube
SonarqubeSonarqube
Sonarqube
Peerapat Asoktummarungsri
 
SONAR
SONARSONAR
SONAR
shri. ram murti smarak college of engg. & technology
 
Sonar Metrics
Sonar MetricsSonar Metrics
Sonar Metrics
Keheliya Gallaba
 
Java Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeJava Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQube
Angelin R
 
SonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code QualitySonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code Quality
Larry Nung
 
Sonar Overview
Sonar OverviewSonar Overview
Sonar Overview
Samuel Langlois
 
Tracking and improving software quality with SonarQube
Tracking and improving software quality with SonarQubeTracking and improving software quality with SonarQube
Tracking and improving software quality with SonarQube
Patroklos Papapetrou (Pat)
 
Sample Business Requirement Document
Sample Business Requirement DocumentSample Business Requirement Document
Sample Business Requirement Document
Isabel Elaine Leong
 
Static Code Analysis
Static Code AnalysisStatic Code Analysis
Static Code Analysis
Geneva, Switzerland
 
Requirements Gathering Best Practice Pack
Requirements Gathering Best Practice PackRequirements Gathering Best Practice Pack
Requirements Gathering Best Practice Pack
Amy Slater
 
List of Software Development Model and Methods
List of Software Development Model and MethodsList of Software Development Model and Methods
List of Software Development Model and Methods
Riant Soft
 
6 basic steps of software development process
6 basic steps of software development process6 basic steps of software development process
6 basic steps of software development process
Riant Soft
 
SonarQube 로 Unity 프로젝트 관리
SonarQube 로 Unity 프로젝트 관리SonarQube 로 Unity 프로젝트 관리
SonarQube 로 Unity 프로젝트 관리
EG Lim
 
DevOps – SonarQube
DevOps – SonarQubeDevOps – SonarQube
DevOps – SonarQube
Delta-N
 
SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ? SonarQube - Should I Stay or Should I Go ?
SonarQube - Should I Stay or Should I Go ?
Geeks Anonymes
 
Java Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQubeJava Source Code Analysis using SonarQube
Java Source Code Analysis using SonarQube
Angelin R
 
SonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code QualitySonarQube - The leading platform for Continuous Code Quality
SonarQube - The leading platform for Continuous Code Quality
Larry Nung
 
Tracking and improving software quality with SonarQube
Tracking and improving software quality with SonarQubeTracking and improving software quality with SonarQube
Tracking and improving software quality with SonarQube
Patroklos Papapetrou (Pat)
 
Sample Business Requirement Document
Sample Business Requirement DocumentSample Business Requirement Document
Sample Business Requirement Document
Isabel Elaine Leong
 
Requirements Gathering Best Practice Pack
Requirements Gathering Best Practice PackRequirements Gathering Best Practice Pack
Requirements Gathering Best Practice Pack
Amy Slater
 
List of Software Development Model and Methods
List of Software Development Model and MethodsList of Software Development Model and Methods
List of Software Development Model and Methods
Riant Soft
 
6 basic steps of software development process
6 basic steps of software development process6 basic steps of software development process
6 basic steps of software development process
Riant Soft
 

Similar to Code Quality, Standards and Best Practices, Discuss (20)

Blogging for a better classroom
Blogging for a better classroomBlogging for a better classroom
Blogging for a better classroom
Vicki Davis
 
Open-Source Project Tools for Corporate Projects?
Open-Source Project Tools for Corporate Projects?Open-Source Project Tools for Corporate Projects?
Open-Source Project Tools for Corporate Projects?
Bertrand Delacretaz
 
Write A Better FM - Ohio Linux 2011
Write A Better FM - Ohio Linux 2011Write A Better FM - Ohio Linux 2011
Write A Better FM - Ohio Linux 2011
Rich Bowen
 
Solving Problems with Web 2.0
Solving Problems with Web 2.0Solving Problems with Web 2.0
Solving Problems with Web 2.0
Dorothea Salo
 
Write a better FM
Write a better FMWrite a better FM
Write a better FM
Rich Bowen
 
Lecture 2 blogging
Lecture 2   bloggingLecture 2   blogging
Lecture 2 blogging
rskslides
 
Content Curation for Librarians
Content Curation for LibrariansContent Curation for Librarians
Content Curation for Librarians
Beth Kanter
 
Triple your blog post frequency
Triple your blog post frequencyTriple your blog post frequency
Triple your blog post frequency
Andraz Tori
 
Content Curation: An Essential Ingredient for Online Business Success
Content Curation: An Essential Ingredient for Online Business SuccessContent Curation: An Essential Ingredient for Online Business Success
Content Curation: An Essential Ingredient for Online Business Success
Jerod Morris
 
Doonish
DoonishDoonish
Doonish
betabeers
 
Doonish
DoonishDoonish
Doonish
betabeers
 
CMS 120: Introduction to Building a Website
CMS 120: Introduction to Building a WebsiteCMS 120: Introduction to Building a Website
CMS 120: Introduction to Building a Website
Montana State University
 
Technical Communication for Unity Developers
Technical Communication for Unity DevelopersTechnical Communication for Unity Developers
Technical Communication for Unity Developers
Unity Technologies
 
The marriage of people and technology - Jon Winter, Worthers Media Solutions
The marriage of people and technology - Jon Winter, Worthers Media Solutions The marriage of people and technology - Jon Winter, Worthers Media Solutions
The marriage of people and technology - Jon Winter, Worthers Media Solutions
Internet World
 
Be brave and Open Source
Be brave and Open SourceBe brave and Open Source
Be brave and Open Source
Anna Migas
 
Why Do We Blog?
Why Do We Blog? Why Do We Blog?
Why Do We Blog?
Ashley Tate
 
CorporateCommunityOWF2010
CorporateCommunityOWF2010CorporateCommunityOWF2010
CorporateCommunityOWF2010
Connect'up
 
The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...
The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...
The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...
Maria Sebina Pulvirenti
 
Preservation and institutional repositories for the digital arts and humanities
Preservation and institutional repositories for the digital arts and humanitiesPreservation and institutional repositories for the digital arts and humanities
Preservation and institutional repositories for the digital arts and humanities
Dorothea Salo
 
Writing articles the easy way
Writing articles the easy wayWriting articles the easy way
Writing articles the easy way
Adrian Lee
 
Blogging for a better classroom
Blogging for a better classroomBlogging for a better classroom
Blogging for a better classroom
Vicki Davis
 
Open-Source Project Tools for Corporate Projects?
Open-Source Project Tools for Corporate Projects?Open-Source Project Tools for Corporate Projects?
Open-Source Project Tools for Corporate Projects?
Bertrand Delacretaz
 
Write A Better FM - Ohio Linux 2011
Write A Better FM - Ohio Linux 2011Write A Better FM - Ohio Linux 2011
Write A Better FM - Ohio Linux 2011
Rich Bowen
 
Solving Problems with Web 2.0
Solving Problems with Web 2.0Solving Problems with Web 2.0
Solving Problems with Web 2.0
Dorothea Salo
 
Write a better FM
Write a better FMWrite a better FM
Write a better FM
Rich Bowen
 
Lecture 2 blogging
Lecture 2   bloggingLecture 2   blogging
Lecture 2 blogging
rskslides
 
Content Curation for Librarians
Content Curation for LibrariansContent Curation for Librarians
Content Curation for Librarians
Beth Kanter
 
Triple your blog post frequency
Triple your blog post frequencyTriple your blog post frequency
Triple your blog post frequency
Andraz Tori
 
Content Curation: An Essential Ingredient for Online Business Success
Content Curation: An Essential Ingredient for Online Business SuccessContent Curation: An Essential Ingredient for Online Business Success
Content Curation: An Essential Ingredient for Online Business Success
Jerod Morris
 
CMS 120: Introduction to Building a Website
CMS 120: Introduction to Building a WebsiteCMS 120: Introduction to Building a Website
CMS 120: Introduction to Building a Website
Montana State University
 
Technical Communication for Unity Developers
Technical Communication for Unity DevelopersTechnical Communication for Unity Developers
Technical Communication for Unity Developers
Unity Technologies
 
The marriage of people and technology - Jon Winter, Worthers Media Solutions
The marriage of people and technology - Jon Winter, Worthers Media Solutions The marriage of people and technology - Jon Winter, Worthers Media Solutions
The marriage of people and technology - Jon Winter, Worthers Media Solutions
Internet World
 
Be brave and Open Source
Be brave and Open SourceBe brave and Open Source
Be brave and Open Source
Anna Migas
 
Why Do We Blog?
Why Do We Blog? Why Do We Blog?
Why Do We Blog?
Ashley Tate
 
CorporateCommunityOWF2010
CorporateCommunityOWF2010CorporateCommunityOWF2010
CorporateCommunityOWF2010
Connect'up
 
The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...
The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...
The art of conversation: Listen, Calibrate, Guide (Confab UK 2013: How to wri...
Maria Sebina Pulvirenti
 
Preservation and institutional repositories for the digital arts and humanities
Preservation and institutional repositories for the digital arts and humanitiesPreservation and institutional repositories for the digital arts and humanities
Preservation and institutional repositories for the digital arts and humanities
Dorothea Salo
 
Writing articles the easy way
Writing articles the easy wayWriting articles the easy way
Writing articles the easy way
Adrian Lee
 
Ad

Recently uploaded (20)

AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Ad

Code Quality, Standards and Best Practices, Discuss

  • 1. Code Quality, Standards, and Best Practices: Discuss!
  • 2. 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
  • 3. Code, Standards, Best Practices. Who cares anyway? 1. Your users / customers / clients 2. The community 3. Potential employers 4. You!
  • 4. “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
  • 5. “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: Stan Lee via Uncle Ben
  • 6. “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
  • 7. “I do not carry such information in my mind since it is readily available in books.” • http://codex.wordpress.org/WordPress_Coding_Standards • http://codex.wordpress.org/CSS_Coding_Standards • http://codex.wordpress.org/Site_Design_and_Layout • http://codex.wordpress.org/Theme_Review • http://codex.wordpress.org/WordPress_API’s • http://codex.wordpress.org/Creating_Tables_with_Plugins • In case it’s not clear… WordPress Codex! Quote: Albert Einstein
  • 8. “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
  • 9. “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
  • 10. Thank you! • Slides are here: http://japh.com.au/wcgc2011/ • Follow me here: http://twitter.com/Japh • Talk to me here!

Editor's Notes