Yii Framework Forum: Yii And Javascript Frameworks? - Yii Framework Forum

Jump to content

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

Yii And Javascript Frameworks? Rate Topic: -----

#1 User is offline   voidcontext 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 20-March 12
  • Location:Hungary

Posted 27 September 2012 - 05:14 AM

Hi,

Have you used any javascript framework (ember.js, angular.js,backbone.js, etc...) with Yii?

If yes, what was the reason to apply a js framework with Yii?
Are there real benefits to use them, if yes what are these?
Sorry for my english...
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 2,644
  • Joined: 17-January 09
  • Location:Russia

Posted 27 September 2012 - 06:39 AM

Used backbone because of the app was too complex to handle it with just jQuery.
0

#3 User is offline   voidcontext 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 20-March 12
  • Location:Hungary

Posted 27 September 2012 - 10:51 AM

View Postsamdark, on 27 September 2012 - 06:39 AM, said:

Used backbone because of the app was too complex to handle it with just jQuery.


Why Backbone and not the others? Which one would you choose if you were just starting to use/know a js framework?
Sorry for my english...
0

#4 User is offline   ORey 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 425
  • Joined: 20-April 09
  • Location:Moscow, Russia

Posted 27 September 2012 - 12:13 PM

I use knockout heavily.
Also used angular and JSRender/JSViews.

I have had to start using js frameworks because of complex client-side logic.
Born to create drama
0

#5 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 2,644
  • Joined: 17-January 09
  • Location:Russia

Posted 28 September 2012 - 04:17 AM

voidcontext
Choice that time was quite random and it worked well. Not sure which one I'd choose today. There are many new frameworks out there.
0

#6 User is offline   jacmoe 

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

Posted 28 September 2012 - 09:20 AM

I like Knockout for its views and Backbone for its models - and can't make up my mind as for which to use - but today I stumbled upon Knockback which seems to bring these two together. :D

I think the general idea is to create rest application using Yii and then a separate client application using a js framework ?
"Less noise - more signal"
0

#7 User is offline   rAWTAZ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 99
  • Joined: 08-January 10

Posted 28 September 2012 - 05:58 PM

FWIW, I'm reading this article right now: http://blog.stevensa...one-of-js-2012/

I can't say how accurate it is, but it sure seems to discuss things in a structured and relevant way. Probably worth reading.
0

#8 User is offline   voidcontext 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 20-March 12
  • Location:Hungary

Posted 06 October 2012 - 07:25 AM

Thanks for everyone!

After reading some blog posts about this subject, I've decided to use KnockoutJS. I think that was a good choice, this framework/library has amazing features, the JS code can be clean and clear (unlike plain jQuery), and the documentation is good.

Now I'm thinking to implement Yii's CGridView with Knockout as a Yii extension.
Sorry for my english...
0

#9 User is offline   dubby 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 125
  • Joined: 10-February 09
  • Location:Melbourne, Australia

Posted 17 April 2013 - 07:21 PM

Hi voidcontext,

If you do create an extension can you update this thread so I'm notified. I'd love to try it.
0

#10 User is offline   voidcontext 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 20-March 12
  • Location:Hungary

Posted 18 April 2013 - 01:42 PM

View Postdubby, on 17 April 2013 - 07:21 PM, said:

Hi voidcontext,

If you do create an extension can you update this thread so I'm notified. I'd love to try it.


Hi,

There were performance issues on large lists, and I didn't have enough time for it, so I've dropped this idea... Sorry...
Sorry for my english...
0

#11 User is offline   Urkman 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 29-April 09
  • Location:Anrath/Germany

Posted 25 April 2013 - 03:10 AM

Nobody uses ExtJS here?
0

#12 User is offline   jacmoe 

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

Posted 25 April 2013 - 05:54 AM

What do you mean 'nobody uses it' ?
There is an extension for it.

I am not using it, though, because of the license.
ExtJS is probably great if you are after a desktop like development environment for the web.
And have a load of money to throw after it.

If I wanted a fuller js api, then I'd probably go with Angular or Ember.

But, nowadays, I'd probably use Backbone - or rather: Chaplin.
Thorax is also a great option.
For me.

There's just too many choices out there. :)
"Less noise - more signal"
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