This Week in Meteor #26


by Rishi Goomar

Welcome to issue #26 of TWiM!

I apologize for the delay of this issue. I have been sick for the past week and there were more pressing matters to take care of first.

If you would like updates like this emailed to you, subscribe at thisweekinmeteor.com

Updates in Meteor Core (MDG)

How Much Does ES2015 Cost?

This is a blog post to show you that transpiling to ES2015 does not have much of an effect on your file size or performance. I would say that this is a must-read article for all Meteor and generally JavaScript developers.

Production-Only Flag

I noticed this while grooming through the commits, it is a way to specify if the code is only meant to be in production. I think this is powerful because there are use cases where you would want code ONLY in production and different code in develop. So, you can put prodOnly just like the debugOnly flag currently out there.

Debug or Prod Only Packages Aren’t Automatically Exported

So, with the new ecmascript package being installed by default in Meteor 1.2, you will be “exporting” all of your classes / functions that are meant to be imported. But, this causes an issue with packages that are flagged as either debugOnly or prodOnly due to the way the compilation process works. It can cause errors for importing something that does not exist. So, developers will have to keep that in mind and import debugOnly / prodOnly package exports with the package['package-name'].nameOfImport syntax.

Updates in the Meteor Community

Building a Twitter Clone

This is a really great six-part tutorial that goes into great detail and shows you exactly how to build a Twitter clone with Meteor. The tutorial consists of the following:

  1. Intro to Meteor
  2. Client Template JS
  3. User Accounts
  4. Security & Structure
  5. Server Methods
  6. Data Publish / Subscribe

For those of you that are new to Meteor, it is a great tutorial to follow along. Although, there is one thing I will note, there are a few points like keeping track of the character count that should utilize a local reactive variable like ReactiveVar instead of using the Session variable to avoid global scope.

Meteor + React + Ionic Mobile App Part 4

This is part 4 of a very extensive and very well written blog post series to take you through every step to build a mobile app with Meteor, React, and Ionic. Part 4 talks about user and settings. It has three different sub parts within there (so far). If you read the first 3 parts, I would recommend continuing on and reading the rest. The link above is part 4.1, but you can read 4.2 and 4.3 here.

deanius:promise

This is a great package that exposes a reactive Promise API. For those of you familiar with Promises, this is a very good package to keep handy.

Screenings Launch Scaling Case Study

Screenings is a Telescope-based application that got very high up on Product Hunt and ended up getting over 600 concurrent users. Sacha goes through and talks about how he scaled up the application as quickly as possible during the big spike of users. There are a lot of lessons learned in the blog post and I highly recommend that everyone reads it.

Telescope Weekly #5

Check out what is going on in the Telescope community.

Meteor Scalability

More on scalability! This is a portion of Dan Dascalescu’s wiki that explains Meteor’s scalability and various factors behind just that. The entire wiki entry is quite good, so you should read it all if you haven’t already.

WebRTC Tutorial Using Meteor & PeerJS

This is probably one of the best use-cases for Meteor. A real-time peer-to-peer application. This tutorial does a great job of showing you a different type of example application as it goes through and allows you to make a simple peer-to-peer video conferencing application. I think it is a great example to give to developers that are not necessarily new to development, but are very new to Meteor.

Can Paid Packages Work in Meteor?

This is a really interesting podcast between Josh Owens, Ben Strahan, Mike Perham and Mark Shropshire discussing the pros and cons of having a paid package. They go through various scenarios and what has worked and what hasn’t. I would say that developing paid packages is a viable option.

Building A Group Messaging App with Meteor, MongoDB, & Twilio

Twilio seems to be giving Meteor a bit of an endorsement. This is a great tutorial that shows you how to use those three different pieces of technology to create a real-time group messaging application.

That’s all for this week! Tune in next week for more updates in the Meteor universe.

If you would like updates like this emailed to you, subscribe at thisweekinmeteor.com

Share Share on Twitter Share on Facebook Share on LinkedIn

How Can We Help?

Reaching out doesn’t mean you’re ready to start a project, but we’d love to learn more about the challenge you’re facing, answer any questions, and see if we might be a good fit for working together.

Contact Us