YoVDO

JavaScript for PHP Geeks

Offered By: SymfonyCasts

Tags

Javascript Courses PHP Courses Object-oriented programming Courses JSON Courses AJAX Courses Event Handling Courses Promises Courses

Course Description

Overview

You already know and write JavaScript... or really jQuery. But as JavaScript takes on more of your life, it's time to take your game to the next level! In this tutorial, we'll do just that by diving into a bunch of pieces of JavaScript you may "kinda" understand, or which might be new to you altogether! This includes:

  • Event Bubbling & DOM Events
  • The DOM Element Object
  • JavaScript Objects
  • Instantiating objects with the prototype
  • Understanding the mystical "this" & .bind
  • Understanding Self-Executing Functions
  • Delegate Selectors will save your Life
  • Client-side templating
  • PROMISES!

Let's not just write JavaScript, let's understand what's going on!


Syllabus

  • Lift Stuff! The js- Prefix
  • (document).ready() & Ordering
  • All about Event Bubbling
  • The Event Argument & stopPropagation
  • The DOM Element Object
  • The Magical this Variable & currentTarget
  • A Great Place to Hide Things! The data- Attributes
  • Organizing with Objects!
  • "Static" Objects & the this Variable
  • Getting to the bottom of the this Variable
  • Fixing "this" with bind()
  • Immediately Invoked Function Expression!
  • The window Object & Global Variables
  • Instantiatable Objects & Constructors
  • The Object prototype!
  • prototype Versus __proto__
  • Extending the Prototype
  • AJAX Form Submit: The Lazy Way
  • Old-School AJAX HTML
  • Delegate Selectors FTW!
  • Proper JSON API Endpoint Setup
  • POSTing to the API Endpoint
  • Handling JSON Validation Errors
  • Clearing the Form, Prepping for a Template
  • JavaScript Templating
  • Full-JavaScript Rendering & FOSJsRoutingBundle
  • All About Promises!
  • Catching a Failed Promise
  • Promise catch: Catches Errors?
  • Making (and Keeping) a Promise
  • Promise Chaining
  • SweetAlert: Killing it with Promises
  • Sweet Alert: Create a Promise!

Taught by

Ryan Weaver and Leanna Pelham

Related Courses

Introduction to Programming for Musicians and Digital Artists
California Institute of the Arts via Coursera
¡A Programar! Una introducción a la programación
University of Edinburgh via Coursera
Interactivity with JavaScript
University of Michigan via Coursera
Windows可视化程序设计
Xi'an Jiaotong University via Coursera
Android Basics: User Input
Google via Udacity