URLs and Routing

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!

1 Like

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

3 Likes

similar to this:

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

4 Likes

Amen! Amen!
Need subdomainsā€¦

1 Like

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

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

Kind of a similar conceptā€¦

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.

1 Like

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.

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.

1 Like

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.

1 Like

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

/j

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

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

@aadams
Thanks. Iā€™ll be watching this project. Great initiative!!

2 Likes

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.

1 Like

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:

2 Likes

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

1 Like

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.

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