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

JavaScript in WordPress: A Crash Course

JavaScript in WordPress: A Crash Course

ramiabraham

January 11, 2016
Tweet

More Decks by ramiabraham

Other Decks in Technology

Transcript

  1. This talk/these slides: - Targets multiple user types (dev, biz-

    designer) - Is intended for a group setting
  2. - In extreme demand. - Most modern services require some

    JavaScript component or interface. JS in WP [business/admin]
  3. JS in WP [business/admin] Truth is, it’s been hot for

    ages. In many ways, JavaScript is the common- language of programming.
  4. - Why? Why should I incur that cost? I already

    have developers that write JavaScript every day. JS in WP [business/admin]
  5. Homework: Read: Forget the Click Bait. Here’s What the JavaScript

    Job Market Really Looks Like in 2016. Read: 10 Interview Questions Every JavaScript Developer Should Know - Tell your employees you’d like to see more JS work. Ask them what you can do to help make it happen. - Still not sure where things are? Try: An advisor, or a 3rd-party technical audit of development at your company. JS in WP [business/admin]
  6. - Powers countless components in core (list of enqueueable scripts,

    WP Codex) - Cannot be ignored - You’re going to learn it - Come on you’ll like it - All of your friends are doing it JS in WP [developer]
  7. To name but a few available libraries: - Underscore -

    Backbone - jQuery - jQuery jQuery jQuery jQuery jQuery - Prototype - MediaElement JS in WP [developer]
  8. Plus tons of internals: - theme, theme-install, plugin-install - heartbeat

    - editor - wp-mediaelement - customize-* - media, media-gallery ...and many more JS in WP [developer]
  9. 1. (book) A Software Engineer Learns HTML5, JavaScript and jQuery:

    A guide to standards-based web applications - Dane Cameron 2. MDN: A re-introduction to JavaScript (JS tutorial) 3. The entire MDN library of JavaScript tutorials and references 4. More and More JavaScript in WordPress - Tom McFarlin 5. More from Tom McFarlin (“javascript” term archive) 6. Learning JavaScript in WordPress, Deeply - Remkus de Vries 7. Debug your JavaScript as much as you do PHP. (start at CodeDebugg.in - a site by me and @jtsternberg) 8. JavaScriptforWP.com - upcoming courses by Zac Gordon (formerly of Treehouse) JS in WP [developer]
  10. 2. Functional programming patterns (chapter from EloquentJavaScript.net). (resource ++: “Don’t

    be Scared of Functional Programming”, Smashing Magazine, 2014) JS in WP [developer]
  11. Strong JS and no WP? It’s ok, there are countless

    resources available. JS in WP [both biz and dev]
  12. - Use the best tool for the job. - Just

    learning? Keep it vanilla. - A good read on the topic, by John O’Nolan of Ghost. JS in WP [both biz and dev]
  13. - If you feel you MUST learn React like omg

    right naaoo, try this: React for Beginners, Wes Bos JS in WP [both biz and dev]