For a while now, and since SuiteCommerce Advanced has become more and more popular, we have been in contact with many developers that are just new to NetSuite and about to embark on building and extending SCA websites. In an attempt to contribute with these devs SuiteCommerce Advanced training I thought I could write a short post introducing tools that our development team uses every day to build awesome SCA online stores and hope that can be of some value to them.
As a disclaimer, I would say that the right tools will depend on the environment, the dev processes, activities, and team. The following are tools that I personally find of value.
Hope you think alike!
The reason why I like this coding text editor is because of its clean UI and the already out-of-the-box integrated features such as Git integration. It’s also simple to customize the tool and even build new packages that extend the way you use Atom.io on your daily coding.
Sublime Text is another popular text editor for code and it falls in the same range of easy to integrate features. It may be a very personal subconscious thing or simply a perception but I rather work with ATOM.io for its simplicity and intuitiveness. Plus, the supporting community is larger.
If the above didn’t make it for you, maybe this short video will:
This is almost a required tool when developing on SuiteCommerce Advanced – the reason is that Developer Tools for developing on SCA are built on top of many packages and tools that run on Node.js (such as gulp, expressjs, among others).
Another tool that I love is Bower. Defined as a package manager for the web it helps me and my team to keep track of packages versions and make sure they are up to date. Also, I can define a specific version range and have it seamlessly updated for my team, allowing us to be working under the same context.
Bower is optimized for the front-end and if multiple packages depend on a package, Bower will catch that and resolve it using a flat dependency graph.
Beyond that, it’s simple to install packages and pull all packages versions (from my team projects) right from your development environment. You can install and manage Bower right from the console, which is always a plus for me.
Chances are that if you are reading this, you call yourself a developer, hence you rather code than spend time writing documentation, right? From personal experience, I can say that automated documentation generators such as YUI Doc and JS Doc can become lifesavers.
It’s really simple to use – we have to tell which files need to be ridden and with a simple command, the tool will inspect it for us and generate documentation from our comments. Yes, certain standards have to be followed as you write your code, but it’s totally worth it.
Another thing to consider is that it seems NetSuite will be delivering SCA components based on JS Doc. So you might get familiar with the architecture documentation.
A similar tool to Jasmine is Mochajs if you would like to explore.