Where Did My Brain Go?

Meet Me at Tampa WordCamp 2014

I volunteered to answer WordPress questions at WordCamp Tampa 2014 on Sunday October 5, from 3:50 – 4:40 P.M.

WordCamp is a gathering of WordPress users and developers. The first WordCamp was held in 2006.

Tampa WordCamp 2014 includes presentations by WordPress experts on publishing, marketing and development.

I plan to attend a WordPress Performance Workshop led by Mark Jaquith, a Lead Developer for WordPress.

I will be answering questions in the “Happiness Bar,” after Mr. Jacquith’s workshop.

My First Impression of WordPress

I was introduced to WordPress and PHP in 2007. WordPress is written in the PHP, SQL and JavaScript programming languages. I had no PHP experience, but I knew the C Programming Language, and PHP is based on C. I had SQL experience using MySQL with C.

WordPress was a confounding system comprised of hundreds of PHP and JavaScript functions. Dozens of files full of complex source code, were scattered in a dozen directories.

How I Learned WordPress

I started with a forgotten book, which introduced me to posts, pages, categories and themes. Themes taught me how to create and load templates, to change the design of individual pages.

I wanted to write a plugin, because I was frustrated that WordPress did not add a description and keywords to the headers of my posts and pages. I learned by trial and error, until I discovered two helpful resources.

  1. Adam Brown’s List of all WordPress action hooks

WordPress displays documents through a sequence of actions. Programmers change output by amending actions. Professor Brown created a comprehensive list of WordPress actions. Each action is linked to source code.

For an example see: edit_form_advanced. Brown explains this action:

Runs just before the “advanced” section of the post editing form in the admin menus

WordPress Codex includes an incomplete action reference. My example, “edit_form_advanced” is not documented.

  1. Eclipse PDT is an IDE for developing software with PHP.

Eclipse PDT helped me understand WordPress, and create better software.

WordPress code is well documented using phpDocumentor. Eclipse understands the phpDocumentor systems, providing an explanation of WordPress classes and functions.

Eclipse lets me trace through functions, and saves versions of my files in a Git respository. Git is a revision control system. Git manages versions of source code, documents, etc. Every programmer should use a revision control system.

Sorry, I cannot offer an alternative development system, if you do not like Eclipse.

Ask me other WordPress questions on Sunday at Tampa WordCamp 2014. Meet me at the Happiness Bar from 3:50-4:40 PM. Hope to see you!