Backend Others

Server Side Rendering in Meteor.js

Sending email from the server is one of the popular problem in any web applications since we might need to send the several types of emails such as daily report email, invoice email, notification email etc.

If we are going to send the simple emails(ex. simple text), we can use the default mailing functionality easily. But if we are going to send the complex emails including table, list etc, then we will need to render the template it firstly before sending them to the customers.

In this case, we can use the Server Side Rendering (SSR) technology to build the email template on the server.

The following library provides the SSR in Meteor.js, so we can use it on our future Meteor projects.

https://github.com/meteorhacks/meteor-ssr/

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *