On May 29, 9:27 am, Martin Wawrusch wrote:
> I guess I am going to blog about this once I have a bit more time.
>
> In general my observation with websites and javascript is that you have lots
> of code that applies to all pages if you structure it right (usage of class
> names in css), and very f
I guess I am going to blog about this once I have a bit more time.
In general my observation with websites and javascript is that you have lots
of code that applies to all pages if you structure it right (usage of class
names in css), and very few pages that have intense, page specific code. The
p
>class UserSearchView extends Backbone.View # or controller
> ...
> initialize: ->
>here goes your page specific initializers
>
>$ ->
> window.currentView = new UserSearchView if $(´body.users.search').length >
>0
This solution looks interesting, and it also looks potentially
dangerous. I'
On May 29, 8:53 am, Martin Wawrusch wrote:
> Depending on the kind of site you might want to use mvc views through
> backbone or something similar and launch specific views depending on the
> current page, something like so:
>
> html:
> body class=´users search_page´
> ...
>
> and in your coffeesc
Depending on the kind of site you might want to use mvc views through
backbone or something similar and launch specific views depending on the
current page, something like so:
html:
body class=´users search_page´
...
and in your coffeescripts (you do use coffeescript :P)
class UserSearchView ext
Hi again :)
Glad it all worked for you. Even if you didn't migrate right now, it would
be a good learning experience (upgrading rails version of production site).
So it's a win win situation basically. Don't know the answer to your JS
problem, maybe somebody else might help on that.
2011/5/29 ege
On May 29, 8:28 am, Gintautas Šimkus wrote:
> If you see a lot of improvements that you personal would use in 3.1 over
> 3.0.7, then you should think about switching. Another thing to consider is
> deadlines, as upgrading will push the moment you are ready to go to
> production further. You yourse
On May 29, 8:12 am, egervari wrote:
> Well, I got most things to work. I just have to figure out my assets
> now. I made the folders and organized them. Now it's time to get them
> to work ;)
Yay, I got the css to work. I had a circular dependency since I had 2
main stylesheets - one for the publ
If you see a lot of improvements that you personal would use in 3.1 over
3.0.7, then you should think about switching. Another thing to consider is
deadlines, as upgrading will push the moment you are ready to go to
production further. You yourself raised a great question: will all the gems
work wi
Well, I got most things to work. I just have to figure out my assets
now. I made the folders and organized them. Now it's time to get them
to work ;)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rub
10 matches
Mail list logo