Monday, January 19, 2009

Why today is important


Word of the Day











Article of the Day









This Day in History









Today's Birthday









In the News









Quote of the Day










Spelling Bee





difficulty level:



score: -


please wait...


spell the word:










Match Up







Match each word in the left column with its synonym on the right. When finished, click Answer to see the results. Good luck!










Hangman



Friday, December 26, 2008

Meezan

HairCut

Hello World, look at the haircut

Thursday, April 24, 2008

Improvements in VS 2008 Framework 3.5

Vs 2008 and .Net Framework 3.5 (code name is Orcas) has so many new features and improvements over Framework 3.0.The following are some of the features

1. VS 2008 Multi-Targeting Support 1.Multitargetting : VS 2008 support multiple versions .net framework i.e 2.0, 3.0, 3.5 .Where VS 2002 supports only .Net 1.0, VS 2003 supports 1.1, and VS 2005 supports 2.0 . That means you can open an existing project or create a new one with VS 2008, you can pick which version of the .NET Framework to work with - and the IDE will update its compilers and feature-set to match this. And that features, controls, projects, item-templates, and assembly references that not work with that version of the framework will be hidden. Unfotunately it does not support .net1.0 and .net 1.1. but we can run VS 2008 side by side with VS 2005 , VS 2003 and VS 2002 on the same machine.

2. JavaScript Intellisense :I really like this feature. When ever i am writing java script in previous versions , i think about intellisense of java script. Now i got this feature in VS 2008. Now i can enjoy the coding of javascript. This makes developer easy write of coding java script. This built in support of javascript intellisense avoids java script errors and makes developing the code faster.

3. JavaScript Debugging :Now you can stop putting alerts in your code unnecessarly to check the values of the variable or flow of control. Instead of alert boxes , now you can keep break points to look the values of the variables at client script within your server-side .aspx and .master source files.its like putting break points in server script.Any JavaScript breakpoints you set will be saved auto matically in VS 2008 when you close the project/solution. When you open up the project again, the previous locations you set the breakpoints on will still have them enabled.

4. Support of AJAX :One of the main features of VS 2008 is ASP.NET AJAX Control Extenders.These controls are derived from the System.Web.UI.ExtenderControl base class, and which can be used to add additional functionality (usually AJAX or JavaScript support) to existing controls already declared on a page. They enable developers to nicely encapsulate UI behavior, and make it really easy to add richer functionality to an application.

5. Split of Design view and Source view Editing :In VS 2005 and previous versions , we have design view , source view .Besides this features it supports a new "split-view" mode when working on pages. This allows you to see both the HTML source and the Design View at the same-time, and easily have any changes you make in one view be updated in the other. We can set the split view as horizontal as well as vertical to use maximum screen.

6. CSS Manager:VS 2008 supports a new tool window inside the IDE called "Manage Styles". This shows all of the CSS stylesheets, and their corresponding rules, for the page you are currently editing. It can be used both when you are in design-view, as well as when you are in source view on a page.

7. Nested Master Pages :The great feature in asp.net 2.0 is Master page. By including master page we can avoid redundant code like header , footer and menus which contains in all pages. Now in VS 2008 ,we can create nested master pages.

8. List View Control :One of the new controls in ASP.NET 3.5 is the control. The ListView control supports the data editing, insertion, deleting, paging and sorting semantics of higher-level controls like the GridView. But - unlike the GridView - it provides you with complete control over the html markup generated.

source: http://www.dotnetspider.com/kb/Article4449.aspx

Monday, April 14, 2008

AJAX or Toy

Using Ajax for the sake of Ajax


Sure Ajax is cool, and developers love to play with cool technology, but Ajax is a tool not a toy. A lot of the new Ajax applications are really just little toys, not developed for any real purpose, just experiments in what Ajax can do or trying to fit Ajax somewhere where it isn’t needed. Toys might be fun for a little while, but toys are not useful applications.


Breaking the back button


The back button is a great feature of standard web site user interfaces. Unfortunately, the back button doesn’t mesh very well with Javascript. Keeping back button functionality is a major reason not to go with a pure Javascript web app.


Not giving immediate visual cues for clicking widgets


If something I’m clicking on is triggering Ajax actions, you have to give me a visual cue that something is going on. An example of this is GMail loading button that is in the top right. Whenever I do something in GMail, a little red box in the top right indicates that the page is loading, to make up for the fact that Ajax doesn’t trigger the normal web UI for new page loading.


Leaving offline people behind


As web applications push the boundaries further and further, it becomes more and more compelling to move all applications to the web. The provisioning is better, the world-wide access model is great, the maintenance and configuration is really cool, the user interface learning curve is short.
However with this new breed of Ajax applications, people who have spotty internet connections or people who just don’t want to switch to the web need to be accomodated as well. Just because technology ‘advances’ doesn’t mean that people are ready and willing to go with it. Web application design should at least consider offline access. With GMail it’s POP, Backpackit has SMS integration. In the Enterprise, it’s web-services.


Don’t make me wait for Ajax


With FireFox tabs I can manage various waits at websites, and typically I only have towait for a page navigation. With AJAX apps combined with poor networkconnectivity/bandwidth/latency I can have a really terrible timemanaging an interface, because every time I do something I have to waitfor the server to return a response. God help me if it has to go to theserver’s disk before I can continue. Apps like that might even make me think Ajax wasn’t cool.


Sending sensitive information in the clear


The security of AJAX applications is subject to the same rules as any web application, except that once you can talk asynchronously to the server, you may tend to write code that is a very chatty in a potentially insecure way. All traffic must be vetted to make sure security is not compromised.


Assuming AJAX development is single platform development.


Ajax development is multi-platform development. Ajax codewill run on IE’s javascript engine, Rhino (Mozilla’s js engine), orother minor engines that may grow into major engines. So it’s notenough just to code to JavaScript standards, there needs to bereal-world thorough testing as well. A major obstacle in any seriousJavascript development is IE’s buggy JS implementation, although thereare tools to help with IE JS development.


Too much code makes the browser slow


Ajax introduces a way to make much more interesting javascript applications, unfortunately interesting often means more code running. More code running means more work for the browser, which means that for some javascript intensive websites, especially poorly coded ones, you need to have a powerful CPU to keep the functionality zippy. The CPU problem has actually been a limit on javascript functionality in the past, and just because computers have gotten faster doesn’t mean the problem has disappeared.


Not having a plan for those who do not enable or have JavaScript.


According to the W3C browser usage statistics,which if anything are skewed towards advanced browsers, 11% of allvisitors don’t have JavaScript. So if your web application is whollydependent on JavaScript, you’ve immediately cut a tenth of youraudience.


Inventing new UI conventions


A major mistake that is easy to make with Ajax is: ‘click on this non obvious thing to drive this other non obvious result’. Sure, users who use an application for a while may learn that if you click and hold down the mouse on this div that you can then drag it and permanently move it to this other place, but since that’s not in the common user experience, you increase the time and difficulty of learning your application, which is a major negative for any application.


Changing state with links (GET requests)


As I’ve referenced in a previous posting, Ajax applications introduce lots of problems for users who assume GET operations don’t change state. Not only do state changing links cause problems for robots, users who are accustomed to having links drive navigation can become confused when links are used to drive application state changes.


Blinking and changing parts of the page unexpectedly


The first A in Ajax stands for asynchronous. The problem with asynchronous messages is that they can be quite confusing when they are pop in unexpectedly. Asynchronous page changes should only ever occur in narrowly defined places and should be used judiciously, flashing and blinking in messages in areas I don’t want to concentrate on harkens back to days of the html blink tag.


Not using links I can pass to friends or bookmark


Another great feature of websites is that I can pass URLs to other people and they can see the same thing that I’m seeing. I can also bookmark an index into my site navigation and come back to it later. Javascript, and thus Ajax applications, can cause huge problems for this model of use. Since the Javascript is dynamically generating the page instead of the server, the URL is cut out of the loop and can no longer be used as an index into navigation. This is a very unfortunate feature to lose, many Ajax webapps thoughtfully include specially constructed permalinks for this exact reason.


Not cascading local changes to other parts of the page


Since Ajax/Javascript gives you such specific control over page content, it’s easy to get too focused on a single area of content and miss the overall integrated picture. An example of this is the Backpackit title. If you change a Backpackit page title, they immediately replace the title, they even remember to replace the title on the right, but they don’t replace the head title tag with the new page title. With Ajax you have to think about the whole picture even with localized changes.


Asynchronously performing batch operations


Sure with Ajax you can make edits to a lot of form fields happen immediately, but that can cause a lot of problems. For example if I check off a lot of check boxes that are each sent asynchronously to the server, I lose my ability to keep track of the overall state of checkbox changes and the flood of checkbox change indications will be annoying and disconcerting.


Scrolling the page and making me lose my place


Another problem with popping text into a running page is that it can effect the page scroll. I may be happily reading an article or paging through a long list, and an asynchronous javascript request will decide to cut out a paragraph way above where I’m reading, cutting my reading flow off. This is obviously annoying and it wastes my time trying to figure out my place.


Blocking Spidering


Ajax applications that load large amounts of text without a reload can cause a big problem for search engines. This goes back to the URL problem. If users can come in through search engines, the text of the application needs to be somewhat static so that the spiders can read it.

Labels: , , ,

Monday, January 7, 2008

ASP.Net>AJAX>VAlidation>Validation Summary

Today i learnt how to use Validation Summary control in asp.net 2.0