RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: 9mm
When would you use this vs cache_digests?
awesome, was just wondering that.
I have so much difficulty trying to pick which one to learn... ember, angular, or backbone....
I honestly have no idea, and each thing I read about it further makes me indecisive.
If I had to pick one at this moment, I guess I would choose angular. any thoughts?
See TodoMVC to help you decide.
I see, that makes a lot more sense, but still, funnily enough I still cant think of many apps I use that are 'single page' aside from gmail. Most apps I like seem more like websites, and model stack overflow more.
I'm sure angular would work fine for a 'website' (as you put it) but are there any JS frameworks more intended for websites rather than one page apps?
I would hope it wouldnt limit it. But it goes beyond just a 'hint'.. i mean a lot of places i read it pretty explicitly says "for one page applications". And ive seen it written more than just here or there. It's pretty much every where I look
I have yet to learn one of these framework (which I want to), but one thing I find odd is that in almost every tutorial or even the docs, it emphasizes "for a single page app".
When was the last time you ever made a single page app? What does that even mean? My apps span many many many pages, and could hardly be seen as some kind of single page calendar or todo list or something.
What am I missing here?
This would brie exactly what I was looking for, I was just thinking about how to do this on another app. I think stripe does this, seems great from usability perspective
Can someone explain more completely how this is different from PJAX? I hear everyone say "turbolinks is such a bad idea", although they offer nothing constructive. Is PJAX not a bad idea? I mean github uses it so it can't be that bad... If PJAX is fine, could they not implement it in the same way so it isn't "so bad".
Would there be any gotchas when doing this with sensitive links that show up or remain hidden depending if a user is an admin or not?
I would love to know about validations, that's where I had difficulty. Particularly say if the task must be over 5 characters long, how do you show that error by inserting it dynamically into the original create form.
That's been deprecated. Use .on() or .off() if you can.
Thanks so much.. i was having anxiety attack with massive codebase thinking about re-adding all those as new methods :S
Props on keeping your cool. I do terrible in those situations.
have you tried prawn?
wow awesome. how was that conference?
how do you like it?
How do you make it so when they edit their profile they don't need to put in their password to save changes? I have tried looking around to no avail for some time.
so... is it just me or did anyone else see subliminal message flashing at about 6:25?
dude your comments are hilarious, i just looked at your profile
Id love to know as well.. the back button is problematic
Just had to give a thumbs up to the first ever episode