Include to favorites
Log in Logout Register
Start Login Contact Help Photos What's new
Avanced Search
FAQ
RESULTS IN: TEXT IMAGES
 

Hello, Guest
Login  Register
Online: 190 visitors

Blogging (2)
Business (1)
Educational (2)
Gadgets (1)
Games (8)
High Tech News (1)
Internet (1)
PC (2)
PDA (0)
Science (1)
Shopping (6)
Software (1)
Wireless (1)


Browse by date

<< May 2012 >>
MonTueWedThrFriSatSun
123456
78910111213
14151617181920
21222324252627
28293031




Recent searches

Popular searches

Hot this month

Weblogs Archive


GADGETS AND GAMES DIRECTORY :: > Software Register Weblog >  Software Tech Weblogs - WEEKLYBITS.COM GADGETS AND GAMES DIRECTORY
Yahoo User Interface Blog
generated by http://wordpress.org/?v=3.0.4  en Blogger
SEND A FRIEND
Suscribing to  please login first
User: Login

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications.
News and Articles about Designing and Developing with Yahoo! Libraries.Visit Yahoo! User Interface Blog
Address URLhttp://www.yuiblog.com/blog    Registered: 26-Apr-2008
Ads:

Send to email
Visit App Framework Changes in YUI 3.5.0 App Framework Changes in YUI 3.5.0 in Development
By Ryan Grove
el 12-Dec-2011

Since the initial release of the App Framework in YUI 3.4.0, we’ve been astonished by how quickly it’s been adopted. In projects large and small, both long-time YUI users and those who are completely new to the library have been enthusiastically using the App Framework’s MVC components and providing great feedback and bug reports. Thank you!

In YUI 3.5.0, the App Framework will receive lots of bug fixes and some major enhancements. Eric Ferraiuolo covered many of the upcoming changes in his fantastic YUIConf talk, but we want to highlight them here as well so you’ll know what’s coming and what you should prepare for if you plan to upgrade App Framework-based code from 3.4.x to 3.5.0. These changes are already in YUI 3.5.0 PR1, which was released today, so now’s a great time to start testing them.

Y.Controller is now Y.Router

“Controller” was a silly and confusing name for a component that really concerns itself more with URL-based routing, especially given the more traditionally controller-like role that Y.View plays. We’ve decided to bite the bullet and rename the Y.Controller class to Y.Router in 3.5.0. Y.Controller will become an alias to preserve backwards compatibility, but this alias will eventually be removed, so you should update your code to refer to the new name.

New route handler signature

The method signature for route handler functions in Y.Router has changed slightly to make it more similar to Express and to make Router’s API more natural when used on the server (a feature we’re currently working on for 3.5.0).

Previously, a route handler function received two arguments: req (a request object) and next (a function). In 3.5.0, route handlers will receive three arguments: req, res (a response object), and then next.

For the sake of backwards compatibility, the new res argument is also a function that behaves exactly like next, so old-style route handlers that expect next as the second arg will continue to work fine in 3.5.0. However, this compatibility shim will eventually be removed, so don’t wait too long to update your code.

Some properties are now attributes

We experimented with a not-entirely-YUI-like style of using properties for configurable options in the App Framework components in 3.4.0, but this turned out to be a little confusing and more than a little limiting, since properties don’t benefit from change events, setters, and validators like attributes do. So in 3.5.0, we’re converting many of these properties to attributes.

Unfortunately, this change is not backwards compatible, so existing code that uses Y.Controller (now Y.Router) or Y.View may need to be updated. Specifically, Y.Router’s html5, root, and routes properties are now attributes, and Y.View’s container, model, and modelList properties are now attributes as well.

In addition to this, Y.View’s container attribute now treats string values as CSS selectors used to find nodes on the page. In 3.4.x, it assumed a string value represented raw HTML that should be converted into a node. To get the old behavior, just change your existing HTML string values from '<div>foo</div>' to Y.Node.create('<div>foo</div>').

Documentation for 3.5.0 PR1

Work-in-progress documentation for these changes and other changes in YUI 3.5.0 PR1 can be found on our staging website. Here are some links to relevant staging docs that include information on App Framework deprecations in 3.5.0 and details about how to upgrade your code:

  • Router
  • View

Note that the content at stage.yuilibrary.com reflects ongoing work in progress and may be incomplete or even occasionally broken as we test new stuff. You’ll always find the docs for the latest stable release at our production site, yuilibrary.com.

What else is new?

In this blog post I’ve summarized the important deprecations coming to the App Framework in 3.5.0, but there are also lots of feature enhancements and under-the-hood bug fixes. For a complete list of App Framework changes in 3.5.0 PR1, consult the HISTORY file.

Also, look for a blog post from Eric later this week about Y.App, an awesome new high-level component of the App Framework that wraps up URL-based routing and view management into a single easy-to-use API that’ll get you from zero to a working application in no time.

We hope you love the preview release, and we’d love to hear from you! You can send us feedback in the forums, in a bug report, on Twitter, on the #yui IRC channel on Freenode, or just chime in here with a comment.



Read 8 times

Suscribing to  please login first
App Framework Changes in YUI 3.5.0 -  Tech Weblogs - WEEKLYBITS.COM  Blogger Is a collection of i

Photologs

Yahoo User Interface Blog Blogger

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries.

App Framework Changes in YUI 3.5.0
Since the initial release of the App Framework in YUI 3.4.0, we’ve been astonished by how quickly it’s been adopted. In projects large and small, both long-time YUI users and those who are completely new to the library have been enthusiastically using the App Framework’s MVC components and providing great feedback and bug reports. Thank [...] [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 12-Dec-2011 by Ryan Grove in Development
Read 8 times. More hits in More articles App Framework Changes in YUI 3.5.0 Images about App Framework Changes in YUI 3.5.0
Joystiq Blogger

Covers video game news from an independent, unbiased perspective
Joystiq Joystiq

Rumor: Capcom adapting next-gen MT Framework for Wii
We're marking this as a rumor due to the third-hand nature of it: Andriasang summarized an article on Inside-Games about a Nikkei Industrial article (phew), which states that Capcom is working on bringing an engine designed for PS3 and Xbox 360 t [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 27-Oct-2009 by JC Fletcher in capcomenginemt-frameworkports
Read 8 times. More hits in More articles Rumor: Capcom adapting next-gen MT Framework for Wii Images about Rumor: Capcom adapting next-gen MT Framework for Wii
Joystiq Blogger

Covers video game news from an independent, unbiased perspective
Joystiq Joystiq

Mega Man Legends 3 Project uses MT Framework
Image 0 en  - Mega Man Legends 3 Project uses MT Framework In a blog post on the Capcom-Unity Dev Room, Mega Man Legends 3 Project director Eguchi Masakazu revealed one way in which the long-awaited sequel became economical enough to develop: rather than a custom engine, Legends 3 runs on the company's v [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 14-Dec-2010 by JC Fletcher in 3dscapcomdsEguchi-Masakazumega-man-legends-3mega-man-legends-3-projectmt-frameworknintendo
Read 14 times. More hits in More articles Mega Man Legends 3 Project uses MT Framework Images about Mega Man Legends 3 Project uses MT Framework
Yahoo User Interface Blog Blogger

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries.

Frontend Engineering Position on Platform Framework Team
If you’re a YUI user and interested in working on tools relied upon by properties like the Yahoo! home page and My Yahoo!, there’s a new position available that might be of interest. Our colleague Stephen Woods (@ysaw), who has helped to engineer a YUI 3-based module system for the new Yahoo! home page, [...] [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 16-Oct-2009 by Eric Miraglia in DevelopmentFrontend Engineering Jobs at Yahoofrontend engineeringhiringjobsstephen woodsyahoo
Read 26 times. More hits in More articles Frontend Engineering Position on Platform Framework Team Images about Frontend Engineering Position on Platform Framework Team
Yahoo User Interface Blog Blogger

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries.

YUI Theater ? Todd Kloots: ?Developing an Accessible Web 2.0 Widget Framework?
Todd Kloots, Engineer, YUI Team - YUI Theater ? Todd Kloots: ?Developing an Accessible Web 2.0 Widget Framework? As we continue to work on YUI 3, we’re thinking hard about accessibility. And no one here is thinking harder about that topic than Todd Kloots, who has authored a variety of blog posts on the subject as well as presenting a comprehensive tech talk on the art and sciense of accessible development. Todd spoke [...] [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 22-May-2009 by Eric Miraglia in YUI TheaterAccessibilityframeworksfrontend engineeringstrategytodd klootsweb developmentYUI 3
Read 30 times. More hits in More articles YUI Theater ? Todd Kloots: ?Developing an Accessible Web 2.0 Widget Framework? Images about YUI Theater ? Todd Kloots: ?Developing an Accessible Web 2.0 Widget Framework?
Yahoo User Interface Blog Blogger

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries.

Implementation Focus: Enterprise Web Developer, a Python/YUI Framework
About the author: Rob Tweed is the founder and co-director of M/Gateway Developments Ltd., which is based in the UK. He has been working in application development since the early 1980s. Much of his work has focused around healthcare IT, which is consistently challenging, characterized by large, complex datasets, high security and performance [...] [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 05-Jan-2010 by Rob Tweed in DevelopmentYUI ImplementationsEnterprise Web DeveloperEWDpythonRob Tweed
Read 30 times. More hits in More articles Implementation Focus: Enterprise Web Developer, a Python/YUI Framework Images about Implementation Focus: Enterprise Web Developer, a Python/YUI Framework
Yahoo User Interface Blog Blogger

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries.

YUI Theater ? Eric Ferraiuolo: ?YUI App Framework: You?ve Been Wanting This? (46 min.)
In one of the most popular talks at YUIConf 2011, YUI engineer Eric Ferraiuolo discusses the MVC components of the YUI App Framework and some of the new features coming in YUI 3.5.0 and beyond, including Handlebars-based templating and a new Y.App component that makes the creation of MVC apps easier than ever on desktop, [...] [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 18-Nov-2011 by Ryan Grove in DevelopmentYUI Theater
Read 7 times. More hits in More articles YUI Theater ? Eric Ferraiuolo: ?YUI App Framework: You?ve Been Wanting This? (46 min.) Images about YUI Theater ? Eric Ferraiuolo: ?YUI App Framework: You?ve Been Wanting This? (46 min.)
Yahoo User Interface Blog Blogger

Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries.

Frontend Engineering Position Open on Yahoo! UI Framework Team (Southern California)
Visit the Yahoo! Careers site to learn more about this position. - Frontend Engineering Position Open on Yahoo! UI Framework Team (Southern California) The UI Framework Team at Yahoo! provides crucial foundation pieces for some of Yahoo!’s most important projects. Based in Burbank (Southern California), the team is looking to hire a skilled frontend engineer to help them maintain and extend the platform. Significant YUI implementation work is part of the job description. Head over [...] [..] Read complete article
Subscribe to App Framework Changes in YUI 3.5.0
Published 07-Oct-2009 by Eric Miraglia in Frontend Engineering Jobs at Yahoocareersf2efrontend engineeringhiringjobsyahooyui
Read 25 times. More hits in More articles Frontend Engineering Position Open on Yahoo! UI Framework Team (Southern California) Images about Frontend Engineering Position Open on Yahoo! UI Framework Team (Southern California)

Warning We are not responsible of information posted from external feeds. Use this website at your own risk. Notice: We will not be liable for any direct or indirect loss or damage arising under this disclaimer or in connection with our website, whether arising in tort, contract, or otherwise.


Your Site here Your Site here Your site here Your site here Your site here