EzDevInfo.com

meteor interview questions

Top meteor frequently asked interview questions

How to expose a RESTful Web Service using Meteor

How would you go about creating a restful web service using Meteor. I would like to create apps in Appcelerator that hook into the same backend.

Can Meteor solve this problem?


Source: (StackOverflow)

How do we or can we use node modules via npm with Meteor?

How do we or can we use node modules via npm with Meteor?

Or is that something that will be dependent on the packaging API?

Or is there a prescribed method that is recommended?


Source: (StackOverflow)

Advertisements

How does Meteor's reactivity work behind the scenes?

I have read the docs and looked at the source behind reactivity, but I don't understand it.

Can someone explain how this works behind the scenes, as it looks like magic to me :).


Source: (StackOverflow)

How to use the existing mongodb in a meteor project?

Let's say there is a running mongodb server for a GUI client (by wxPython) for a while. If we are gonna play with meteor with this mongodb server, how to do that?


Source: (StackOverflow)

How does the Meteor JavaScript framework work? [closed]

I came across Meteor and while it seems exciting, I want to know how it works. I mean conventional web applications work like this: You have scripts on server which take data from database and add that dynamically to web-pages and the user-submitted data gets added to databases through some other scrips.

But how do these things work in Meteor? How are different parts of Meteor related to each other?


Source: (StackOverflow)

Is there a simple way to export the data from a meteor deployed app?

Is there a simple way to export the data from a meteor deployed app?

So, for example, if I had deployed an app named test.meteor.com...

How could I easily download the data that has been collected by that app - so that I could run it locally with data from the deployed app?


Source: (StackOverflow)

What are (potential) disadvantages of using meteor.js? [closed]

I have just watched the meteor.js screencast and I'm quite blown away by how easy building a web application with it seems, in terms of live updates and database synchronisation. However, I am not sure of how well it would scale once it's live.

What problems (potential or real) could I have if I decide to build and deploy a web application written on meteor.js?


Source: (StackOverflow)

What security mechanisms does Meteor have? [closed]

We all know that Meteor offers the miniMongo driver which seamlessly allows the client to access the persistent layer (MongoDB).

If any client can access the persistent API how does one secure his application?

What are the security mechanisms that Meteor provides and in what context should they be used?


Source: (StackOverflow)

file is being assigned a //# sourceMappingURL but already has one

I just notice Firefox console outputs the following error for every single .js/.coffee file in my project (even the packages).

-file- is being assigned a //# sourceMappingURL, but already has one

Chrome's console doesn't show anything. I tried deleting all the .map files and clearing Firefox's cache but I'm still getting the errors.


Source: (StackOverflow)

How do I create multi-page applications with Meteor?

I am new to Javascript and just started fiddling around with Meteor out of curiosity. What really surprises me, is that it seems that all HTML content gets combined into a single page.

I suspect there is a way to introduce some handling of URLs directing to special pages. It seems that the "todo" example is capable of doing this via some kind of Router class. Is that the "canonical" way of URL handling?

Assuming I can handle URLs, how would I structure my HTML code to display separate pages? In my case they could each have completely separate sets of data, so no HTML code needs to be shared at all.


Source: (StackOverflow)

How can Meteor apps be tested? [closed]

What are the recommended ways to test web applications developed with the framework?

The meteor unofficial FAQ entry on TDD best practices is quite short.


Source: (StackOverflow)

What are the best practices for structuring a large Meteor app with many HTML template files? [closed]

In all the examples (leaderboard, wordplay, etc.) they have one single HTML template file. Is there some large open source Meteor project with many different HTML template files we can use as a best practice example? Doesn't seem practical to put everything a large app needs all in one template file.


Source: (StackOverflow)

What should I put in a meteor .gitignore file?

I have a new meteor project. I'm guessing the .meteor dir has a combination of configuration files (needed) and temporary files (not needed).

So what's in your .gitignore?


Source: (StackOverflow)

Can Meteor be used with PhoneGap?

Can a Meteor template be packaged up and deployed as a PhoneGap application?


Source: (StackOverflow)

Meteor app — resetting a deployed app's DB

Is there a simple way to reset the data from a meteor deployed app?

So, for example, if I had deployed an app named test.meteor.com — how could I easily reset the data that has been collected by that app?

Locally I run meteor reset, but I am unsure of what to do in production.


Source: (StackOverflow)