Yii And Javascript Frameworks?
#1
Posted 27 September 2012 - 05:14 AM
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?
#2
Posted 27 September 2012 - 06:39 AM
#3
Posted 27 September 2012 - 10:51 AM
samdark, on 27 September 2012 - 06:39 AM, said:
Why Backbone and not the others? Which one would you choose if you were just starting to use/know a js framework?
#4
Posted 27 September 2012 - 12:13 PM
Also used angular and JSRender/JSViews.
I have had to start using js frameworks because of complex client-side logic.
#5
Posted 28 September 2012 - 04:17 AM
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.
#6
Posted 28 September 2012 - 09:20 AM
I think the general idea is to create rest application using Yii and then a separate client application using a js framework ?
#7
Posted 28 September 2012 - 05:58 PM
I can't say how accurate it is, but it sure seems to discuss things in a structured and relevant way. Probably worth reading.
#8
Posted 06 October 2012 - 07:25 AM
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.
#9
Posted 17 April 2013 - 07:21 PM
If you do create an extension can you update this thread so I'm notified. I'd love to try it.
#10
Posted 18 April 2013 - 01:42 PM
dubby, on 17 April 2013 - 07:21 PM, said:
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...
#12
Posted 25 April 2013 - 05:54 AM
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.

Help













