Yeah. HTML5 Boilerplate is the mother of it all. ![]()
It’s created by Paul Irish, one of the main Chrome devs. IIRC, he’s their dev relations guy.
Yeah. HTML5 Boilerplate is the mother of it all. ![]()
It’s created by Paul Irish, one of the main Chrome devs. IIRC, he’s their dev relations guy.
I think Yii2 needs a CSS framework that is fairly complete so that all demos and tutorials can focus on the glue between the backend and frontend where Yii really shines. So +1 for Twitter’s Bootstrap. It’s mature and feature rich and will serve it’s purpose.
I tried both Foundation 2 and Bootstrap (v1 and v2). Bootstrap has a lot more to offer and it feels more mature than Foundation although I think the fluid grid system of Foundation is way better (and I personally consider responsive layouts to be a really important feature). But with 26000 followers on Github I assume that more people are using (and therefore also testing) Bootstrap than Foundation (3500) which tends to lead to a more robust code base. Anyways, Foundation 3 is coming out in a few weeks and it will be much more focused on better design, so let’s see what they come up with.
btw.: Someone came up with the argument that using Bootstrap will lead to a lot of sites looking the same. Seriously, that can’t be an argument against a CSS framework
If people are too lazy to add their own CSS all Yii sites would look the same anyway, regardless of the framework behind.
I’ve also now used foundation2 and bootstrap2 and as much as it pains me to say it, I agree, bootstrap is now a better candidate for the default theme. It really does offer a lot of useful features that are missing in foundation, especially things like dropdown menus, forms etc. I find foundation slightly easier to work with and I agree, the responsive grid is a lot nicer, but at the moment it’s seriously lacking compared to bootstrap2. I think the only really useful thing that came out of that flamewar was that what ever the default is, it should be optional.
![]()
No real chat has gone on about how this would be implemented and whether an adapter interface can/will be used. I agree with the optional side however.
Welcome to the light side of the Force ![]()
Since Foundation still has a better grid than Bootstrap, I’ll choose the former over the latter any time.
That it doesn’t bundle as many things as Bootstrap does is actually a good thing IMO.
Foundation does have menu - even with dropdown - and it’s easier to customize than Bootstraps menu.
Much of what Bootstrap bundles I use already, just from third parties.
What’s the big deal?
Do you want a one-stop shop? ![]()
@jacmoe - The real, overwhelming factor is going to be themes. I think over the next few years we’re going to see a huge rise in the number of bootstrap themes. Bootstrap themes will become as popular and as common as wordpress themes, if not more so because they’re cross platform. This is going to be bootstrap’s main advantage. Unless some more big companies get behind foundation, it will never gain the momentum and mindshare of bootstrap. There will never be an eco system around foundation. It’s a dead horse in the race at this point, even if it’s technically superior in some ways. Yii2.0 should use the “industry standard”, jQuery is the industry standard javascript lib, bootstrap is now the industry standard css framework, like it or not.
Don’t be ridiculous.
I think Bootstrap will be fine.
This will help to rapid develop web 2.0 appliaction with Yii 2.0. Every one is switching to web 2.0.
Which part did you find ridiculous?
Of course.
One consistent toolkit (Bootstrap) VS Many heterogeneous components (Foundation + 3rd party components).
Moreover, if the problem is the grid (which is pretty good in my opinion), it’s easier to use Bootstrap (which is very modular) with a different grid, than using Foundation + many 3rd party components to fill the Foundation lack of components.
It is indeed ridiculous to say that Twitter Bootstrap is the Industry Standard CSS Framework.
Not only ridiculous, but bollocks too. ![]()
It would be equivalent to saying that Git is the Industry Standard Versioning System, or that Ruby On Rails is the Industry Standard Web Development Platform.
Twitter Bootstrap is Okay, I guess…
What is industry standard is CSS2, CSS3, HTML5 - and so on.
If you want standard, why the heck is Twitter Bootstrap using LESS ![]()
When Sass/Compass is more widely used?
It’s the default CSS framework for RoR. ![]()
That is an equally ridiculous statement, this time made by me.
I am not saying that you are ridiculous however. ![]()
It’s just this whole debacle about Bootstrap from Twitter…
It’s getting really religious.
It’s like listening to Git fanatics or RoR zealots.
Intolerable! ![]()
Jacmoe - what would you say the “industry standard” responsive CSS framework is then? Bootstrap has the greatest mindshare, that is all I’m talking about here. By your definition, jQuery would not be industry standard either.
Remember that until about a week ago I was arguing on your side, for foundation. It’s only when I actually used bootstrap that I saw the benefits and the future potential, have you used both enough that you can make a fair judgement?
I think the original reasons for preferring foundation (e.g. responsive grid etc) have been negated by the improvements in bootstrap 2.0
I prefer to make use of best practices instead of relying on an in-house bootstrap framework to ensure a consistent look across Twitter’s internal webapps.
Incorporating minimal and simplified elements like drop down menu, buttons and whatever - for convenience sake.
If you are satisfied with what Bootstrap provides, then by all means: use it.
You cannot yet talk about an industry standard when it comes to responsive web design - because the industry haven’t yet come up with such thing.
The whole thing is in it’s infancy - browse around for articles on the subject of RWD.
JQuery is a general purpose Javascript library. That’s different. It’s extremely versatile.
And it has been around long enough.
Can I name a CSS framework that I use?
Yes: Sass and Compass. ![]()
It rocks.
I can write semantic css which again means that I can drop in whatever css grid I want - even generate my own at runtime using Susy for Compass.
CSS3, my friend. ![]()
With a little help from Modernizr and HTML5. ![]()
CSS3 : PHP5 = <css framework> : Yii
We cannot refer to anything as ‘the industry standard’ until the industry has agreed on a standard. ![]()
![]()
CSS3 + modernizr + html5boilerplate != Responsive CSS framework.
Jacmoe - I think you’re being a little strict with your definition of “industry standard”. How about this:
I’m building a web application based on Yii. I want to choose a responsive CSS framework, whatever my choice it should be well known and widely used so that it’s easy to find people who can work with my system. What is the pragmatic choice? I would say at this point the answer is Bootstrap, and that is why it should be the default for Yii2.0.
Yes, it’s very convenient.
I would probably choose a responsive version of 960.gs - that is pretty much the ‘industry standard’ in css grid systems.
Choosing Twitter Bootstrap is your decision, and not a bad one - but it would IMO be very limiting if that was what Yii shipped with.
Then Blueprint is better because it’s flexible and doesn’t force anything on you: it provides a grid and some sensible default css ‘settings’.
Bootstrap is more like a small starter kit.
IMO.
<trolling>((Saying that Twitter Bootstrap is the ‘industry standard’ for css frameworks, is like saying that Trabant is the industry standard for cars…
))</trolling>