| Page 1 of 2 | [ 11 posts ] | Go to page 1, 2 Next |
|
This morning I was reading this blog "Rich JavaScript Applications – the Seven Frameworks" (http://blog.stevensanderson.com/2012/08 ... f-js-2012/) which was intended to "take the seven top JavaScript frameworks/libraries for single-page and rich JavaScript applications — AngularJS, Backbone, Batman, CanJS, Ember, Meteor, Knockout, Spine — get the creators of all of them in one location, and compare the technologies head to head."
I think it is a problem that YUI3 isn't being mentioned in these kind of lists and discussions, especially since it has a large company behind it with full time development happening. I have been prototyping our next large js app in YUI3, Ember and Angular and though I'm personally liking the YUI3 version the best, I'm worried about committing to it if it will always be harder to find others using it, especially considering hiring people with experience. I think it would help if some of the core people (especially Eric?) made it a point to get YUI in these kind of discussions. |
|
Have no fear! I spoke at that conference
Recently I spoke at both BackboneConf (in Boston, MA) and Throne of JS (in Toronto, ON). Steven Sanderson's post is about Throne of JS from the other week. I did a talk as well as a panel discussion at the conference. I wanted to do something different and discuss topics that I feel are more important than highlight the feature of YUI, instead I wanted to bring up points that are applicable to all the frameworks presented. I wrote up a quick summary of the conference including my slides on the YUI Blog earlier this week: http://www.yuiblog.com/blog/2012/07/30/ ... one-of-js/ They recorded all the sessions (including the panels), and the videos will hopefully be up soon. |
|
Also,
YUI we've worked withAddy Osmani's to include YUI in his two projects: TodoMVC (using YUI 3.6.0): http://todomvc.com/ Journey Through The JavaScript MVC Jungle: http://coding.smashingmagazine.com/2012 ... vc-jungle/ |
|
I'll also probably be doing some evangelism work for YUI and Mojito too in the near future. I promised the Mojito team a TodoMVC example for them too, so that's going to be something coming up very soon.
If there's any other external projects/discussions that might be of interest to YUI or Mojito, definitely let us know! |
|
I would like to know what you guys think of the AngularJS project (built on top of jquery) and if there is anything that you think you could learn/take from it?
Certainly if you look at the todoMVC code for angular it is very short and simple and they seem to have identified a good deal of boilerplate which has got to be a win for developers. Is there any fit for something similar in YUI? |
|
Personally, I feel that Angular contains too much magic and some really scary implementation details to provide its simple facade. Understanding how Angular works will expose some wonky decisions that most JavaScript developers would shy away from.
While Angular's ambitions are set high (which is awesome), the current state of browsers, the DOM, and JavaScript don't allow for what they are trying to achieve in a sane way. |
|
Hmm, thanks for your reply, I was quite taken with the simplicity of what I first saw, and have been trying to work through the sample project to learn more. It does give you mixed feelings - a sort of awe over how simple they have made things yet a fear of losing granularity over what you are doing.
I would also comment that it's not nearly as comprehensive a library as yui, but simply an MVC library (so just the components similar to Y.App). I have to say though some of it can seem quite compelling which is why I was wondering if it any 'good' parts could be learnt from. However after reading through the docs some more it becomes apparent that it is completely different to yui. Still interesting though! and as regards to those wonky decisions and sanity of design - I wouldn't know (which is why I asked the question here) - but I would be interested to know more! |
|
Eric and I wrote the YUI App Framework version of the TodoMVC app, and most of the boilerplate code comes from how we decided to structure the application, and having finer-grained control over the DOM elements that make up the application.
What AngularJS does is use two-way data-binding, so you'll see some logic actually written into the HTML elements themselves. This can be a good or a bad thing, depending on how you prefer to develop your application. It's often less boilerplate code, but you have less control over how your UI is affected by your application later on. We do want to eventually incorporate some form of data-binding into YUI, it's a great feature for developing some applications, but for now, YUI App Framework is closer to Backbone. This makes it more versatile as a framework, though you do end up working with less "magic" then some of the other ones, for sure. |
|
Very interesting topic, Could you expand on why you think AngularJS is scary?
IE 6 and 7 are not a concern for me when it comes to considering AngularJS, if that makes any difference. I agree that there seems to be perhaps a bit too much magic which could result in some debugging challenges down the road, but the minimal amount of boilerplate required to get two way binding is quite tempting. Thanks |
Alberto SantiniYUI Contributor
|
Hello einarq.
I wrote a stargazers monitor of the libraries or frameworks related to those resources: http://albertosantini.github.com/mvstar/ The posts, suggested in this thread, are well written and explain carefully the pros and cons of every approach. The main difference between the solutions is how to resolve data binding, a tradeoff between magic and flexibility. Eventually if you need to customize routing, data storage integration or the related component, you need to write a lot of code as well. So there is not a winning approach but it depends on the kind of architecture you figure out for your large-scale application. I prefer YUI / Backbone approach, seconding Clarence's opinion, because I have the feeling to be in "full control". For a try in the two-way data-binding realm, I tested Ember.js and I like it, but, as I said, it is always a tradeoff. Regards, IceBox |
| Page 1 of 2 | [ 11 posts ] | Go to page 1, 2 Next |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group