Do you build JavaScript heavy apps with Rails on the backend? How could Rails serve you better?
-
-
Replying to @steveklabnik
@steveklabnik something like sprockets-commonjs by default, but not forcing you to require everything twice1 reply 0 retweets 0 likes -
Replying to @googleninja
@googleninja 'not forcing you to require things twice?'1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik sprockets-commonjs wraps all .module files with a simple dependency loader, but you still need //= require so the AP sees it1 reply 0 retweets 0 likes -
Replying to @googleninja
@googleninja why is the dependency loader better than sprocket's mainfest stuff?1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik a) no global vars, b) eliminates script ordering, since definitions are only run on demand (then memoized)1 reply 0 retweets 0 likes -
Replying to @googleninja
@googleninja doesn't the manifest already do ordering?2 replies 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik that’s the thing, you don’t need ANY ordering with commonjs1 reply 0 retweets 0 likes
@googleninja oh, sorry, you said eliminates
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.