Do's and Don'ts when developing First Project with Ignition?

I don’t know if this was mentioned or not, but be very careful with Script transforms on bindings, especially in template views. If that template is on a flex repeater and iterated a bunch of times, every iteration is going to run that script transform, and then multiply that by every session of that project that’s open, and you could have literally hundreds of scripts per second running before you know it. I’ve seen it take down gateways before.

Ideally, scripts should be run at very slow intervals, or on-demand only. If there is any way you can possibly avoid a script transform on a binding, do it. If you can’t avoid it, try to put the script in your project library and call it with the runScript() expression instead. You should only ever have a script transform if there was absolutely no other way to accomplish what you wanted to accomplish. And if you think that’s the case, it is well worth the time to research and make sure it is. Not every nail needs a python-shaped hammer. There is usually a better way to do it.