WordCamp NYC Round Up

This past weekend, WordCamp NYC was held at Baruch College in New York. It was (I believe) the second biggest WordCamp to date, if not the biggest (by number of attendees), right up there with WordCamp San Francisco. WCNYC was an incredibly busy event, with so much great WordPress stuff going on at any one time that it was hard to decide what to attend. I was lucky enough to be able to present/be involved in not just one, but 4 presentations throughout the weekend, and I wanted to get some slides and details up here for reference.

My first appearance was to give a 5 minute lighting-style introduction/demo to the IntenseDebate WordPress plugin. Since we thought internet access might be a problem, and since I hate doing “live” demonstrations, I pre-recorded a screencast (using iShowU for Mac) running through all the features, then just talked over the top. Here is the video, and you can click the link below the video to get the notes I used while speaking. This same presentation was given on Sunday during the Ignite-style talks.

  1. What is it?
    1. Drop-in comment enhancement system that takes your comments to the next level
    2. Works on major blogging/CMS platforms
      1. Joomla
      2. Drupal
      3. Blogger
      4. TypePad
      5. WordPress
    3. Generic code for “everything else”
    4. Owned by Automattic
  2. WordPress integration
    1. Plugin on wordpress.org/extend
    2. Imports all existing comments
    3. Initiates full 2-way sync
      1. Tied into the actions within WP to always stay up to date
    4. Replaces your comment moderation panel in wp-admin with an ID-enabled one
  3. Ease of commenting
    1. IntenseDebate global accounts
    2. OpenID
    3. Twitter Connect
      1. Tweet this comment
    4. Facebook Connect
      1. Share on FB
    5. Guests
  4. Moderation Options
    1. Rely by Email
    2. Moderate by Email
    3. Blacklist/Moderation filters
    4. Akismet Integration
    5. Crowd Sourced
      1. Auto-approve based on reputation
      2. Auto-delete based on negative reports
  5. Build Community
    1. Users can “get to know” each other
      1. Profiles
      2. Comment history
    2. Reputation points help users make judgements
  6. Customization
    1. Plugins
      1. Sharing
      2. CommentLuv
      3. AfterTheDeadline
    2. Custom CSS
    3. Layout options
      1. Disable elements
      2. Change image sizes
      3. Add a message to your users
    4. Comment sort options

After lunch, I was involved in a Google Summer of Code round-table discussion, where we talked about what the SoC was, how WordPress was involved, and some of the things that both mentors and students learned during the experience. We were also trying to explore what WordPress as an organization could do in the future to improve the experience for everyone involved, and also how we could potentially include more mentoring as part of the “normal” operations of the community. Daryl Koopersmith (the student I mentored), Justin Shreve (Search API student), Jane Wells (WordPress GSoC program admin) and Mark Jaquith (another mentor) were all there, and we had a few other folks who came along to learn about GSoC and the projects that came out of it. I’m personally super excited to see Daryl’s project, Elastic, mature and get into the wild a bit more.

Finally, during the last timeslot of the day, I presented a new talk called “Advanced WordPress Development Environments” (boring title, pretty technical information). The idea of this was to present some of the perhaps more advanced development techniques, tips and tricks that have become a part of my everyday development work over the past 13 years that I’ve been working on the web. Again, my notes are available via the link below the video.

  1. Development Environment
    1. MAMP
      1. http://www.mamp.info/
    2. WampServer
      1. http://www.wampserver.com/en/
    3. Roll Your Own
      1. http://php.net
      2. http://mysql.com
      3. Apache is installed on Mac, or http://httpd.apache.org
        1. nginx
        2. lighttpd
    4. Name based VHOSTS
      1. httpd.conf
      2. Restart Apache!
    5. Hosts File
      1. /etc/hosts on a Mac
        1. dscacheutil -flushcache
      2. C:\WINDOWS\system32\drivers\etc\hosts on Windows
        1. ipconfig /flushdns
    6. MySQL Tools
      1. command line client “mysql”
      2. phpMyAdmin
        1. Came with MAMP/WAMP
      3. MySQL Query Browser (part of MySQL Tools from mysql.com)
  2. Subversion
    1. Clients
      1. Command Line
      2. Versions
        1. http://versionsapp.com
      3. Tortoise
        1. http://tortoisesvn.tigris.org/
      4. Visual Diff tools
        1. Comes with XCode on Mac
        2. e.g. Trac
    2. Basic checkout
    3. Upgrading
      1. svn up
      2. svn switch http://svn.automattic.com/wordpress/tags/2.8.5
    4. WordPress as svn:external
      1. svn propedit svn:externals .
  3. Development Tricks + Tools
    1. One-directory-up install
    2. TextMate
      1. Find in Project “function something”
        1. grep -R --exclude="*\.svn*" "function [^ ]*(" *
        2. grep -R --exclude="*\.svn*" "function [^ ]*(" * | grep "function name you are looking for"
      2. WordPress Bundle
      3. PHP Bundle
    3. aliases + scripts
      1. connect to dev server
        1. alias dev='ssh user@remote-host.com'
      2. apply patch
        1. alias applypatch='patch -p0 <'
      3. make patch
        1. alias makepatch='svn diff >'
      4. Install WordPress!
        1. wordpress.sh (and more?)
    4. Tunnel your connection via SSH
      1. alias tunnel='ssh -D 8080 -fN user@remote-host.com'
      2. SSH Tunnel Manager
        1. http://projects.tynsoe.org/en/stm/
      3. FoxyProxy
        1. http://foxyproxy.mozdev.org/
        2. Proxy Details > Manual > Host: localhost, Port: 8080, SOCKS Proxy: v5
        3. “Blacklist” anything served locally, then run in Pattern Match mode
    5. Mount remote filesystem via SSH
      1. MacFUSE
        1. http://code.google.com/p/macfuse/
      2. Fusion for Mac
        1. http://www.macfusionapp.org/
      3. ExpanDrive for Windows
        1. http://www.expandrive.com/windows/
      4. WebDAV where available (server must support it, e.g. DreamHost, under “Goodies”)
    6. Moving a DB
      1. UPDATE wp_options SET option_value = '' WHERE option_name = 'siteurl';
      2. UPDATE wp_options SET option_value = '' WHERE option_name = 'home';
      3. UPDATE wp_options SET option_value = '' WHERE option_name = 'upload_path';
      4. UPDATE wp_postmeta SET meta_value = REPLACE( meta_value, '','' ); -- Attachments
    7. Developing on multiple versions of WP
      1. Symlink plugin into wp-content/plugins/
        1. ln -ns ../../../myplugin myplugin
      2. Handle WP_CONTENT_URL and WP_PLUGIN_URL
      3. version_compare( get_bloginfo( 'version' ), MINIMUM_PLUGIN_VERSION, '<' )
      4. if ( function_exists( 'something' ) ) { // do stuff }
      5. Table prefixes are your friend!
        1. Create one database
        2. Install each copy with a different prefix in that DB
          1. wp25_
          2. wp26_
          3. wp27_
          4. wp28_
    8. error_log() is the quick, easy way to get some feedback
  4. Testing
    1. WordPress Test Suite
      1. http://svn.automattic.com/wordpress-tests/
      2. Uses PHPUnit
    2. Write your own test suites to test functionality where possible
      1. Manual, with simple “assertions”
      2. PHPUnit
        1. http://phpunit.sourceforge.net/
      3. SimpleTest
        1. http://www.lastcraft.com/simple_test.php
    3. Develop in Firefox (or something else remotely standards-compliant)
      1. Firebug will change your life
        1. http://getfirebug.com/
      2. Test in IE (and apply CSS hacks where necessary)
        1. _attrib: (IE5+)
        2. *attrib: (IE7+)
        3. height: 1%; fixes a lot of rendering bugs
    4. Screenshots
      1. BrowserCam
        1. http://www.browsercam.com/
      2. BrowserShots
        1. http://browsershots.org/
    5. VirtualBox
      1. http://www.virtualbox.org/
      2. Run Win/Linux on your Mac
      3. Available for Windows/Linux “Hosts”
      4. Install OS + apps (IE) and run them “in a window”

I want to say a huge thank you to Jane and Steve (the organizers), to all of the sponsors, the other speaks, and of course to all of the attendees. WCNYC just rocketed to the top of my list of coolest WordCamps thus far 😉

  1. Tweets that mention WordCamp NYC Round Up « Dented Reality -- Topsy.com

  2. Beau Lebens Demos IntenseDebate at WordCamp NYC 2009 « IntenseDebate – Official Blog

Comments are closed.