Yii Framework Forum: Jquery Mobile + Yii - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Jquery Mobile + Yii

#21 User is offline   ekerazha 

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

Posted 19 June 2012 - 08:22 AM

I think that Yii is going to use Bootstrap 2 and a responsive approach to mobile browsing.
I hope they will also move jQuery UI out of the core (as it overlaps with many Bootstrap components).
Yii user #37
0

#22 User is offline   jacmoe 

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

Posted 19 June 2012 - 09:07 AM

jQuery UI is not part of the core.
How many times does this need to be pointed out?

The highly optional Zii components does use JQuery UI, but that won't be a problem since you won't be using those when you're using the Bootstrap components, am I right?

Yes, the team went with the most popular web development template right now, aka Bootstrap from Twitter.

I guess we can live with that. ;)
"Less noise - more signal"
0

#23 User is offline   Vedran 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 02-June 11
  • Location:Sarajevo

Posted 19 June 2012 - 09:23 AM

 jacmoe, on 19 June 2012 - 09:07 AM, said:

jQuery UI is not part of the core.
How many times does this need to be pointed out?

The highly optional Zii components does use JQuery UI, but that won't be a problem since you won't be using those when you're using the Bootstrap components, am I right?

Yes, the team went with the most popular web development template right now, aka Bootstrap from Twitter.

I guess we can live with that. ;)


Awesome! I knew that you will somehow solve the issue. :)) Thaaaanks for that. I've heard they've (Tweeter Team) done pretty good job with Bootstrap. Together with Yii it would be an awesome combination.
0

#24 User is offline   jacmoe 

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

Posted 19 June 2012 - 11:25 AM

They did a great job in creating a small starter framework made to ensure a consistent look and feel across all their internal apps.
And then it was released to the public horde. ;)
"Less noise - more signal"
1

#25 User is offline   ekerazha 

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

Posted 19 June 2012 - 05:08 PM

 jacmoe, on 19 June 2012 - 09:07 AM, said:

jQuery UI is not part of the core.
How many times does this need to be pointed out?

The highly optional Zii components does use JQuery UI, but that won't be a problem since you won't be using those when you're using the Bootstrap components, am I right?

Yes, the team went with the most popular web development template right now, aka Bootstrap from Twitter.

I guess we can live with that. ;)


Zii has been merged to the core with version 1.1.0. I already explained this to you several times. It happened before you joined this forum.
Components redundancy should be avoided in the core package.
Yii user #37
0

#26 User is offline   jacmoe 

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

Posted 19 June 2012 - 05:22 PM

'zii' has not been merged to core Yii.
It ships with it, but it is entirely optional.
It is not in 'web.widgets'.
It resides in the 'zii' directory.
The JQuery UI wrapper widgets are to be found in 'zii.widgets.JUI'.
So it's not in core.

One could imagine that a set of widgets was made which went into a 'boot' directory, next to the 'JUI' directory.
But that wouldn't make it core either.

Your mission in life seems to be to disagree with me. :)
"Less noise - more signal"
0

#27 User is offline   ekerazha 

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

Posted 19 June 2012 - 05:26 PM

 jacmoe, on 19 June 2012 - 05:22 PM, said:

'zii' has not been merged to core Yii.
It ships with it, but it is entirely optional.
It is not in 'web.widgets'.
It resides in the 'zii' directory.
The JQuery UI wrapper widgets are to be found in 'zii.widgets.JUI'.
So it's not in core.

One could imagine that a set of widgets was made which went into a 'boot' directory, next to the 'JUI' directory.
But that wouldn't make it core either.

Your mission in life seems to be to disagree with me. :)


I disagree with you when you are plain wrong.
Zii components are not in "web.widgets" just for BC reasons, see this ticket: http://code.google.c.../detail?id=1541 ;)
Still, zii is part of the core package since Yii 1.1.0.
Yii user #37
1

#28 User is offline   jacmoe 

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

Posted 19 June 2012 - 05:35 PM

That sounds like something which I agree with disagreeing about.
It shouldn't be core.
I like it the way it is now: in a separate directory so that we know what parts of Yii we can get away with not using.
Merging it into web.widgets feels wrong.
That doesn't rhyme with flexibility and a tight core.

So, yeah: zii - judging from Qiangs comment - could be seen as a core bit of Yii.

Looks sneaky to me.

So, you are right, and I am wrong.
"Less noise - more signal"
0

#29 User is offline   rall0r 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 165
  • Joined: 11-November 10
  • Location:Bln

Posted 10 July 2012 - 04:43 AM

Maybe back to topic one more statement to Jquery Mobile.

I think it's important, that Jquery Mobile in Yii Version 2.0 is available in the same way like Jquery (Standard) in Yii 1.x.
So i can register an Jquery Mobile script if it is needed.

At my current point of view, for me it's not important if it is part of the (main) core. For me it's im1poratant that is is available, if i have installed Yii - same think like Jquery (standard) is available / accessible in Yii 1.x without adding additional thinks.

rall0r
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

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