Yii Framework Forum: Add jQuery Mobile - Yii Framework Forum

Jump to content

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

Add jQuery Mobile

#21 User is offline   jacmoe 

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

Posted 21 October 2011 - 07:31 AM

I may sound like an #¤%, but seriously: yes, Yii has jQuery UI bundled, but only due to the Zii widgets use of it.

That's entirely optional, though.

Why can't you just use jQuery Mobile and get it over with?

Does it really have to be some 'official' part of the Yii code base?
"Less noise - more signal"
0

#22 User is offline   ekerazha 

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

Posted 22 October 2011 - 03:54 AM

View Postjacmoe, on 20 October 2011 - 08:17 PM, said:

You sound like a broken record, dude.

I do not use jQuery UI at all when I use Yii, and I prefer it that way.

Zepto is 4K, and does pretty much what jQuery does.

It's highly recommended. ;)

Why lock Yii users in, when you don't have to?

I agree with Thomas Jensen: Yii 2.0 should concentrate on asset management, like minification, uinification, etc. - IMO it really needs to be improved.

Curious: what makes it so hard to just use jQuery Mobile??

Right now?

I don't get it. :)



Sorry, but what you use isn't relevant at all, really. You can like it or not, but jQuery UI is already part of Yii. Also, being Yii jQuery-based (active controls etc.), Zepto is redundant, you should respect the jQuery ecosystem. jQuery UI and jQuery Mobile are part of the jQuery ecosystem. Moreover, you haven't any lock and you can use your beloved Zepto if you want. If devs disagree, they should also remove jQuery UI, it's a matter of consistency and I'm a rational, coherent guy.

View Postjacmoe, on 21 October 2011 - 07:31 AM, said:

I may sound like an #¤%, but seriously: yes, Yii has jQuery UI bundled, but only due to the Zii widgets use of it.

That's entirely optional, though.

Why can't you just use jQuery Mobile and get it over with?

Does it really have to be some 'official' part of the Yii code base?

Zii is part of the framework, it was a separated package but it has been merged. Consistency.
Yii user #37
0

#23 User is offline   jacmoe 

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

Posted 22 October 2011 - 04:36 AM

View Postekerazha, on 22 October 2011 - 03:54 AM, said:

Sorry, but what you use isn't relevant at all, really. You can like it or not, but jQuery UI is already part of Yii. Also, being Yii jQuery-based (active controls etc.), Zepto is redundant, you should respect the jQuery ecosystem.


Bundling jQuery UI is IMO a mistake. ;)


Yii users should be able to use whatever we want to use. The framework shouldn't make choices on our behalf.

Fortunately, it doesn't mean a lot in practice, so I don't care much. :)


"Less noise - more signal"
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • 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