Yii Framework Forum: New To Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New To Yii questions about yii Rate Topic: -----

#1 User is offline   Zibnimer 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 12-November 12

Posted 13 November 2012 - 10:29 AM

New to yii, I did Windows Development in Delphi for 20 years. Now learing yii….

What UI extension has the most gui features?
Can yii handle pages like classified ads? For example, when one page could have many blocks like “recent ads”, “most popular’, blabla.
Can those blocks be separate views and include them in main view?.

Thx
0

#2 User is offline   yugene 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 511
  • Joined: 08-August 09

Posted 14 November 2012 - 04:09 AM

Hi Zibnimer,


For page blocks you may use widgets. There're also clips, partial view render , content decorator, so you'll easily form your pages.

As for UI, you may implement any css framework (bootsrtap, foudation) or one of yii-extensions based on them. For example, http://www.yiiframew...nsion/bootstrap is quite popular.
Also, there're yii-adapted jquery-ui tools, just go to http://www.yiiframework.com/doc/api and type CJui into search input to check them all.
0

#3 User is offline   Zibnimer 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 12-November 12

Posted 14 November 2012 - 10:21 AM

Thank you Yugene for the feedback,

This is very good to know. Bootstrap seems nice, it will cover most of my GUI needs.
0

#4 User is offline   yugene 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 511
  • Joined: 08-August 09

Posted 14 November 2012 - 11:12 AM

Welcome :)
Yeah, I myself use Bootstrap more and more often.. It's very useful and handy.


0

#5 User is offline   Zibnimer 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 12-November 12

Posted 14 November 2012 - 12:05 PM

Thanks.

I see 2 Boosts thingy.. They seem the same, but when I dig in inside they seems different!

YiiBooster
http://yii-booster.c....biz/index.html


Bootstrap
http://twitter.githu...trap/index.html
(not sure if this one has datetime pickers, .... )
0

#6 User is offline   luc 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 211
  • Joined: 22-June 10
  • Location:france

Posted 14 November 2012 - 12:18 PM

Hi

http://twitter.githu...trap/index.html is the source of the bootstrap toolkit developped by Twitter.

Yii-booster is an adaptation of all the bootstrap tools (css stylings and javascripts functionnalities) plus some extra additions in the Yii's way, mostly as widgets (and CWidget subclasses)
Hey Ho !
Let's go !
0

#7 User is offline   Zibnimer 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 12-November 12

Posted 14 November 2012 - 01:31 PM

Thanks you guys.

I wish there is a demo that shows how to implement their grid using live data (from mysql db) and how to use it in control, model and view.
0

#8 User is offline   luc 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 211
  • Joined: 22-June 10
  • Location:france

Posted 14 November 2012 - 01:42 PM

bootstrap is mostly a css toolkit => it decorates, quiet well I have to admit, your forms, tables and so on. So If you use Yiibooster (or bootstrap extension from Chris83) and if you want to show your data in a grid (saying in the admin view grid as generated by gii), instead of using
$this->widget('bootstrap.widgets.CGridView', array(...
you will use (with YIIBooster)
$this->widget('bootstrap.widgets.TbExtendedGridView', array(...

Hey Ho !
Let's go !
0

Share this topic:


Page 1 of 1
  • 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