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: 186 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

<< February 2012 >>
MonTueWedThrFriSatSun
12345
6789101112
13141516171819
20212223242526
272829




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 Coming in YUI 3.2.0: SimpleYUI Coming in YUI 3.2.0: SimpleYUI in Development
By Eric Miraglia and Adam Moore
el 03-Sep-2010

The feature described in this article is available as of YUI 3.2.0pr2, and it will be a part of the upcoming 3.2.0 release. You can start playing with it today by following the code in this article.

SimpleYUI is a new way of loading and instantiating YUI 3. The SimpleYUI file contains a rollup of basic Ajax library functionality: DOM tasks, event abstraction, UI effects, and Ajax. Unlike other ways of loading YUI, SimpleYUI creates a YUI instance immediately upon loading and binds all included components to a global Y variable. Using SimpleYUI is easy:

<script type="text/javascript"
 src="http://yui.yahooapis.com/3.2.0pr2/build/simpleyui/simpleyui-min.js"></script>

<script>
 //Y is ready to use; no instantiation necessary:
 Y.one("#foo").addClass("highlight");
</script>

This isn’t a “lite” or de-contented version of YUI ? you still have access to all of the power and features of the entire library when you start with the SimpleYUI file. However, SimpleYUI does provide a nice convenience by rolling up some common functionality and creating a global instance (Y) that’s ready to use immediately.

Work with the DOM

SimpleYUI gives you all of the standard DOM interactions in the YUI 3 API:

//get an element reference, add a click handler
Y.one('#demo').on('click', function(e) {/*handle click*/});

//add content to an element
Y.one('#demo').append('Additional content added to #demo.');

//listen for any click on any <li> that descends from #demo:
Y.one('#demo').delegate('click', function(e) {/*handle click*/}, 'li');

//move #demo to the location of any click on the document
Y.one('document').on('click', function(e) {
    	Y.one('#demo').setXY([e.pageX, e.pageY]);
	}
);

Create UI Effects

All of the UI effects that are part of the (new-for-3.2.0) YUI Transition module are available in SimpleYUI:

//fade #demo, then remove it from the DOM:
Y.one('#demo').transition({
    easing: 'ease-out',
    duration: 2, // seconds
    opacity: 0
}, function() {
    this.remove();
});

Ajax

SimpleYUI provides the IO module’s basic Ajax functionality:

// Make an HTTP request to 'get.php':
Y.io('get.php', {
    on: {
        complete: function (id, response) {
            var data = response.responseText; // Response data.
            // ... handle the response ...
        }
    }
});

The rest of YUI is just a use() away

You aren’t limited to what comes bundled with SimpleYUI. You can bring in any other YUI 3 component, YUI 3 Gallery module, or YUI 2 component with a simple use() statement at any time.

//Use drag and drop, which is not included in the SimpleYUI rollup:
Y.use('dd-drag', function(Y) {
    var dd = new Y.DD.Drag({
        node: '#foo'
    });
});

YUI 3 is good about loading anything you need whenever you need it; just master the use() statement and you’re always just one line of code away from anything in the library that you need.

Use SimpleYUI when…

  • …you want to get started fast and learn the ropes of YUI;
  • …you want to have basic Ajax library functionality available at any time in the life of the page without creating a new YUI instance.

Don’t use SimpleYUI when…

  • …performance matters more than convenience;
  • …you want to sandbox portions of your implementation into separate instances;
  • …you want to be deliberate about when different components load and what the precise module/submodule makeup is on the page.


Read 20 times

Suscribing to  please login first
Coming in YUI 3.2.0: SimpleYUI -  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.

Coming in YUI 3.2.0: SimpleYUI
The feature described in this article is available as of YUI 3.2.0pr2, and it will be a part of the upcoming 3.2.0 release. You can start playing with it today by following the code in this article. SimpleYUI is a new way of loading and instantiating YUI 3. The SimpleYUI file contains a rollup [...] [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 03-Sep-2010 by Eric Miraglia and Adam Moore in Development
Read 20 times. More hits in More articles Coming in YUI 3.2.0: SimpleYUI Images about Coming in YUI 3.2.0: SimpleYUI
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 3.2.0 Released: SimpleYUI, Touch Event Support, Gestures, Transitions, CSS Grids, ScrollView, Uploader, and More
Intrinsic touch support in YUI 3.2.0 brings touch support to a wide range of YUI-powered interactions, including Drag and Drop and Slider. - YUI 3.2.0 Released: SimpleYUI, Touch Event Support, Gestures, Transitions, CSS Grids, ScrollView, Uploader, and More The YUI team is pleased to announce the GA release of YUI 3.2.0, a significant update to YUI’s JavaScript and CSS components. This release features a host of performance improvements and major new support for mobile devices with touch UIs. The Gesture module in YUI 3.2.0 brings touch support to a wide range of YUI-powered [...] [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 07-Sep-2010 by Eric Miraglia in Development
Read 40 times. More hits in More articles YUI 3.2.0 Released: SimpleYUI, Touch Event Support, Gestures, Transitions, CSS Grids, ScrollView, Uploader, and More Images about YUI 3.2.0 Released: SimpleYUI, Touch Event Support, Gestures, Transitions, CSS Grids, ScrollView, Uploader, and More
Kotaku`s The Gamers Guide Blogger

XBOX 360 Gamers Weblog Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred

The Greenskins Are Coming, and Warhammer 40,000: Space Marine Co-Op Mode Is Coming With [Video]
Click here to read The Greenskins Are Coming, and <em>Warhammer 40,000: Space Marine</em> Co-Op Mode Is Coming With - The Greenskins Are Coming, and Warhammer 40,000: Space Marine Co-Op Mode Is Coming With [Video] [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 25-Oct-2011 by Mike Fahey in Warhammer 40.000Co-opExterminatusPCPlaystationRelicSpace MarineThqTrailerXbox
Read 2 times. More hits in More articles The Greenskins Are Coming, and Warhammer 40,000: Space Marine Co-Op Mode Is Coming With [Video] Images about The Greenskins Are Coming, and Warhammer 40,000: Space Marine Co-Op Mode Is Coming With [Video]
Joystiq Blogger

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

Physics puzzler 'The Splatters' coming to XBLA in 2012, coming to PAX this month
The Splatters (XBLA) - Physics puzzler [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 11-Aug-2011 by Richard Mitchell in microsoftmicrosoft-studiosspikysnailspikysnail-gamesthe-splattersxblaxbox
Read 0 times. More hits in More articles Physics puzzler Images about Physics puzzler
Kotaku`s The Gamers Guide Blogger

XBOX 360 Gamers Weblog Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred

Castle Crashers Patch Still Coming, Still Coming [Xbox Live Arcade]
Remember back in September when The Behemoth calmed our fears about Castle Crashers' shaky online multiplayer, noting that "we?re on our way to getting this title update out"? Yeah, whatever happened to that, Behemoth? Three months later, with patience weari [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 01-Dec-2008 by Michael McWhertor in Xbox Live Arcade Castle Crashers patch watch The Behemoth Xbla Xbox 360
Read 22 times. More hits in More articles  Castle Crashers Patch Still Coming, Still Coming [Xbox Live Arcade] Images about  Castle Crashers Patch Still Coming, Still Coming [Xbox Live Arcade]
Joystiq Blogger

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

Days of Arcade promotion coming to XBLA March 18; Lode Runner, six other titles coming soon
Image 0 en  - Days of Arcade promotion coming to XBLA March 18; Lode Runner, six other titles coming soon Xbox Live figurehead Major Nelson recently updated his blog with the titillating announcement of a six-week long promotion titled the "Days of Arcade." Similar to last year's "Summer of Arcade" event, the promotion will kick off March 18 [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 05-Mar-2009 by Griffin McElroy in
Read 16 times. More hits in More articles Days of Arcade promotion coming to XBLA March 18; Lode Runner, six other titles coming soon Images about Days of Arcade promotion coming to XBLA March 18; Lode Runner, six other titles coming soon
Joystiq Blogger

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

Limbo, Trials HD and Splosion Man coming to retail in XBLA triple pack [Update: It's coming on April 19!]
Image 0 en  - Limbo, Trials HD and Splosion Man coming to retail in XBLA triple pack [Update: It Three of Xbox Live Arcade's most lauded games are getting bundled together in one retail package, it seems. Twisted Pixel CEO and co-founder, Michael Wilford, revealed thi [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 09-Mar-2011 by David Hinkle in limbomicrosoftmicrosoft-game-studiosplaydeadredlynxsplosion-mantrials-hdtwisted-pixelxblaxbox
Read 0 times. More hits in More articles Limbo, Trials HD and Splosion Man coming to retail in XBLA triple pack [Update: It Images about Limbo, Trials HD and Splosion Man coming to retail in XBLA triple pack [Update: It
Joystiq Blogger

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

Oddworld games coming to PSN, former console-exclusive entries coming to PC
Image 0 en  - Oddworld games coming to PSN, former console-exclusive entries coming to PC It's been a full four years since we last controlled any of Oddworld's strange inhabitants, with the most recent entry in the series dropping on Xbox. We'll get another chance soon, however, as an interview with Bitmob earlier thi [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 09-Oct-2009 by Ben Gilbert in bitmobdigital-distributionlorne-lanningmunchs-oddyseeoddworldpcpsnstrangers-wraththe-oddbox
Read 13 times. More hits in More articles Oddworld games coming to PSN, former console-exclusive entries coming to PC Images about Oddworld games coming to PSN, former console-exclusive entries coming to PC
Joystiq Blogger

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

Chrono Cross, Final Fantasy 5 and 6 all coming to PSN in coming weeks
[..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 03-Nov-2011 by Griffin McElroy in
Read 5 times. More hits in More articles Chrono Cross, Final Fantasy 5 and 6 all coming to PSN in coming weeks Images about Chrono Cross, Final Fantasy 5 and 6 all coming to PSN in coming weeks
Kotaku`s The Gamers Guide Blogger

XBOX 360 Gamers Weblog Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred

GTAIV PC Patch Is Coming, It's Coming [Grand Theft Auto IV]
Dennis Crowley and Naveen Selvadurai of foursquare - CONFIRMED: Facebook To Launch Foursquare-Killer In April As we've established, Grand Theft Auto IV on the PC is all kinds of broken. People are upset, people demand action. Well, people, action is coming, Rockstar today announcing the details of their upcoming patch. The patch - which addresses prob [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 08-Dec-2008 by Luke Plunkett in grand theft auto IV News PC Rockstar
Read 0 times. More hits in More articles  GTAIV PC Patch Is Coming, It Images about  GTAIV PC Patch Is Coming, It
Kotaku`s The Gamers Guide Blogger

XBOX 360 Gamers Weblog Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred

Watchmen: Justice Is Coming Is Coming To iPhones [Game Announce]
Click here to read Here Watchmen: The End Is Nigh isn't the only game shipping alongside the release of the big-budget, over-advertised adaptation of the graphic novel. There's an iPhone game coming too, the online multiplayer Watchmen: Justice Is Coming. Described as a "multiplayer onli [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 02-Mar-2009 by Michael McWhertor in Game Announce iPhone watchmen Watchmen: justice is coming
Read 19 times. More hits in More articles  Watchmen: Justice Is Coming Is Coming To iPhones [Game Announce] Images about  Watchmen: Justice Is Coming Is Coming To iPhones [Game Announce]
Kotaku`s The Gamers Guide Blogger

XBOX 360 Gamers Weblog Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred

There's a New Transformers Game Coming, and Grimlock's Coming With It [Transformers]
Click here to read There [..] Read complete article
Subscribe to Coming in YUI 3.2.0: SimpleYUI
Published 06-Oct-2011 by Mike Fahey in TransformersActivisionGrimlockhigh moon studiosPlaystationTransformers: Fall of CybertronXbox
Read 0 times. More hits in More articles There Images about There

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