Switch Scripting Training

Post Reply
mclarke
Member
Posts: 54
Joined: Thu Feb 28, 2013 5:29 pm
Location: Syracuse, NY

Switch Scripting Training

Post by mclarke »

Does anyone know of a good resource for instructor-led training in Javascript that doesn't involve web page creation? It can be either online or classroom based.

Most of the online resources I've come across have web design as their main focus. I'm looking to expand my Switch skill set and scripting is the next step.

Thanks.
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Switch Scripting Training

Post by gabrielp »

mclarke wrote:Does anyone know of a good resource for instructor-led training in Javascript that doesn't involve web page creation? It can be either online or classroom based.

Most of the online resources I've come across have web design as their main focus. I'm looking to expand my Switch skill set and scripting is the next step.

Thanks.
Hey man. There's lots of non-web based Javascript options with Node. If you Google for any Node coding courses or tutorials, you'll find lots. But the problem isn't so much that Switch's Javascript is unlike the Javascript you find on the web, but that Switch has a goofy implementation that is based on an older version of ECMAScript. I can't tell you how often I throw some perfectly valid JS into Switch Scripter which causes it to crash, losing my work :evil:.

Dwight does some courses at GraphExpo and usually does a post here beforehand: http://forum.enfocus.com/viewtopic.php?f=13&t=822

I'd recommend reviewing the Javascript learn-x-in-y, reading through the Switch Scripting guide (you'll need an understanding of the Job and File classes Switch gives you to do anything useful), and then playing around with some Node tutorials. Understanding Javascript scope and hoisting are definitely worth your time. Learning how to use the fixture panel in Switch Scripter can also save you a ton of time as well, and it really the only hope you have to test your code, since the way Switch Scripts are packed prevents any real testing from being done. Lots of us have also made Switch script code available to review. Some good resources are crossroads-world, GitHub, and of course, these forums.

For me, what always helps me to learn scripting/programming languages or concepts is to first start with a problem and tackle something new in my attempts to solve it.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
mclarke
Member
Posts: 54
Joined: Thu Feb 28, 2013 5:29 pm
Location: Syracuse, NY

Re: Switch Scripting Training

Post by mclarke »

Thanks Gabriel. I'll look into the resources you've listed.
rgpepper
Member
Posts: 80
Joined: Wed Oct 14, 2015 2:09 am

Re: Switch Scripting Training

Post by rgpepper »

gabrielp wrote: Thu Oct 29, 2015 2:59 pm For me, what always helps me to learn scripting/programming languages or concepts is to first start with a problem and tackle something new in my attempts to solve it.
Couldn't agree more. Any hints on learning the fixture panel in Switch Scripter?

Peace,

Rick
dkelly
TOP CONTRIBUTOR
Posts: 658
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Re: Switch Scripting Training

Post by dkelly »

Hello, please see my post in this forum titled "Switch scripting and advanced topics class @ Print '18" for more information.
Post Reply