Category: JavaScript

Outputting a CSV File from Node.js

After reading this article, you will understand how to export data from a database or other system using a csv library in Node.js.

CSV stands for common separated values file which means that data can be stored in a tabular format with commas separating each value.

Continue reading

Generating A PDF in Nodejs

The PDF format is one of the most common file formats for transmitting static information. It’s a really common request for businesses to be able to export a document or data into a really well-formatted PDF file whether it be an invoice or a report.

Continue reading

How to Perform SOAP Requests With Node.js

SOAP is basically an XML based API that existed before the REST API existed. SOAP stands for Simple Object Access Protocol – it’s a mostly legacy protocol that was designed for doing remote api requests in a language independent way.

From time to time unfortunately, we’ll need to call a SOAP API.

Continue reading

Best Practices for AWS Lambda & Logging

Having your application / system produce the right amount and quality of logs is just as important as having the system process the needed data because it helps make debugging easier and allows us to better optimize data.

Logging on AWS lambda can be really costly if it’s not done correctly.

Continue reading

Connecting to MySQL from Node.js

nodeJS Logo

For the most part, it seems to be that NodeSQL databases are the defacto standard with Node and JavaScript developers. Using MySQL is still an option and can make a lot of sense if the project already has an existing database.

Continue reading

What is Test Driven Development?

What is Test Driven Development?

TDD is a lot more than vanity metrics like the percentage of code covered by tests. Test Driven Development (TDD) is a development process that consists of the tests being designed and written before most of the code is written.

Continue reading

Using jQuery in Salesforce Lightning

Salesforce Logo

Up until recently, if you were building websites you pretty much always used jQuery. jQuery really simplified working with the browser document object model (DOM) and doing really custom animations.

In this blog post, we go through how to jQuery with the Lightning Locker Service turned on.

Continue reading