Embedded CSS Framework

Chuntley: I use YiiBooster to produce backend interfaces really quick.

And then for the frontend I often use something else entirely. (meaning: not Bootstrap).

There is not really a conflict between Bootstrap in Yii and your own custom CSS. You can shim it easily, if you decide to use the Yii widgets.

However, I figured out that it is indeed really straight forward to customize Bootstrap. So I don’t have any reasons to be against it.

It will work, even for the front end, also without looking like stock Bootstrap.

I have used Bootstrap for several projects and will continue using it, but like you mentioned it is not a one-fits-all solution. There are some cases where it is much more of a pain to work with, especially when you have to start removing styles. That is why I’m chiming in saying that the CSS framework that is bundled with Yii should be something so simple and basic that it can be built up into anything.

After looking at the Bootstrap configurator it looks like there is a happy medium here. By disabling everything other than scaffolding, we are back to a solution that is very similar to what Blueprint accomplished. A small, simple CSS stylesheet with no javascript and few styles (I’m going to try this out for a new project I’m working on).

You should learn to discuss about the subject, not about me.

Glad to see you’re improving your knowledge.

I have different opinions and concerns than you, and want to contribute to this discussion. With that said, how about you let the adults talk now?

I went to the blueprint site, saw how horrible it was and basically left. yes I judged the book by its cover.

I then went and installed bootstrap last night and have so far started playing with it. Only doing scaffolding at the moment but not having any major issues with it and finding that to customize it isn’t a huge problem either. Will keep you updated.

Another one: http://groundwork.sidereel.com

nice one :lol: thanks for sharing

Great! Looks like Foundation on steroids.

Just a few days more … and Foundation 4.0 is released :)

Foundation 4 is out. :)

Edit: and it looks like the Zurb server is being hammered.

I thought that Yii2 should be prepared to be easy upgradable between css bootstrap (or else) version,

Thats the good to be adaptation of third party improvement,

like the newest version jquery deprecated the .live event

I think that can be handled via different app templates.

@jacmoe: Create a pull request with a zurb app here https://github.com/yiisoft/yii2/tree/master/apps - and you’ll get famous, more than you are already ;)

Will do, Schmunk. :)

Great suggestion.

I like Foundation, but vote for Bootstrap, since it more famous and have more features (jquery widgets, etc).

I am still voting for no CSS framework in the core.

We aren’t adding it to the core. Application templates only and, maybe, gii.

With Yii2, would it be possible to add Gii templates to the template?

That would make sense, right?

I mean, for whatever framework that particular app template is using there is bound to be certain markup that is specific to it.

The migration script already looks in ‘migrations’ - why not let gii look in ‘templates’ ?

What do you mean with "templates", just static views? Because the current CRUD generators for example also include some logic.

And just to keep this thread up to date: http://purecss.io/

Dropdowns are skewed in chrome under linux :unsure: