×

Top 15 Meteor Interview Questions for 2024

1) What is Meteor or MeteorJS?

Meteor is a JavaScript platform used for developing web and mobile applications. Applications develop using Meteor framework supports different platforms (like windows, android, ios). Meteor includes a key set of technologies such as Node.js and general JavaScript community.

2) What are the features of Meteor?

  • Web and mobile: Meteor provide platform for developing Android, IOS and Web apps.
  • Packages: Meteor support huge number of packages that are easy to install and use.
  • Universal Apps: The same code is used for mobile device and web browser.
  • Meteor Galaxy: Meteor offers Meteor Galaxy Cloud service for app development.

3) What are the advantages of Meteor?

  • Meteor apps are by default real time. The data in the templates automatically gets updated, as soon as changes to the data are made.
  • Coding is very simple and beginner friendly.
  • The development process is highly simplified as frontend, backend and database all uses one language i.e. JavaScript.

4) What are the disadvantages of Meteor?

  • Meteor is not very much suitable for large and complex application.
  • The Meteor API is rapidly changing, so each new version may bring breaking changes.
  • Due to newer in industry there are not as many hosting services available for Meteor apps yet (Meteor 1.0 version).

5) What are the tags used in Meteor template?

Meteor template uses three important tags. These are head, body and template. Head and body tag has same function as in regular HTML, but template tag is used to connect HTML to JavaScript.
<head>  
   <title> </title>  
</head>  
 <body>      
</body>  
 <template name = "">   
</template>

6) Which database is supported by Meteor?

Meteor (version 1.5) currently support MongoDB database. Meteor API is rapidly changing, so each new version may bring breaking changes.

7) How Meteor uses MongoDB collections? And how data are saved?

Following line of code create connection with Meteor with MongoDB:
MyCollection = new Mongo.Collection('myCollection');  
var myData = {  
   key1: "value 1...",  
   key2: "value 2..."  
}  
MyCollection.insert(myData);

8) Why developers choose Meteor for app development?

Meteor uses JavaScript language for front end as well as backend development. It makes dramatically fast development time and great for rapid prototyping.

9) How can Meteor apps compile?

Meteor apps compile by using Apache Cordova. So we don't have to create separate codebases for Android and iOS. This results in high-quality apps that run a mix of web and native code.

10) What is session and how session can be created in Meteor?

Session is used to save data while app is in use. The session data will be deleted while user leaves the app. In Meteor session are created by using Session.set() method. Once the session data is set, it can return using Session.get() method.

11) What is tracker in Meteor?

Tracker is a small library that is used for auto update templates once the session data has changed. Tracker.autorun() method is used for tracking on session.
var data = 0  
   Session.set('sessionData', data);  
   Tracker.autorun(function () {  
      var sessionValue = Session.get('sessionData');  
      console.log(sessionValue)  
   });  

   Template.myTemplate.events({  
      'click #myButton': function() {  
         Session.set('sessionData', data++);  
      }  
   });

12) How can Meteor provide security for mobile or web application?

Meteor offers large number of packages for application development. Developer need to remove some insecure or less secure packages while development. Another way to provide security of application is that, creating your methods on the server. This can be done by using the Meteor.methods() on the server and Meteor.call() on the client.

13) What is Blaze in Meteor?

Blaze is a Meteor package used for building live reactive templates.

14) What is Meteor EJSON?

EJSON is an extension of JSON syntax that supports Date and Binary types. The date and binary can be deserialize using the parse method. For example:
if (Meteor.isClient) {  
   var ejsonDate = '{"$date": 1455029631493}';  
   var myDate = EJSON.parse(ejsonDate);  
   console.log(myDate);  
}

15) How and where to deploy Meteor app?

Meteor provides its own server (free) to deploy and test your application with command "meteor deploy appname". If you want to deploy application on your own server and domain, you will need VPS (Virtual Private Server) or cloud hosting like Heroku or Modulus.

Related Topics

Top 15 VBA Interview Questions for 2024

1) What is VBA? VBA stands for Visual Basic Application. It is an event-driven programming language. It is mainly used with Microsoft Office applications such as MS -Excel, MS-Word and MS-Access. 2)...

3 minutes read.

Top 15 JSP Interview Questions for 2024

1) What is JSP? It is a technology which is used to create web application like Servlet technology. It provides more functionality than Servlet. It consists of HTML and JSP tags. 2) What are...

3 minutes read.

Top 15 PhantomJS Interview Question for 2024

1) What is PhantomJS? PhantomJS is a lightweight headless scripted browser built on WebKit. It is used for automation web page interaction. 2) Why it is called as headless browser? PhantomJS called as...

4 minutes read.

Top 26 SEO Interview Questions for 2024

Most Frequently asked SEO Interview Questions and Answers for Fresher and Experienced 1) What is SEO? SEO stands for Search Engine Optimization. It is a set of processes followed by website owners...

4 minutes read.

Top 15 Data structure & Algorithm Interview Questions for 2024

1) What is Data Structure? Data structure is a way of storing, collecting and organizing data into the main memory. It makes data access more efficient and increase performance. Array, List, Queue...

3 minutes read.

Top 15 Ext Js Interview Question for 2024

1) What is Ext Js? Ext Js refers to Extended JavaScript. Ext JS is a JavaScript framework used to built interactive cross platform web application. 2) What are the features of Ext...

3 minutes read.

Top 16 Ionic Interview Questions for 2024

Top 20 Ionic Interview Questions and Answers for Freshers 1) What is Ionic framework? Ionic is open source HTML5 framework used for hybrid mobile application development. It provides tools and services for...

3 minutes read.

Top 30 AJAX Interview Questions for 2024

1) What is AJAX? AJAX (Asynchronous JavaScript and XML) create better, faster and interactive web-apps. It provides data transfer between web-server and browser. 2) List some advantages of AJAX Advantages are: More Interactive: Very...

3 minutes read.

Top 16 Groovy interview Questions for 2024

1) What is Groovy? Groovy is an object oriented programming language. It is based on java platform. It can also be used as scripting language. 2) Who designed the Groovy? James Strachan designed...

2 minutes read.

Top 30 Cassandra Interview Questions for 2024

1) Explain. What is Cassandra? Cassandra is an open source data storage system. It was developed at Facebook for inbox search and designed for storing and managing large amount of data. 2)...

5 minutes read.

Top 30 Aurelia Interview Questions and Answers

1) What is Aurelia? Aurelia is an open source UI framework which is used for web and mobile app development. This framework is focused on web standards and follows simple conventions. 2) What...

2 minutes read.

Top 15 C Interview Questions for 2024

1) What are different storage class specifiers in C? Register,auto, static, extern are the storage class specifiers in C. 2) What is scope of a variable? How are variables scoped in C? Scope...

3 minutes read.

Top 15 Servlet Interview Questions for 2024

1) What is Servlet? It is a technology used to create web applications. It is a web component which is used to create dynamic web pages. It consists of many interfaces and classess...

2 minutes read.

Top 27 JavaScript Interview Questions for 2024

1) Define Undeclared and Undefined Variables? Undeclared variable are defined as these variable is neither defined nor exist in the program. If program calls this variable then it causes Runtime error. Undefined variable...

5 minutes read.

Top 30 Drupal Interview Questions for 2024

1) What is Drupal? Drupal is an open source CMS (Content Management System) framework. It is written in php and provides rich set of tools to create web sites. 2) What are...

4 minutes read.

Top 14 XSL Interview Questions for 2024

1) What is XSL? XSL stands for Extensible Stylesheet Language. It is used for expressing stylesheets like CSS which describes how to display an XML of given type. 2) What is XSLT? XSLT...

4 minutes read.

SSIS Interview Questions and Answers

Q.1 What is SSIS? SQL Server Integration Service (SSIS) is a component of Microsoft SQL Server. It is a powerful ETL tool that is used for building enterprise-level data transformation and...

5 minutes read.

Top 25 jQuery Interview Questions for 2024

Most Frequently asked jQuery Interview Questions and Answers for Fresher and Experienced 1) Define Find and Children Method? In DOM tree if you have to find all the method we use Find...

4 minutes read.

Top 50 ReactJS Interview Questions for 2024

Top 50 Frequently asked ReactJS Interview Questions Q-1. What is React? Ans-1 React is a front-end JavaScript library which is developed by Facebook in 2011. It follows the component-based approach and allows us to...

15 minutes read.

Top 14 Material Design Lite Interview Questions for 2024

1) What is Material Design Lite? Material Design Lite is UI component Library. It is created with CSS, JavaScript and HTML. It is used for design purpose. It is developed by...

3 minutes read.