Thinking » Tags » #wcnyc
Today at WordCamp NYC, I gave a presentation on how you can work with WordPress via a command-line interface (CLI.) This presentation covered how you can can poke and prod WordPress core and API by using WPSH, a custom script built on top of Facebook’s PHPSH.
Also covered were approaches to write command-line scripts for WordPress, using this knowledge to build tools for importing and exporting blog data, as well as some of the higher-level issues involved with processing bulk data.
One question that was offered after the presentation had to do with my familiarity with wp-cli, which I admit, I had none. It appears that the wp-cli utility is useful for atomic operations on the blog, like upgrading core, adding users, &c., whereas wpsh will give you an interactive environment to run any PHP / WordPress API code that your heart desires. I will be sure to give props to wp-cli in my next talk, and discuss how it differs from wpsh, and the advantages of each.
You can obtain the presentation slides at github.
Off the train and I’m in the Big Apple gearing up for WordCamp New York City 2012. Every year designers, developers, and users of the WordPress platform meet at one of the largest WordCamps for a weekend full of speaker sessions and networking held at Baruch College.
This year is especially exciting for me as two of my fellow colleagues will be presenting. Erick Hitter, one of Oomph’s WordPress gurus is leading a session on “Moving Beyond the Codex: Learning WordPress from Itself.” Ben Doherty, Oomph’s command line guru will be presenting “WordPress on the Command Line.” Having been fortunate enough to work with these minds for the past few months, I know I’m in store for very informative sessions.