Saturday, January 19, 2008

Popfly - Creating Meshups with Silverlight

I tried using popfly to create simple Mashup. I think this is fast.
http://www.popfly.com

Although I'm still trying my head around the Silverlight.

I think this could be going to be an answer to Adobe Flex for creating RIA.
Advice: To grips with new technology is to look under the hood to see how it was done.

Friday, January 18, 2008

MICROSOFT SILVERLIGHT

Silverlight includes a cross platform version of the .NET Framework, and enables a rich .NET development experience within a browser support Firefox, Safari and IE browsers on both the Mac and Windows.big benefit of this technology for end users is that they will not have to download different video player technology to view online media based on what OS they are running....A built-in CLR engine that delivers a super high performance execution environment for the browser. Silverlight uses the same core CLR engine that ships with the full .NET Framework. It delivers the same type-system, garbage collector, and JIT code generation engine that your .NET code uses today. This means that you can write .NET code that can now run in Silverlight, ASP.NET, and a WinForms/WPF Windows application. It also means you can now execute code within the browser that runs faster than interpreted Javascript.The main problem with Flash is that all your classes and objects have to be written twice. You need .NET classes to handle the author time experience and Flash classes to handle the run-time.but that doesn't mean flash is dead..its just silverlight has got the support of comapny that ship operating system 90% of the world uses.

Wednesday, January 16, 2008

India to see $700-bn investment in 4 yrs: Kamath

"Just to put in context, about ten years back near 1995-96, if the national investment reached 15-20 billion dollars a year, we thought that was a tremendous improvement... We have raised the bar higher for ourselves.

It is across all sectors, all areas where we see bottlenecks. There is nothing left out. If we see bottlenecks, this would mean that it needs to be funded," he said.

http://economictimes.indiatimes.com/News/Economy/Finance/India_to_see_700-bn_investment_in_4_yrs_Kamath/rssarticleshow/2696605.cms

Download Any appliction quick and very fast

You can download any application, movies etc by following these simple steps

  • Download the azureus tool from this site http://azureus.sourceforge.net/download.php.
  • Search the application or anything which you want to download by using this site http://torrentz.com/.
  • Download the .iso file of searched application by using azureus tool that will give fast downloading speed by downloading app from various source.
  • Now you need a virtual Drive for reading .iso file.So Download the Daemon tool from this site http://www.daemon-tools.cc/dtcc/archive/registry-access-error-t1497.html
  • Create a New virtual drive by using daemon tool and mount it with downloaded .iso file.
  • Now you can installed it by click on virtual directory.

Another killer product from Apple

"MacBook Air is ultrathin, ultraportable, and ultra unlike anything else. But you don’t lose inches and pounds overnight. It’s the result of rethinking conventions. Of multiple wireless innovations. And of breakthrough design. With MacBook Air, mobile computing suddenly has a new standard."


Thinnovation

Intel Core 2 Duo processor with 4MB on-chip shared L2 cache running at full processor speed

* 800MHz frontside bus
* 2GB of 667MHz DDR2 SDRAM onboard
* Built-in AirPort Extreme Wi-Fi wireless networking (based on IEEE 802.11n draft specification)
Bluetooth: Built-in Bluetooth 2.1 + EDR (Enhanced Data Rate)
* Intel GMA X3100 graphics processor with 144MB of DDR2 SDRAM shared with main memory

setAttribute doesn't always work in IE

now don't ask me please what does i mean by always........ :(

means some times it works and some time it don't

When calling the DOM method .setAttribute( attName, attValue ); in IE, there are several circumstances where it will not work.
Setting the "name" attribute does not work, the "colspan" & "rowspan" attributes for th and td tags does not work, the "frameborder" attribute on iframes does not work, nor the "cellpadding" or "cellspacing" attributes on table tags.

Setting any of the inline event attributes does not work either! therefore ALL of the following will not work:

obj.setAttribute( 'onblur', doSomething );
obj.setAttribute( 'onclick', doSomething );
obj.setAttribute( 'onchange', doSomething );
obj.setAttribute( 'ondblclick', doSomething );
obj.setAttribute( 'onerror', doSomething );
obj.setAttribute( 'onfocus', doSomething );
obj.setAttribute( 'onmousedown', doSomething );
obj.setAttribute( 'onmouseover', doSomething );
obj.setAttribute( 'onmouseout', doSomething );
obj.setAttribute( 'onmouseup', doSomething );
obj.setAttribute( 'onkeydown', doSomething );
obj.setAttribute( 'onkeyup', doSomething );
obj.setAttribute( 'onkeypress', doSomething );
obj.setAttribute( 'onload', doSomething );
obj.setAttribute( 'onsubmit', doSomething );
obj.setAttribute( 'onreset', doSomething );
obj.setAttribute( 'onunload', doSomething );
obj.setAttribute( 'on*', doSomething );


You also can not set the "class" attribute, nor the "for" attribute, or even the "style" attribute.

Example: ...


Known Workarounds: Well there are several, and each depends on which attribute you are trying to set. The following table indicates what you can use to workaround these bugs.



Attribute: Workaround

* class: Use "className"

* name: None

* type: "type" is readonly in IE

* cellpadding: Use "cellPadding"

* cellspacing: Use "cellSpacing"

* acceptcharset: Use "acceptCharset"

* frameborder: Use "frameBorder"

* readonly: Use "readOnly"

* maxlength: Use "maxLength"

* marginwidth: Use "marginWidth"

* marginheight: Use "marginHeight"

* noresize: Use "noResize"

* noshade: Use "noShade"

* defaultselected: Use "defaultSelected"

* defaultvalue: Use "defaultValue"

* accesskey: Use "accessKey"

* hspace: Use "hSpace"

* vspace: Use "vSpace"

* bgcolor: Use "bgColor"

* longdesc: Use "longDesc"

* colspan: Use "colSpan"

* rowspan: Use "rowSpan"

* valign: Use "vAlign"

* tabindex: Use "tabIndex"

* on*: Inline events can not be set in IE, attach event handlers instead




Example Workaround Code:


//set variable IE=true when User Agent known to be IE.
if(!IE){
obj.setAttribute( 'class', 'special' );
} else {
obj.setAttribute( 'className', 'special' );
}

IE caches your AJAX

So, you're doing all kinds of funky stuff with AJAX now, and you've come to notice in your testing that sometimes Internet Explorer is not really hitting your server, but instead caching your AJAX calls?! Even if you set the no-cache header!

Known Workarounds: Two. If you are calling a particular request repetitively, but are expecting different results, add a unique parameter to the request.


Example Workaround Code:


<script>
var url = 'http://www.example.com/dir/foo?param1=a¶m2=b';
//add a unique param to the request (adjust to suit)
url += '&guid=' + new Date().getTime();
</script>





Known Workaround: Second Option.
Set the full cache header information, not just the no-cache.


Example Workaround Code:


<!-- This example is using PHP -->
<?php
header("Pragma: no-cache");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Cache-Control: no-store, no-cache, must-revalidate");
?>