This tut shows a combined approach:
http://blog.berylliumwork.com/2012/09/tutorials-on-angularjs-and-rails-2.html?view=classic
(Don't forget to download angular-resource and require it in
application.js. Other than that, everything worked.)
I'm fiddling with it right now, because I don't reall
Do you disable Rails routing somehow when using client-side routing?
On Thursday, 4 April 2013 14:31:09 UTC+2, tamouse wrote:
Absolutely, you can go so far as to have your SPA initial download be a
> static index.HTML in ../public, and just have your routes speak JSON to the
> Angular requests.
I've initially made a HomeController that serves the initial index view
(with it set as the root in routes) but I think I like the /public way
better.
Thanks for the idea!
On Thursday, 4 April 2013 14:31:09 UTC+2, tamouse wrote:
Absolutely, you can go so far as to have your SPA initial downlo
On Apr 4, 2013, at 8:31 AM, tamouse mailing lists wrote:
>
> On Apr 4, 2013 7:20 AM, "Johan Vauhkonen" wrote:
> >
> > Is it a viable alternative to separate client and back end?
> >
> > To have AngularJS take care of everything client side and Rails take care
> > of only the back end?
> >
>
>
On Apr 4, 2013 7:20 AM, "Johan Vauhkonen" wrote:
>
> Is it a viable alternative to separate client and back end?
>
> To have AngularJS take care of everything client side and Rails take care
of only the back end?
>
Absolutely, you can go so far as to have your SPA initial download be a
static ind
Is it a viable alternative to separate client and back end?
To have AngularJS take care of everything client side and Rails take care
of only the back end?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group a
On Apr 4, 2013 1:35 AM, "Johan Vauhkonen" wrote:
>
> I think for me, using Sinatra would mean I'd have to write a lot of
things that Rails bring which I don't want to
Agreed; we were talking alternatives and for his needs, he really only
needed the pipeline.I was just trying to illustrate that st
I think for me, using Sinatra would mean I'd have to write a lot of things
that Rails bring which I don't want to.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
On Tue, Apr 2, 2013 at 8:43 AM, Johan Vauhkonen
wrote:
> I'm planning on creating a single page application using AngularJS on the
> client side.
>
> I'm not sure if I should use Rails as it is, or the Rails API gem or some
> other solution.
> Anyone got any suggestions on how you structured your
I'm planning on creating a single page application using AngularJS on the
client side.
I'm not sure if I should use Rails as it is, or the Rails API gem or some
other solution.
Anyone got any suggestions on how you structured your application?
Should I be using the asset pipeline? Or should all
10 matches
Mail list logo