Upgrade to Pro — share decks privately, control downloads, hide ads and more …

I wanna be a WP dev

I wanna be a WP dev

First steps to become a WordPress developer.

Filippo Gangi Dino

July 14, 2015
Tweet

More Decks by Filippo Gangi Dino

Other Decks in Programming

Transcript

  1. Torino Coding Society - torinocodingsociety.it Every 2 weeks free and

    opened coding speechs (with food and beverage). If you love coding
  2. whether you are using php (Haml, Slim), CSS (Sass, Scss)

    or javascript (coffescript) there are lot of style guides.
  3. Sublime Text Sublime Text http://www.sublimetext.com/ packages: Wordpress - packagecontrol.io/packages/WordPress Emmet

    - packagecontrol.io/packages/Emmet Foundation Snippets - packagecontrol.io/packages/Foundation%205%20Snippets
  4. wp-cli - wp-cli.org wp plugin install hello-dolly wp plugin activate

    hello-dolly wp user import-csv /path/to/users.csv
  5. wp-server - github.com/wp-cli/server-command $ w p s e r v

    e r P H P 5 . 5 . 2 4 D e v e l o p m e n t S e r v e r s t a r t e d a t J u l 1 4 1 9 : 1 0 : 0 0 2 0 1 5 L i s t e n i n g o n h t t p : / / l o c a l h o s t : 8 0 8 0
  6. few is better that many Never change a winning team

    suspect about swiss army knife plugins
  7. Cons slowdown uncontrolled growth why ask to make something to

    a plugin when you can make yourself better? conflicts
  8. < ? p h p w p _ e n

    q u e u e _ s c r i p t ( $ h a n d l e , $ s r c , $ d e p s , $ v e r , $ i n _ f o o t e r ) ; ? > < ? p h p w p _ e n q u e u e _ s t y l e ( $ h a n d l e , $ s r c , $ d e p s , $ v e r , $ m e d i a ) ; ? >
  9. Example, simple, manual deploy sequence Open FileZilla. Connect. Search local

    theme folder. Select modified files. Push to production. Verify. Select forgotten files. Push to production. Change directory to plugins folder. Select new plugins. Push to production. Make a db dump. Launch s e d changing domain. Visit production phpmyadmin. Import dump. Go to backend. Make manually changes for serialized arrays settings.