TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Yahoo stopping all new development of YUI

450 点作者 traviskuhl超过 10 年前

32 条评论

columbo超过 10 年前
I know Wells Fargo went full-bore with YUI to the point of creating their own derivative (<a href="http://www.yuiblog.com/blog/2013/11/08/yuiconf-2013-an-amazing-two-days/" rel="nofollow">http:&#x2F;&#x2F;www.yuiblog.com&#x2F;blog&#x2F;2013&#x2F;11&#x2F;08&#x2F;yuiconf-2013-an-amazi...</a>)<p>I have to say, enterprise companies like WF really have it tough. With thousands of applications and tens-of-thousands of developers by the time they implement anything it&#x27;s already been rendered obsolete.<p>At least they didn&#x27;t go 100% Flex like some other companies
评论 #8244181 未加载
评论 #8243990 未加载
评论 #8243688 未加载
评论 #8243731 未加载
评论 #8244170 未加载
评论 #8244877 未加载
评论 #8245236 未加载
评论 #8244301 未加载
clarle超过 10 年前
First posted on &#x2F;r&#x2F;javascript, but I think it&#x27;s worth posting here too:<p>I was a member of the YUI team until a few months ago. I&#x27;m still at Yahoo now, just on a different team, but just wanted to give my own thoughts on this (I don&#x27;t represent the company or the YUI team).<p>My software engineering career started with the YUI team - I actually joined as an intern at Yahoo because of a Reddit post on &#x2F;r&#x2F;javascript. I was pretty new to engineering in general back then, and as a biology major with no real professional experience, I didn&#x27;t have an easy time getting internships. Jenny, the manager of the YUI team back then, really took a chance on me, and that really changed my entire career path. I solved a bunch of YUI bugs, added a few features here or there, and I always tried to help other folks on #yui on IRC, the mailing list, or in-person here at Yahoo, which I really enjoyed. I learned a crazy amount of JavaScript, some pretty advanced debugging &#x2F; performance profiling techniques, and even gave some talks. Eventually, a lot of people always came to me first whenever they had a question about YUI, which was pretty cool.<p>From the view of some people in the JavaScript community, YUI was always considered a huge, monolithic framework that was only good for widgets. I never thought that was the case - YUI pioneered a lot of the techniques that are popular in advanced JavaScript development today, like modules, dynamic loading, and creating logical view separation in your code. A lot of the influence in RequireJS &#x2F; CommonJS &#x2F; ES6 modules can be seen from what YUI did first, which people used to consider &quot;over-engineering&quot;.<p>With a lot of new development in JavaScript though (data-binding, tooling like Grunt &#x2F; Yeoman, promises and other async handling techniques), it was always hard for YUI to keep up with new features while still being able to maintain backwards compatibility with the constantly deploying products that people were building at Yahoo. We had to support product teams while also building out the framework at the same time, and making sure the user-facing products were the best was more important. Eventually, it was hard when developers who were familiar with newer JavaScript tools tried to use YUI, but ended up having to spend quite some time with the framework just to get it working with the rest of the JS ecosystem.<p>In the end, I wasn&#x27;t involved with this decision, but I think it was the right thing to do. A lot of the YUI (now YPT) team and other front-end teams at Yahoo are now working on helping out with more cutting-edge core JavaScript work, like internationalization (<a href="https://github.com/yahoo/intl-messageformat" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yahoo&#x2F;intl-messageformat</a>) and ES6 modules, as well as building out components for newer frameworks like React and Ember (<a href="https://github.com/yahoo/flux-examples" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yahoo&#x2F;flux-examples</a>). Yahoo still has a lot of really strong front-end developers, and working on these more important core components is more beneficial to both Yahoo and the JS community as a whole, than continuing to maintain a framework that&#x27;s a walled garden.<p>The one thing to take away from this is that no technology lasts forever, and in the end, what the user sees is the most important, whether it&#x27;s JavaScript, Android &#x2F; iOS, or holographic smartwatches.<p>I&#x27;ll be a bit melancholy today, but I&#x27;ll raise a glass to YUI tonight. RIP.
评论 #8245109 未加载
评论 #8245102 未加载
评论 #8245437 未加载
kingmanaz超过 10 年前
&quot;Node.JS&quot;, &quot;isomorphic single page applications&quot;, &quot;npm&quot;, &quot;bower&quot;, &quot;Grunt&quot;, &quot;Broccoli&quot;, &quot;Gulp&quot;, &quot;Backbone&quot;, &quot;React&quot;, &quot;Ember&quot;, &quot;Polymer&quot;, &quot;Angular&quot;, &quot;Mocha&quot;, &quot;Casper&quot;, &quot;Karma&quot;, &quot;evergreen web browsers&quot;, ad infinitum.<p>While the above bouquet of random monikers may excite the cutting-edge startup developer, try pitching such an amalgamation to management in an enterprise environment.<p>Inevitably, this week&#x27;s fashionable web technologies will be supplanted by next week&#x27;s fads. YUI was nice because it channeled the Borg in absorbing the good from multiple technologies while attempting to provide users with some form of a migration path, usually through its better-than-average documentation. YUI evolved. Many of the above technologies will be cut-and-run like the projects they supplanted last week.<p>Perhaps the answer to this industry&#x27;s flightiness will be found in the increasing use of transpilers. Javascript, with its callback-heavy code reading like so much thread through so many needle-eyes, does not seem to engender longevity in its creations. A framework built around something like gopherjs may be more libel to grow and adapt rather than becoming yet another abandonware.
评论 #8244075 未加载
评论 #8244424 未加载
评论 #8244763 未加载
评论 #8244534 未加载
评论 #8243911 未加载
评论 #8244323 未加载
评论 #8246087 未加载
评论 #8246326 未加载
评论 #8244336 未加载
ecaron超过 10 年前
When teams halt development on projects, I really appreciate when they say &quot;People should go use project X&quot; instead. I know it is difficult to full their full-weight behind a single endorsement, but the team is obviously picking an alternative and since their followers trusted their original code they should trust the successor.<p>It would be great if the YUI team stood up and said &quot;We&#x27;re moving to <i>something</i>, and think you should too.&quot;
评论 #8244121 未加载
评论 #8243965 未加载
评论 #8244939 未加载
mythz超过 10 年前
Abandonment is a risk facing any heavy &quot;all-or-nothing&quot; frameworks, not only is this bad for existing apps built on YUI, but it&#x27;s also bad for developers skill set investments that will soon become obsolete.<p>It&#x27;s hard to imagine heavy popular frameworks like AngularJS falling to the same fate, it would need something far superior with a lot of traction to displace it. But it&#x27;s still a risk if you build your application the &quot;Angular Way&quot;, &quot;The React Way&quot; or &quot;The Ember Way&quot;, etc where if the primary developers halt development for whatever reason, your app dev stack becomes obsolete making it harder to attract great devs (who don&#x27;t want to invest in a dying platform).<p>It&#x27;s less of a risk with lightweight frameworks and libraries like Backbone.js where the code-base is so small and extensible, anyone can easily maintain their own fork. It&#x27;s also less of a risk for WebComponents as the component model leverages the browsers DOM and lets you use modularized encapsulated components built with different technologies, so if one of the technologies ever becomes obsolete you can always start writing new components with newer tech and integrate it with your existing app, without having to rewrite it.
评论 #8244051 未加载
评论 #8243861 未加载
评论 #8243842 未加载
评论 #8243847 未加载
评论 #8243837 未加载
评论 #8243995 未加载
评论 #8243853 未加载
评论 #8244974 未加载
评论 #8245162 未加载
评论 #8243873 未加载
评论 #8243793 未加载
评论 #8243815 未加载
cousin_it超过 10 年前
First they say:<p>&gt; <i>New application frameworks (Backbone, React, Ember, Polymer, Angular, etc.) have helped architect web applications in a more scalable and maintainable way.</i><p>Then they say:<p>&gt; <i>The consequence of this evolution in web technologies is that large JavaScript libraries, such as YUI, have been receiving less attention from the community. Many developers today look at large JavaScript libraries as walled gardens they don’t want to be locked into.</i><p>Huh?
评论 #8244267 未加载
评论 #8244319 未加载
preinheimer超过 10 年前
I remember teaching a JS class with YUI like 9 years ago. At the time it was well featured, and had documentation that blew the competition out of the water.<p>Good documentation was critical, I couldn&#x27;t in good conscience teach a class where my students would be out of luck for more help after they left.
slg超过 10 年前
I honestly didn&#x27;t know it was still actively being developed. It has long been surpassed by other options, but I do have some [mostly] found memories of working with YUI. In the early days it was a lot more feature packed than most other frameworks I tried. In the first big professional project I helped build some 7 or 8 years ago, I even fought to use YUI over jQuery. Maybe its time to send a mia culpa over to my old company...
评论 #8244653 未加载
评论 #8243904 未加载
jashkenas超过 10 年前
This is interesting, and more than a little bit sad, given that one of the big recent pushes that YUI had done was to build out their own &quot;MVC&quot; App Framework:<p>Docs: <a href="http://yuilibrary.com/yui/docs/app/" rel="nofollow">http:&#x2F;&#x2F;yuilibrary.com&#x2F;yui&#x2F;docs&#x2F;app&#x2F;</a><p>Video: <a href="https://www.youtube.com/watch?v=wCexiX_eUJA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=wCexiX_eUJA</a>
评论 #8244158 未加载
zmmmmm超过 10 年前
Makes me a bit sad, I built some very detailed and rich products on YUI. It was, at the time, the most well documented and comprehensively supported (for browsers such as IE6)framework around, and it had a complete set of widgets for every task. It was one of the few completely free JS frameworks I could show to enterprise and professional customers and not be embarrassed about.<p>Unfortunately YUI3.x was a complete derailment for me. They tried to match the expressiveness of jQuery (which they only half achieved), but along the way the documentation got much worse, and half the widgets I was relying on disappeared and never got migrated to 3.x (with the excuse that you could run legacy 2.x alongside 3.x - do not want!)). I invested a lot of time, sweat and tears into this library and ultimately it turned out to be a big negative as my resume suffered from not having more light weight technologies like jQuery on it.
jdelic超过 10 年前
The one thing that YUI does better than any other library is isolation. You can have multiple versions of YUI in the same page, each sandboxed against each other. That means that if you deliver JavaScript for other developers to include in their pages, YUI is an awesome framework or even the only real option. Thanks to YUI Loader it&#x27;s even self-repairing. jQuery&#x27;s noConflict is a far cry from that.<p>Can any if the other libraries mentioned here (especially the newer ones like React and EmberJS) provide the same thing?<p>When I read threads like this and I see pages like polygon.com that pull in tens if not hundreds of external JavaScript resources, I always think that the YUI sandbox model is still 5 years ahead of the status quo in other libraries.<p>Again, does anyone know here of alternatives for sandboxing?
评论 #8247019 未加载
dmitrygr超过 10 年前
[...] Node.JS [...] JavaScript [...] isomorphic single page applications [...] npm [...] bower [...] ecosystem [...] use cases [...] Grunt [...] ecosystem of plugins [...] Broccoli [...] Gulp [...] cohesive [...] Backbone [...] React [...] Ember [...] Polymer [...] Angular [...] Mocha [...] Casper [...] Karma<p>Reading this buzzword soup makes me <i>so</i> happy to be an embedded guy who gets to work in C i think i&#x27;ll go dance a little just to celebrate. Wow... seriously just wow...
评论 #8245164 未加载
评论 #8245188 未加载
soseng超过 10 年前
I work in Liferay Portal and AUI, which is a fork of YUI. Liferay will probably be impacted greatly by this. My company has done a few large scale Enterprise application implementations in recent years and continue to do more Liferay work (It&#x27;s actually booming). YUI is a huge framework and not just a library. It contains a lot of neat UI Components and Utilities. Although styling the components and making them responsive always seemed tough.
评论 #8244758 未加载
sam-mueller超过 10 年前
I think Yahoo is moving in the right direction on many fronts, and this decision is definitely welcomed within the company. At the breakneck pace of the web, every framework must eventually meet its demise; YUI is no different.<p>As the person who first brought Ember to Yahoo a year ago, I can tell you that both the mood and perspective towards SPA development has changed significantly; it&#x27;s refreshing. Developers are definitely beginning to embrace the direction of web components, and the majority now see the value that these newer frameworks provide.<p>There was a time (not too long ago) where Yahoo mandated the use of YUI. We are now seeing the pendulum swing in the other direction, and teams have more freedom to choose which framework works best for their situation.<p>Out of all the modern SPA frameworks, Ember is currently leveraged the most right now here at the &#x27;hoo, with almost two dozen projects using it. This is mainly because our division adopted it early, and we were fortunate that our UI engineers were able to get over the learning curb and build some impressive apps pretty quickly. Besides Ember, there are pockets of Backbone and even Angular apps. However, it&#x27;s pretty clear that the YUI team is especially intrigued with React right now, mainly because it is the most lightweight (again, pendulum) and allows more freedom for the developers to do things their way without opting into a more opinionated framework.<p>Some on this thread have expressed that they wished Yahoo would have recommended an alternative. Well I can give you my personal answer:<p>Choose the best framework that fits the job.<p>Each brings its own strengths and weaknesses, and the best approach you could take is to understand the nature and scope of your project to know which one makes the most sense for your needs. For example, many projects at Yahoo have a ton of code that can&#x27;t immediately be replaced or refactored. For those projects, React may make more sense because it only solves just one piece of the puzzle (albeit very well), and can add a ton of incremental value. If you are starting a project from scratch, choosing Ember or Angular might be the better choice if you want a more mature framework that addresses the many facets of SPA development. We happened to put more weight behind Ember for our greenfield projects because it provided more structure than Angular, and that helped us immensely when our apps grew in complexity.<p>It&#x27;s really great to see the state of JavaScript development in 2014. Even though we are losing a great framework in YUI today, the future does indeed look bright. Cheers!<p>--Sam
评论 #8245393 未加载
评论 #8245732 未加载
rip747超过 10 年前
honestly at this point, i think most people are using jquery with either jqueryui or bootstrap. Still its really sad to see such an established framework become EOL. Thank you Yahoo for all the work you&#x27;ve done on YUI.
评论 #8244594 未加载
joeblau超过 10 年前
I&#x27;m hoping they still continue work on Purecss. Pure is a far more manageable framework that doesn&#x27;t come with all of the YUI bloat.
评论 #8244639 未加载
onlywei超过 10 年前
There are some core YUI methods that I think were really good. The one that comes to mind the most is Y.extend(), which is different from _.extend() in that it actually subclasses a class for you, and not just &quot;mixes&quot; two objects.<p>I know some people have some kind of hate or disgust for JavaScript&#x27;s emulation of classical inheritance in this manner, but I liked it a lot!
abruzzi超过 10 年前
YUI is used heavily in and enterprise application I work with (Alfresco). I wonder how this will impact them.
评论 #8243737 未加载
tszming超过 10 年前
This is the right approach to sunset an opensource project from a big company, so people don&#x27;t need to discover the project is dead by checking the last commit date, which happen quite often these days especially when the key developer of the opensource project left the company.
BrandonM超过 10 年前
Why do people use &quot;the number of [...] issues and pull requests&quot; to measure the usefulness of an open source project? Shouldn&#x27;t a project gradually trend toward maturity, when the vast majority of bug fixes and big-win features are already part of it? Is that really the best point at which to start spinning it down?
评论 #8243796 未加载
gorkemyurt超过 10 年前
I wonder if YUI was solving any Yahoo specific problems, their goal (should be) is to make FrontEnd Dev easy for Yahoo employees not to build a framework that&#x27;s a good fit for the rest of the world. So who cares if its losing traction in the open source community?
评论 #8245055 未加载
jamesbowman超过 10 年前
&quot;Isomorphic&quot;. I do not think it means what Yahoo thinks it means.
progx超过 10 年前
Good decision and there is no further argument to say, you wrote everything in your post.<p>Hope Yahoo continue to develop more smaller libraries, purecss is a really nice example for a small clean project.
gourneau超过 10 年前
YUI still has the best data grid around IMO. Thanks y&#x27;all.
评论 #8247234 未加载
noelwelsh超过 10 年前
All is change. Only those who don&#x27;t create don&#x27;t create legacy.<p>Abandoning YUI is a sensible move by Yahoo for a technology whose time has passed.
_RPM超过 10 年前
I thought YUI was obtrusive when I saw a line of code that looked like this:<p>YUI.util.Event.addListener(&#x27;el&#x27;, &#x27;click&#x27;...);
评论 #8244644 未加载
shawndumas超过 10 年前
I for one welcome our new EmberJS overlords at Yahoo.
Touche超过 10 年前
Dojo is next. When is that going to happen?
pesto88超过 10 年前
interesting to see what Squarespace is going to do in response to this
misterbishop超过 10 年前
Looks like YUI is going to have bright years ahead!
like_do_i_care超过 10 年前
In other news, a UI toolkit becomes abandonware. World still spins, over to you Kent for the weather.
评论 #8244461 未加载
laurentoget超过 10 年前
tumblr is an interesting choice of venue for an official yahoo announcement. you would think they could host their own blog.
评论 #8243786 未加载
评论 #8243790 未加载
评论 #8243928 未加载
评论 #8243787 未加载