thoughtbot / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 206 forks source link

RFE: Integration with Ember FastBoot #433

Open wireframe opened 8 years ago

wireframe commented 8 years ago

I'm not sure how to integrate w/ fastboot yet, but wanted to get the ball rolling on ideas and possible implementations.

seanpdoyle commented 8 years ago

@wireframe thanks for your interest.

While at EmberConf, I discussed this with several members of the community.

To be frank, we're not really sure of the best way to integrate the two.

We've considered an approach where we use the ember build-based File deployment strategy in development and testing, then a proxy-like "Deployment" strategy in production that could forward requests made to the Rails server to the Fastboot server.

This idea feels like a stretch, since once you have to manage two separate git-based deployment processes (assuming you're deploying FastBoot to something like Heroku), as well as abandon development-production parity, the value and convenience of ember-cli-rails becomes less compelling.

Luckily, this doesn't spell trouble for all apps, only those that would benefit the most from FastBoot.

We'd love to hear some of the community's feedback and ideas on this one, so thanks for opening a channel to do so.

ivanjolic95 commented 7 years ago

Is there any progress on this?

nruth commented 6 years ago

Proxying sounds good.

I was thinking of something like the lighting-deploy technique, but grabbing the index page from fastboot rather than redis.

Ideally the fastboot server would be on the same dyno (performance m/l) to avoid network latency but it seems there's no good/popular way to co-locate processes in a heroku dyno nor run modern js apps in ruby?

Motivation wise, being able to search index pages swapped from rails to ember without having to rebuild both apps' authentication systems would be nice to have.

shrikanthkr commented 4 years ago

I have found ember-cli-rails to be most useful while integrating with rails. But am trying to use it with SEO in one of my projects. Are there any options that I can try out if not fastboot? Any heads-up would be of much help.

afomi commented 4 years ago

I'm also curious about this. Are there SEO strategies with ember/ember-cli-rails? Is fastboot a valid way?