first_page

“…the immediate availability of YUI 2.8.0” and other links…

YUI Library's 1st Birthday Party T-shirt “YUI 2.8.0: Storage Utility, ProgressBar Control, Swf and SwfStore Utilities”

Yahoo! User Interface Blog: “The YUI team and project contributors are pleased to announce the immediate availability of YUI 2.8.0. This release brings in four new components (Storage Utility, SWFStore Utility, SWF Utility, and the ProgressBar Control) along with hundreds of fixes and enhancements. George Puckett’s release notes for YUI 2.8.0 provide a comprehensive overview of the changes. …The team remains hard at work on YUI 3, and we’re now finalizing the documentation for the upcoming 3.0.0 GA release that will bring the new YUI 3 core and most utilities out of beta. YUI 3 is also available on GitHub, so feel free to clone the YUI 3 repo and start exercising the upcoming release. Beyond the GA, we’ll continue to work on bringing widgets to YUI 3 on the new Widget stack and making it easier for the community to make contributions across the project.”

“Improving Entity Framework Performance”

Dariusz quatscht: “My guess was that the instantiation of the connection string could be the problem. Why? Because several things happen here. First, the EntityConnection which is created when not specifying any argument in the constructor of the typed object context class NorthwindEntities, has to read from the config file. I/O cost. Second, it has to read the metadata information, which is stored by default in the assembly as resource. Second performance cost. Here is my optimization approach. One of the overload constructors is taking an EntityConnection object. Guess what, you probably just use this one connection object during the whole life time of your application, so why not create it once and give it into the constructor. This does not mean that I open the connection beforehand, no, I just create the type EntityConnection and retrieve the meta information in the first call. From that, I reuse this instance, so no need anymore to retrieve the metadata information again.”

“How to Debug in PHP”

Carsonified: “FirePHP …For all you FireBug fans out there, FirePHP is a really useful little PHP library and Firefox add-on that can really help with AJAX development. …Essentially FirePHP enables you to log debug information to the Firebug console using a simple method call like so:<?php $sSql = 'SELECT * FROM tbl'; FB::log('SQL query: ' . $sSql); In an instance where I’m making an AJAX search request, for example, it might be useful to pass back the SQL string my code is constructing in order that I can ensure my code is behaving correctly. All data logged to the Firebug console is sent via response headers and therefore doesn’t effect the page being rendered by the browser.”

rasx()