Posts

Showing posts from March, 2009

Usability Tips

Smashing Magazine offers 8 usability check-points you should be aware of - Avoid Pop-ups Don’t change users’ window size. Don’t use too small font sizes. Don’t have unclear link text. Avoid dead links. Have at most one animation per page. Make it easy to contact you. Open internal links in the same window. The article explains how if your visitors don’t understand how they can get from point A to point B they won’t use your site.

Free ASP.NET Charting Tools

Image
Luckily for ASP.NET developers there are some cool free ASP.NET Charting Tools that are as good as the commercial ones. 1. Microsoft Chart controls - Some interesting facts : Microsoft acquired Dundas Data Visualization Intellectual Property in April 2007 and is integrating this technology in different Microsoft products. New Chart and Gauge report items were already released as part of SQL Reporting Services 2008. Microsoft Chart controls (ASP.NET and Windows Forms) was released at PDC 2008 Microsoft Chart control is based on Dundas Chart source code version 5.5 Microsoft Chart control is available as a separate installation for .NET Framework 3.5 SP1 and will be part of .NET Framework 4.0. 2. CarlosAg's WebChart  control  - Supports 8 chart types Can be used with WinForms & Web 3. Google Charts API Includes a growing number of Image & Interactive chart types API is URL based which means; no installation of any components is required 4. NPlot Includ...

HOW TO create your own IE8 Accelerator

Roughly a year after it has been in Beta, IE8 was released last week. It is more standards compliant than the versions before it. This is good news for web developers as they won't have to write browser specific code. IE8 also introduces new features like Accelerators and Web Slices that will surely interest web developers. Accelerators are XML files that let you act on data in a web page by interacting with web services. It is more direct than using a search provider which again does not adapt to all scenarios. Accelerators appear in the context menu. Although it may look a little daunting at first, it is simple to create and deploy as it all it takes is filling up an XML template (borrowed from a MSDN code sample). The OpenService Accelerators Developer Guide explains what the elements & attributes of the Accelerator XML file mean. I prefer previewing PDF & Word files in web pages that I surf instead of opening them directly. Google Search & GMail have a way to pre...

Free Programmable & Searchable Dictionaries

If you had to build a custom spell check functionality or something similar for your application, there are thankfully free Dictionaries in text and database format. FOLDOC is a searchable dictionary available as a text file and offered under the GNU Free Documentation License. You can use a database tool like SSIS to convert the dictionary into a database table & validate your words against it. WordNet from Princeton University is unencumbered for commercial use . ObjectGraph has a SQL Server database version of it .

Reach out for the stars with WWT

If you are fond of astronomy, you shouldn't miss Microsoft Research's WorldWide Telescope (WWT) The WorldWide Telescope (WWT) is a Web 2.0 visualization software environment that enables your computer to function as a virtual telescope—bringing together imagery from the best ground and space-based telescopes in the world for a seamless exploration of the universe There is a Web-based version running on Silverlight and a Windows Client version to choose from.

HOW TO perform mouse-like navigation with your keyboard

If ever your mouse stops working midway while working on your PC, the Mouse Keys feature can be a savior. In Windows Vista, go to Control Panel, Ease of Access Center and in the second panel of the dialog box that opens up, you will find a section "Control the mouse with the keyboard". Select the check box that says "Turn on Mouse Keys" and then hit the Apply button at the bottom. Now you can use the arrow keys in the numeric keypad of your keyboard to move the mouse around the screen.

Accidental Discoveries

Did you know Anesthesia, Iodine, Penicillin, the Telephone, Photography, Mauve Dye, Nylon, Vulcanized Rubber are all accidental discoveries? I enjoyed reading the funny stories behind them and this reminded me of how I ran into or discovered (if I may call it so as it is on a different note than the profound discoveries mentioned earlier) the cool "Generic Handler" feature introduced in ASP.NET 2.0 . I have found the feature extremely useful . They're equivalent to custom handlers in that they contain classes that fully implement IHttpHandler but they are a lot simpler to use. A Generic Handler has a .ASHX extension. It is like a .ASPX page but it doesn't render a complete HTML page. It can be used to dynamically return specific content. So dear Reader, have you discovered any hidden gems like this that have benefitted you greatly?

Web Platforms

Web Platform refers to an API or SDK provided to external developers by a product to build applications on. Top 10 Web Platforms of 2008 is the tenth in the "Top 10" article series on web based products compiled by ReadWriteWeb - iPhone SDK OpenSocial , an open API framework from Google for social networks and websites Adobe AIR (Adobe Integrated Runtime) Twitter API Facebook Platform Android Amazon Web Services Live Mesh Fire Eagle Mozilla Weave Also see: Web APIs galore

HOW TO customize Search Engine results programmatically

Image
All the popular search engines offer APIs to programmatically access results. The Live Search API 2.0 reportedly serves more than 3 billion queries/month. Google offers specialized searches like Local Search and Blog Search that narrow down the scope of results. These specific category search results can also be fetched through code as this WebMonkey article explains . Trivia: WebMonkey has a funny way of representing the skill level required for understanding the article -

HOW TO execute a SELECT query Without Column Names

A developer posted an unusual T-SQL question on an online Message Board I frequent. He wanted to know how to find a column's value without specifying the column name. I guessed syscolumns would be part of the puzzle and rather than construct the query I searched & found a complete working snippet by Kalman Toth . It gets the third, fourth and sixth columns of the Contact table (in SQL Server 2005's AdventureWorks database) without explicitly specifying the column names in the SELECT query - use AdventureWorks go declare @SchemaName as sysname, @TableName as sysname declare @Col3 as sysname, @Col4 as sysname, @Col6 as sysname declare @SQLstring as nvarchar(512) set @SchemaName = 'Person' set @TableName = 'Contact' select @Col3 = sc.name from sys.objects as so inner join sys.syscolumns as sc on so.object_id = sc.id where so.name = @TableName and sc.colid = 3 select @Col4 = sc.name from sys.objects as so inner join sys.syscolumns as sc on so.object_id = sc.id...

The History of Microsoft

Image
Channel 9 is running a series called "The History of Microsoft" that chronicles the struggles and successes of Microsoft covering a year per episode starting with it's inception in 1975 (the same year I was born). There is a new episode every Thursday with rare footage.

IE8 Developer Tools Tips & Tricks - #6: Count links in a page

Google Webmaster Guidelines recommend keeping the links on a given page to a reasonable number (fewer than 100). Matt Cutts explains that although not following "100 links" recommendation will not result in Google automatically considering the page to be spammy, it is a good idea to follow the guideline as it will provide a better user experience and ... If you end up with hundreds of links on a page, Google might choose not to follow or to index all those links. At any rate, you’re dividing the PageRank of that page between hundreds of links, so each link is only going to pass along a minuscule amount of PageRank anyway. So if you would like to follow the guideline, how to count links in web page? IE8 Developer Tools generates a nice report with a numbered list of all the links in a page when you choose View > Link Report from the Developer Tools menu. Although earlier versions of IE Developer Tools/Toolbar had this Link Report feature, the links were not numbered. Al...

HOW TO speed up a ASP.NET AJAX web app

Just like making web pages cross-browser doesn't have a straight-forward solution , speeding up your ASP.NET AJAX based web application requires an understanding of it's internal aspects. Outlined below are some performance tips compiled from various sources - UpdatePanels can sometimes be dangerous . If you are using an UpdatePanel, reduce the number of controls within it if you can. Update without UpdatePanels - call WebMethods from JavaScript using ASP.NET AJAX Enable Compression and Caching using the scriptResourceHandler element in the web.config of your ASP.NET AJAX application. Consider setting ScriptManager control's properties LoadScriptsBeforeUI to "False" and explicitly set ScriptMode to "Release" . Generic ASP.NET performance improvement tips that also strongly relate to ASP.NET AJAX - Use tools like FireFox Firebug addon YSlow or the Fiddler add-on neXpert , to analyze web pages and identify why they're slow. Don’t run production...

New Free ASP.NET Learning Resources

Kobe is a getting started resource kit on planning, architecting, and implementing Web 2.0 style apps and services using the Microsoft Web Platform. (Kobe also is a prominent port city in Japan and the name of a popular American basketball player) The new ASP.NET MVC framework is about to ship and Scott Guthrie's 185 page tutorial, which is part of an upcoming ASP.NET MVC book to be published by Wrox, is available as a free PDF download (14MB)

Windows 7 will let users turn off Windows Features, IE

In December 2007, Opera filed an antitrust complaint with the European Commission against Microsoft to unbundle IE from Windows. PPK asks a pertinent question - Opera, how would an end user get the Internet to work on his shiny new unbundled Windows computer? Which icon does he click? Which program starts up? What else does the end user have to do? The news now is that in Microsoft's Windows 7, users will be able to remove Internet Explorer 8, as well as several other Microsoft applications, from Windows 7.

Beat the Recession with Tip Jar

Wikipedia has long leveraged the wisdom of crowds. Similarly Google's Tip Jar , probably built during some Googler's 20% time , gathers money-saving tips in one place and invites people to rank them in order of usefulness with the expectation that over time, the best and most useful tips will rise to the top. StackOverflow, the programming Q & A site, is another such website that provides superior answers through a similar ranking system where users vote for best answers. StackOverflow also has an interesting reputation system .

Geniuses

In the Forbes article "How to be a Genius", Scott Berkun mentions two personal attributes among two others that aspiring geniuses can take note of - Be obsessed with work Don't strive for fame in your own lifetime An aggrieved reader sarcastically pointed out if being male should also be a criterion as no female names were mentioned in the article. One of my all-time favorite scientists Marie Curie transcended superficial barriers of gender, language and country in pursuit of knowledge to make discoveries of far-reaching effect for mankind. The New York Times obituary titled "Mme. Curie Is Dead; Martyr to Science" described Marie Curie thus: Few persons contributed more to the general welfare of mankind and to the advancement of science than the modest, self-effacing woman whom the world knew as Mme. Curie. Her epoch-making discoveries of polonium and radium, the subsequent honors that were bestowed upon her--she was the only person to receive two Nobel priz...

2 months of BigFlix

Image
Here is my feedback on BigFlix , India's version of NetFlix, after subscribing to it for 2 months - It's nice that DVDs are home delivered generally in a day. You can place a pick-up request by phone or their website. Their Call Center initially used to work from 10:30 AM to 9 PM but now stays open between 10:30 AM to 7 PM. If you are using their website, you have to place a pick-up request before 7 AM the next day to get a DVD delivered next day. The movies you set with the highest priority may not be the ones you will receive. They have now modified the Queue page to show estimated waiting time. The quality of DVDs may not always be good. Popular movies prior to 2005 may not play well. These are the movies from the BigFlix collection that I liked and recommend - Thank You For Smoking - A comedy about a much hated Tobacco lobbyist in America grappling with a divorce and job challenges. He goes on to impress his young son and salvage his career. The Pacifier - In this Disney ...