Yii Framework Forum: Embedded CSS Framework - Yii Framework Forum

Jump to content

  • (10 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Embedded CSS Framework Blueprint ?

#1 User is offline   tydeas_dr 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 158
  • Joined: 16-April 10
  • Location:Greece

Posted 27 January 2012 - 05:15 AM

Will the blueprint be the default CSS Framework for the Yii 2.0 ?
Are there any thoughts of switching to something else?

This post has been edited by tydeas_dr: 27 January 2012 - 05:15 AM

Follow me on twitter @dmtrsslvdr
Check my *new* blog @ tumblr
0

#2 User is offline   phpnode 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 141
  • Joined: 18-April 11

Posted 27 January 2012 - 05:27 AM

This has been brought up before, see the thread on standardizing ui components.

Short answer is - hopefully not blueprint because even the author of blueprint has abandoned it. It's probably a toss up between Zurb's Foundation and Twitter's Bootstrap
0

#3 User is offline   tydeas_dr 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 158
  • Joined: 16-April 10
  • Location:Greece

Posted 27 January 2012 - 05:33 AM

Thanks phpnode
Follow me on twitter @dmtrsslvdr
Check my *new* blog @ tumblr
0

#4 User is offline   rookie84 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 114
  • Joined: 16-November 11

Posted 30 January 2012 - 06:37 AM

Twitter's bootstrap would be nice..
0

#5 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 01 February 2012 - 12:34 AM

Bootstrap would not be nice.. because the grid of Foundation is much better.
The last time I checked, the Bootstrap grid was not responsive.
Maybe that has changed by Bootstrap 2 ?

The problem is:
Bootstrap is 'more complete', but it is created to ensure a uniform look between applications and is thus difficult to customize.
Foundation is not as complete - whatever that means - but is made to make sure that it's easy to customize the look to different applications.

It makes sense if you view Bootstrap as Twitters internal web framework which is made to ensure a uniform look across all Twitter applications, and see Foundation as ZURB's web framework which they use for all kinds of client work.
"Less noise - more signal"
2

#6 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,016
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 01 February 2012 - 08:04 AM

FYI bootsrap 2.0 was released today: http://twitter.github.com/bootstrap/

I've never looked at foundation but found it very easy to integrate bootstrap with some of yii's components (main menu, gridview, ...). It made my backend look much nicer in no time.
1

#7 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 01 February 2012 - 08:07 AM

Maybe it's better to continue in the already opened thread http://www.yiiframew...tandardization/
Yii user #37
1

#8 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 11 February 2012 - 03:44 PM

Ultimately the decision is up to the Yii team.

But, while Bootstrap is great - especially 2.x - it is a framework, not a foundation.

Which again makes ZURB Foundation rise to the top of my wishlist.
It is a foundation upon which we can build.
Bootstrap is really great, but it is more like an end-product than it is a foundation.

Take a look at this page:
http://foundation.zu...prototyping.php
It is exactly what I would want from a Yii generated app: easy to flesh out a wireframed prototype, for just about any type of site.

Ideally, it should be possible to use both, if designed right.

But, Foundation would also mean that Yii would ship with a smaller framework.
"Less noise - more signal"
2

#9 User is offline   sensorario 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,987
  • Joined: 07-September 10
  • Location:Cesena (Italy)

Posted 22 February 2012 - 09:39 AM

Hey! And this?
http://addyosmani.gi...y-ui-bootstrap/
1

#10 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 25 February 2012 - 08:27 AM

View Postsensorario, on 22 February 2012 - 09:39 AM, said:


It's just a Bootstrap-like skin for jQuery UI.

View Postekerazha, on 01 February 2012 - 08:07 AM, said:

Maybe it's better to continue in the already opened thread http://www.yiiframew...tandardization/

Yii user #37
0

#11 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 25 February 2012 - 03:56 PM

The 'already opened thread' really has little to do with the topic. :)

Okay, my thoughts on Bootstrap versus Foundation:

If we want Yii applications to look like a lot of other web applications, then the team could play it safe and go for the 'most popular' framework: Bootstrap.

Or the Yii team could go for something different, like Foundation, which again makes it possible to give Yii applications that little extra touch of Yii-ness.

Speaking of popularity: Foundation comes as a Ruby gem (sass module) - and Sass/Compass is definitely more popular (and powerful) than Less. Because that has become the default CSS framework for RoR.
Nothing wrong with Less, but it's not as widely used (yet) as Sass/Compass - for good reasons.
And you can get a stand-alone tool for Sass/Compass too, if you prefer not to install Ruby and/or use the command line.

I won't beat this dead horse again - that was my final cents.8)

"Less noise - more signal"
0

#12 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 25 February 2012 - 05:17 PM

View Postjacmoe, on 25 February 2012 - 03:56 PM, said:

The 'already opened thread' really has little to do with the topic. :)

It's the same topic of conversation, the author of the 2nd message (phpnode) realized this too. This thead should be merged to the other thread.

However, as I've already explained in the already opened thread, Bootstrap 2 isn't less customizable than Foundation and it has some advantages over Foundation (which is also good though).
Yii user #37
0

#13 User is offline   manuel-84 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 06-December 11
  • Location:Sardinia

Posted 14 March 2012 - 09:48 AM

Please consider the Yii-Bootstrap extension using Bootstrap 2
0

#14 User is offline   mmx 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 20-June 11
  • Location:Virginia Beach, VA USA

Posted 16 March 2012 - 05:57 AM

There are a number of HTML5-CSS3 frameworks out there aside from Foundation and Bootstrap, some of which offer dedicated or optional support for jquery, SASS, LESS and other Javascript frameworks.

http://skytechgeek.c...webdevelopment/

http://www.1stwebdes...ools-templates/

Boilerplate looks very interesting, supports jquery, mobile agents, and can be built for distribution in standard or custom formats.

http://html5boilerpl..._US/docs/usage/

http://html5boilerplate.com/docs/

http://weblogs.asp.n...oilerplate.aspx
0

#15 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 16 March 2012 - 11:32 AM

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.
"Less noise - more signal"
0

#16 User is offline   knut 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 45
  • Joined: 10-October 08
  • Location:Notodden, NORWAY

Posted 16 April 2012 - 03:26 AM

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.
0

#17 User is offline   Haensel 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 444
  • Joined: 14-January 11
  • Location:Vienna (Austria)

Posted 16 April 2012 - 03:43 AM

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.
3

#18 User is offline   phpnode 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 141
  • Joined: 18-April 11

Posted 16 April 2012 - 04:52 AM

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.
0

#19 User is offline   Jaggi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 90
  • Joined: 05-September 11

Posted 16 April 2012 - 05:19 AM

View Postphpnode, on 16 April 2012 - 04:52 AM, said:

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.
See my development site @ www.CodeTheInter.net (BETA)

Posted Image Posted Image

Quote

If you make it idiot proof, they'll build a better idiot
0

#20 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 16 April 2012 - 05:41 AM

View Postphpnode, on 16 April 2012 - 04:52 AM, said:

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.


Welcome to the light side of the Force :D

Yii user #37
0

Share this topic:


  • (10 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users