Andres Canavesi photo

javaniceday.com

Software development blog. Java, Node JS, Salesforce among other technologies

dev

Card image cap

Bye bye FindBugs. Hello SpotBugs

I used to use FindBugs plugin in my Java projects to detect and learn about issues and potential issues in my source code.

Read More →
Card image cap

Cache implementation in Node.js

A cached value it’s dynamic data, expensive to calculate, that we make it constant during a period of time.

Read More →
Card image cap

Get Visualforce usage stats from VisualforceAccessMetrics

If you want to know how frequently your Visualforce pages are accessed, you just have to run a simple query on VisualforceAccessMetrics

Read More →
Card image cap

How to build a sitemap

A sitemap is very important if you want to search engines discover and index your site properly.

Read More →
Card image cap

Configure Prettier in your Node JS project

Prettier is a code formatter that supports many languages and can be integrated with most of the editors

Read More →
Card image cap

How to configure http auth basic in Node js and Express

Let’s build a small site in Node.js using Express that will have one protected page

Read More →
Card image cap

Full-text search in Node JS - search related data

If you are building a website, e-commerce, a blog, etc., you will need a full-text search to find related content like Google does for every web page.

Read More →
Card image cap

Better Queue in Node JS

A good practice in software development is to delegate as much heavy work as possible to background jobs to avoid blocking the main execution of your application that can be a web app, mobile app, or desktop.

Read More →
Card image cap

Optimizing Node JS code

At different levels you might optimize your JavaScript code. Sometimes optimization is a matter of good practices such as avoid using logging in loops.

Read More →
Card image cap

Customize styles highlight.js

Customize styles highlight.js

Read More →
Card image cap

Hash text in Node.js

Hash a string in Node.js without extra dependencies

Read More →
Card image cap

Template of Java web and Heroku

I’ve worked in several projects with Java, specially Java web using Tomcat as a web container and then Glassfish as application server.

Read More →
Card image cap

Why I adopted Heroku

Heroku is a platform as a service (PaaS)

Read More →
Card image cap

Upload big files to S3 using Node.js

Sometimes you need to upload a big file, let say bigger than 100MB. Stream from disk must be the approach to avoid loading the entire file into memory.

Read More →
Card image cap

How to connect to a PostgreSQL database in Node.js

A simple example about how to connect to a PostgreSQL database using Node.js

Read More →
Card image cap

Compress a file in Node.js

Zip a file in Node.js it's easy using zlib

Read More →
Card image cap

How to configure HTTPS in Node.js

Sometimes we need to configure a secure environment locally to test how our application reacts to HTTPS.

Read More →
Card image cap

Test Driven Development (TDD) in a nutshell

Every project has somewhere in the src folder a file called utils.js, Utils.java, utils.py, etc....

Read More →
Card image cap

Migrate sforce.connection.query to Lightning equivalent

As you probably know, JavaScript buttons are not supported in Lightning Experience (LEX). In particular, you can’t use REQUIRESCRIPT. In this post, the idea is to show how to migrate a particular JavaScript button that uses sforce.connection.query sentence.

Read More →
Card image cap

How to convert sforce.apex.execute to Lightning

Let’s see how to convert a Salesforce JavaScript button that uses sforce.apex.execute in to Lightning Experience. The good news is you will reuse this code and the approach for all your similar buttons.

Read More →
Search
Side Widget
You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!