URLs and Routing


#1

This is the comment thread for an article in the Meteor Guide.

Read the article: http://guide.meteor.com/routing.html

The comment thread for each article appears at the very bottom of the page. Use this thread to post:

  1. Interesting articles related to the content
  2. New ways to do things that aren’t covered in the Guide
  3. Suggestions for Guide improvements

Or anything else related to this topic that people could find useful!


#2

Would be really nice to have a section about how to work with subdomains on Meteor in the guide.


#3

similar to this:

Would be helpful especially if MDG is targeting enterprise apps… 70% probably need some version of this


#4

Amen! Amen!
Need subdomains…


#5

If anyone has any good ideas about subdomains, we’d be happy to see a contribution to the guide about it!


#6

Actually…he managed to get a lot done Uploaded 18 meteor apps to single VPS - and it works! :)

Kind of a similar concept…


#7

Is the official recommendation still flow router. Project seems stale? Last commit was in april and for the longest time there has been no ping from Arunoda or others.

In forum theres topics like this:

Im unsure about which router to to use in next project.


#8

Honestly routers are not that complicated - I’m not sure what it even means for a router to be “stale”. But you can apply similar reasoning to react router etc.


#9

Are you starting your project with Blaze or React as a view layer? If it’s the former - go with FlowRouter, it’s stable and proven (even if it doesn’t receive much updates lately, I never ran into any issue with it). If it’s the latter then probably React Router is the way to go.


#10

Also, I’m trying to revitalize FlowRouter via FineRouter. So, PRs and contributors are welcomed.

And I agree, if going React, then at least look at ReactRouter (although FineRouter works with React of course), otherwise FineRouter or FlowRouter is what to use.


#11

Thanks sashko. Router is not stale *) but project seem to be :smiley:

/j

*) http://www.dictionary.com/browse/stale


#12

@M4v3R
Im going with Blaze so FlowRouter it is then. Thank you!

@aadams
Thanks. I’ll be watching this project. Great initiative!!


#13

Hello @sashko ,

It wouldn’t be a news if I say kadira:flow-router mentioned in this guide is outdated and unmaintained now.
Will it be okay with you and MDG if I send a PR to add ostrio:flow-router-extra as the alternative (or replacement) to kadira:flow-router? It’s already mentioned in the Blaze routing docs.


#14

Recently released meteor@1.5 brought great performance enhancements and dynamic import(..), we’re happy to introduce dynamic per route import(..).

Our test app, which was ~4MB, using dynamic import(..) - only ~800KB!
Try it now and do not hesitate to share your story :slight_smile:


#15

I think this would be great especially if it comes with patterns for dynamic module loading!


#16

Hey there,

I’m trying to render an external link using a normal link tag.

Any link that I have automatically prepends a local route. If I just print the same dataUrl on the screen, the local route is not prepended.

I can write a hack that tells the Router to go externally, but for SEO this is horrible that I can’t have a regular link in the page. It creates unintended nofollow that I need to get past.


#17

Nevermind I was being dumb. If I have https or http appended then they route fine.