I am all for grids as a tool in graphic design and architecture ( http://www.slideshare.net/huer1278ft/grids-are-good-right), but why some people see the need to transfer them programatically onto their HTML and CSS is beyond me.
I would actually argue that the look of scaffolding should be made even simpler, ie. http://motherfuckingwebsite.com/. Forcing front-end libraries onto a developer is, in my humble opinion, like insulting his or her intelligence. As they say, "perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away". Frank 2014-10-15 20:46 GMT+02:00 Robert Evans <rob...@codewranglers.org>: > I like the idea of creating a better presentation for the scaffold, but > not by using a 3rd party framework or library. > > > However, one could make some minor changes to the scaffold code so if a > developer were to add bootstrap, foundation, or whatever framework to their > project, the generated scaffold code would automatically have it's styles > enhanced by the added framework. > > > Robert > > > > On Oct 15, 2014, at 11:27 AM, Nicolas Cavigneaux <n...@bounga.org> > wrote: > > > > > > Le 15 oct. 2014 à 19:57, Claudio B. <claud...@gmail.com> a écrit : > > > >> One way to achieve this goal would be to simply change the existing > scaffold.css.scss to have better styles. > >> However... why reinvent the wheel when we can achieve something nice > using Bootstrap CSS? > >> > >> What I suggest is that scaffolded views can simply point to the > CDN-hosted Bootstrap CSS and then have a simple HTML structure that makes > for better and responsive views (e.g., adding a <div class="container">). > > > > I like the idea of having a nicer scaffolding, I agree that the existing > one looks outdated and ugly but I'm really against including a CSS / Grid > framework because Rails must not do this choice for the developer. > > > > Remember the old time where prototype was the only supported JS > framework out of the box. Most of Rails developer switched to Prototype > even if they had a preference for another framework. I don't like when a > framework promote other frameworks without real good reasons. > > > > Pointing to a CDN isn't a good idea either since it's will exclude > offline development. > > > > So to sum up, yes I'd really like to see better scaffolds but to do this > we need to find a way to provide choices / options to the user. Maybe he > could choose (using command-line options or a gem) if he want to use > bootstrap or foundation or something else. Maybe we should only provide a > better default CSS file. I don't know which solution would be the best but > I'm sure using Bootstrap (and a CDN!) by default is not the good one. > > -- > > Nicolas Cavigneaux > > http://www.bounga.org > > http://www.cavigneaux.net > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Core" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to rubyonrails-core+unsubscr...@googlegroups.com. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > > Visit this group at http://groups.google.com/group/rubyonrails-core. > > For more options, visit https://groups.google.com/d/optout. > > ========= > Robert Evans > Code Wranglers, Inc > > http://www.codewranglers.org > http://www.github.com/revans > http://www.linkedin/in/rrevans > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.