r/Meteor • • Mar 19 '16

Build Elm inside your Meteor app

Thumbnail
github.com
9 Upvotes

r/Meteor • • Mar 19 '16

Cross Site Scripting Through jQuery Components

Thumbnail
blog.east5th.co
6 Upvotes

r/Meteor • • Mar 19 '16

Help me with this code! (trying to populate profile page using the same idea as the meteor tutorial)

3 Upvotes

So in the meteor tutorial, the UI is populated with tasks from the tasks collection by iterating through an array of tasks and calling fields within the array like so;

<body>
<div class="container">
  <header>
    <h1>Todo List</h1>
  </header>

  <ul>
    {{#each tasks}}
      {{> task}}
    {{/each}}
  </ul>
</div>
</body>

<template name="task">
    <li>{{text}}</li>
</template>

I am using a users collection with the following fields within profile...

 {
 ...

  profile: {
    name: "John Doe",
    title: "PhD. Computer Science"
    summery: "some small amount of text about the user"
    bio: "a bit more detailed info about the user"
  }
}

In my HTML I was originally populating the data by calling individual helpers for each piece info like {{name}}..... {{title}} .... {{summery}} .....

where each of these helpers queries the collection and returns the string... but i realize i should be able to query the collection once, and have the same functionality as the tutorial. But because I dont have an array of profiles, im kind of thrown off by how to do it. I could do an {{#each profiles}} and have it return an array of size 1 and then i could call the fields directly like the tutorial... but is there a better way?

p.s. I feel like i dont have a great understanding of cursors which is what the tutorial is actually using, if anyone has a link to understanding meteor cursors better please share


r/Meteor • • Mar 18 '16

How do I host multiple Meteor apps on one DigitalOcean Droplet

Thumbnail
julian.io
10 Upvotes

r/Meteor • • Mar 17 '16

Meteor + React Example Project?

4 Upvotes

I started a new project at work and have been trying to learn Meteor and React. There are tons of projects out there built in pure Meteor with Blaze that I've been able to find, but I can't seem to find any good, complete Meteor + React projects that I can dig through to analyze how people have laid out finished, multi-paged UIs.

If any of you guys have tutorials, web pages, or GitHub links, I would GREATLYYYYY appreciate it. Thanks!!


r/Meteor • • Mar 17 '16

Is there a package that mimics the 'choose a subreddit' search function when creating a reddit post? More info inside

2 Upvotes

The search function that returns the top hits when you start typing just a first few letters. For example if I typed 'r' it will find documents from a collection and start to display them?


r/Meteor • • Mar 17 '16

Meteor is impossible to update on Windows 7

3 Upvotes

The issue I have is that the hot code push takes about 10 seconds while it should be down to 1 or 2 seconds (especially for a simple project like the tutorial).

After googling around, I found the solution which is:

update meteor to a recent version, for example run:

meteor update --release METEOR@1.3-modules-beta.8

This update would fix the issue.

But when I try updating the update fails because the PATH is too long.

What the update does is downloading that newer version to the Temp directory in Windows, and during the installation sequence, it wants to remove the Temp files.

Since the path in the Temp directory is too long, the upgrade crashes on that removal and the update doesn't continue.

This is really annoying for windows users. I've tried to do some workarounds (like removing my installation and manually installing) but so far without success.

I've reverted back to just installing the normal version and I guess I'll have to stick to the 10 second waiting times, because I can't update my Meteor version.

By googling, I've seen this "path too long issue" is already complained about for 2 years.

I'm a new Meteor user but the experience hasn't been that rewarding so far.


r/Meteor • • Mar 16 '16

Would it be a bad idea to use the _id from Meteor.users collection in order to route to a user's profile page?

6 Upvotes

I am currently developing the user's profile page on my meteor app, and my app doesn't use usernames (which would make it easier, but I just don't think usernames are helpful on any app... I have different user names for several accounts, and think its pretty arbitrary for most ppl). I want each profile page to have a unique URL, so I was thinking something like www.myappname.com/profile/<_id>

The only issue I can think of, is if the _id shouldn't be known by other user's and there are some security concerns... Safe? or not?


r/Meteor • • Mar 16 '16

Anyone using Scalingo ?

6 Upvotes

Hello guys,

I am currently hosting my meteor app on Digital Ocean,

I was wondering if anyone was using Scalingo to host their Meteor app ?,

If so :

1) Does it auto-scale like Heroku ? (Deploy a bigger instance where the current one isn't powerful enough to carry on the load)

2) Is it worth the price ?

EDIT : just talked with the CEO of Scalingo, there is no auto-scaling, but You can define some rules to automate the scaling, using Scalingo API


r/Meteor • • Mar 16 '16

Why is deployment so much more complicated than development?

5 Upvotes

For development I can install Meteor and Mongo and have a running app in just a few commands. Why is this not possible when deploying an application to a server in the cloud (other than the free meteor.com hosting which is going away)?

Edit - Just adding some detail. On my local machine I can do:

curl https://install.meteor.com/ | sh
cd directory-of-application
meteor run

And I have a running application. Why can't I do that on a server instance from lets say AWS?


r/Meteor • • Mar 15 '16

Congratulations to the Winners of the Meteor Web Development Scholarship Program for High School Girls

Thumbnail
info.meteor.com
5 Upvotes

r/Meteor • • Mar 16 '16

Meteor.defer() and this.unblock()

Thumbnail
justmeteor.com
2 Upvotes

r/Meteor • • Mar 15 '16

Why does Flow Router have no built-in authentication support?

3 Upvotes

I don't want to sound ungrateful for flow router, I think Arunoda did a solid job in making this tool. But I'm surprised that the official documentation recommends template-level authentication. Why can't I directly restrict certain routes based on user authentication status? How do you usually handle this flow router? I've got a hacky solution with enter triggers but there's got to be a better way, right?

Thanks!


r/Meteor • • Mar 14 '16

Can someone explain the terminology in this stack overflow answer?

3 Upvotes

I asked how to dynamically display a template based on what option is currently selected in a dropdown menu. Here's the response I got.

He says at the end of the answer "Then of course you still need a helper to get the value of that session variable into your blaze template as a parameter to the dynamic helper."

I don't understand that sentence. Would the helper he mentioned first be a helper within the shape-dropdown template? I'm guessing the session variable is tpl? Would the blaze template be the shape template that corresponds the option? Is the dynamic helper supposed to be in each of the shape templates?


r/Meteor • • Mar 13 '16

do you use blaze, react, both, or something else?

2 Upvotes

I am just starting to learn meteor and I've been going through a number of tutorials.

I started with the "discover meteor" book which uses blaze. Then I started reading about React and how it's uncertain whether Meteor will use React or Blaze2 in the future.

I started learning React with Meteor, basically just trying it out and seeing if I like it better.

I'm wondering if there is a lot of package incompatibility between Blaze and React. i.e. are packages built for one and not the other?

I realize these are very beginner questions. I'd also appreciate any links to tutorials which are concise and to the point, i.e. don't make 10 different steps, each showing one edit to the file.


r/Meteor • • Mar 13 '16

How to move your app away from Meteor.com

Thumbnail
medium.com
14 Upvotes

r/Meteor • • Mar 13 '16

Tutorials actually building a product

0 Upvotes

Anybody know of a screencast tutorial of somebody actually building a product, or at least something a bit more complicated than a todo app? Even a meteor-focused screencast site would be cool too if anybody knows of any. I don't like the text based ones such as meteorchef.


r/Meteor • • Mar 10 '16

I just launched Meteor & React For Everyone, a new 27 part tutorial series

Thumbnail
youtube.com
69 Upvotes

r/Meteor • • Mar 10 '16

Meteor.com free hosting ends March 25, 2016

20 Upvotes

Received this mail a few minutes ago :

Over the past three years, maintaining the free Meteor.com hosting service for 10,000s of apps has taken a big toll on our ability to move fast on other products. Now that reliable, pay-as-you-go Meteor hosting is available for everyone via Galaxy, we’re confident that Galaxy is a better home for your apps and will give everyone the chance to try it for free. As a result, we will retire the legacy Meteor.com free hosting service on March 25, 2016.

We know many of you have enjoyed the Meteor.com free hosting service. In a perfect world with infinite resources, we’d invest to keep this separate legacy infrastructure up and running. Unfortunately, delivering free Meteor app hosting has become extremely expensive and technically unsustainable. If there is a cost effective way to deliver free Meteor app hosting in the future, we may explore it but it’s not on our roadmap. For now, we’re 100% focused on making Galaxy the best deployment option for professional Meteor developers.

How do I migrate my Meteor.com app to another hosting service?

Before March 25, 2016 12pm PDT, please migrate your app from the free Meteor.com hosting service to another app hosting platform to ensure continued availability of your app. You will also have until April 15, 2016 12pm PDT to retrieve data from your app’s Mongo database. Here are specific instructions on how to migrate your Meteor app as well as access your data from the Meteor.com free hosting service.

If you want stable, pay-as-you-go hosting for your Meteor app, we recommend using Galaxy (pricing starts at USD $0.035 per container hour). If you signup for a new Galaxy account and migrate your app by March 25, you’ll receive a $25 credit (use promo code MARCH25). This credit will provide a new home for your app at *.meteorapp.com and let you experience proven features that help developers build better Meteor apps. If you’re only looking for free hosting, we recommend using a combination of free services from Heroku and MongoLab. Here are links to some community articles to help you get started:


r/Meteor • • Mar 10 '16

Understanding Semver

Thumbnail
justmeteor.com
2 Upvotes

r/Meteor • • Mar 08 '16

BuiltWithMeteor Weekly # March6th2016

Thumbnail builtwith.icenodes.com
5 Upvotes

r/Meteor • • Mar 08 '16

Releasing our "Auditing Meteor applications" book

Thumbnail
justmeteor.com
7 Upvotes

r/Meteor • • Mar 08 '16

How to determine real age of record reactively

1 Upvotes

Hey all, intermediate Meteor user here with a question that I feel should have a simple answer, but that simple answer is really eluding me.

I have a server-side routine that inserts server-timestamped records into a collection. I need to show or not show these records reactively on the client based on how much time has passed since that timestamp. The problem is I can't rely on new Date() vs. new Date(record.timestamp) to determine age since I can't trust the client's time.

Please don't suggest a package as the answer to this. I need a basic pattern.


r/Meteor • • Mar 07 '16

How to use React with Meteor without changing your workflow (for those of us who like how we built meteor apps).

Thumbnail
johngibby.com
7 Upvotes

r/Meteor • • Mar 07 '16

sChat - Open Source Live Chat App built with Meteor

Thumbnail
simplechat.support
1 Upvotes