<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fazeel's</title>
	<atom:link href="http://fazeel.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fazeel.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 01 Apr 2010 04:36:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fazeel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Fazeel's</title>
		<link>http://fazeel.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fazeel.wordpress.com/osd.xml" title="Fazeel&#039;s" />
	<atom:link rel='hub' href='http://fazeel.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Single Word Suggest Oracle</title>
		<link>http://fazeel.wordpress.com/2009/09/08/singlewordsuggestoracle/</link>
		<comments>http://fazeel.wordpress.com/2009/09/08/singlewordsuggestoracle/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 04:13:57 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[autocomplete]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[suggest]]></category>
		<category><![CDATA[typeahead]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/?p=28</guid>
		<description><![CDATA[* This is kind of a data dictionary for the type ahead search box providing suggestions. * * This file is similar to the class MutliWordSuggestOracle provided by GWT. * The behaviour of the GWT class was different from what was needed. * Extending the class was not an option since many methods were private. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=28&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* This is kind of a data dictionary for the type ahead search box providing suggestions.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">*</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* This file is similar to the class MutliWordSuggestOracle provided by GWT.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* The behaviour of the GWT class was different from what was needed.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* Extending the class was not an option since many methods were private. Also member</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* variables were private without any getters or setters.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">*</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* The name Single Word Handler explains the purpose of class. All characters are used in</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* matching. For example, the query &#8220;bar&#8221; would match &#8220;bar&#8221;, but not &#8220;foo bar&#8221;.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">* In case you want the match to happen, you should use MultiWordSuggestOracle of GWT.</div>
<p>This is kind of a data dictionary for the type ahead search box providing suggestions.</p>
<p>This file is similar to the class MultiWordSuggestOracle provided by GWT. The behaviour of the GWT class was different from what was needed. Extending the class was not an option since many methods were private. Also member variables were private without any getters or setters.</p>
<p>The name Single Word Handler explains the purpose of class. Normally all characters are used in matching.</p>
<p>For example, the query &#8220;Ka&#8221; would match &#8220;Kangana Ranawat&#8221;, as well as &#8220;Shahid Kapoor&#8221;. This is because MultiWord considers each word separately for matching.</p>
<p>In case you do not want the match to happen, i.e. the query &#8220;Ka&#8221; would match &#8220;Kangana Ranawat&#8221;, but not &#8220;Shahid Kapoor&#8221;, then use this class provided.</p>
<p>The implementation of code is attached.</p>
<p>/**</p>
<p>* This is kind of a data dictionary for the type ahead search box providing suggestions.</p>
<p>*</p>
<p>* This file is similar to the class MutliWordSuggestOracle provided by GWT.</p>
<p>* The behaviour of the GWT class was different from what was needed.</p>
<p>* Extending the class was not an option since many methods were private. Also member</p>
<p>* variables were private without any getters or setters.</p>
<p>*</p>
<p>* The name Single Word Handler explains the purpose of class. All characters are used in</p>
<p>* matching. For example, the query &#8220;bar&#8221; would match &#8220;bar&#8221;, but not &#8220;foo bar&#8221;.</p>
<p>* In case you want the match to happen, you should use MultiWordSuggestOracle of GWT.</p>
<p>*/</p>
<p>/*</p>
<p>* Copyright 2007 Google Inc.</p>
<p>*</p>
<p>* Licensed under the Apache License, Version 2.0 (the &#8220;License&#8221;); you may not</p>
<p>* use this file except in compliance with the License. You may obtain a copy of</p>
<p>* the License at</p>
<p>*</p>
<p>* http://www.apache.org/licenses/LICENSE-2.0</p>
<p>*</p>
<p>* Unless required by applicable law or agreed to in writing, software</p>
<p>* distributed under the License is distributed on an &#8220;AS IS&#8221; BASIS, WITHOUT</p>
<p>* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the</p>
<p>* License for the specific language governing permissions and limitations under</p>
<p>* the License.</p>
<p>*/</p>
<p>package adv.client.tree;</p>
<p>import com.google.gwt.core.client.GWT;</p>
<p>import com.google.gwt.user.client.ui.HTML;</p>
<p>import com.google.gwt.user.client.ui.SuggestOracle;</p>
<p>import java.util.*;</p>
<p>public class AdvSingleWordSuggestOracle extends SuggestOracle</p>
<p>{</p>
<p>/**</p>
<p>* Suggestion class for {@link AdvMultiWordSuggestOracle}.</p>
<p>*/</p>
<p>public static class AdvSingleWordSuggestion implements Suggestion</p>
<p>{</p>
<p>private String displayString;</p>
<p>private String replacementString;</p>
<p>/**</p>
<p>* Constructor for &lt;code&gt;AdvMultiWordSuggestion&lt;/code&gt;.</p>
<p>*</p>
<p>* @param replacementString the string to enter into the SuggestBox&#8217;s text</p>
<p>*          box if the suggestion is chosen</p>
<p>* @param displayString the display string</p>
<p>*/</p>
<p>public AdvSingleWordSuggestion(String replacementString, String displayString)</p>
<p>{</p>
<p>this.replacementString = replacementString;</p>
<p>this.displayString = displayString;</p>
<p>}</p>
<p>public String getDisplayString()</p>
<p>{</p>
<p>return displayString;</p>
<p>}</p>
<p>public String getReplacementString()</p>
<p>{</p>
<p>return replacementString;</p>
<p>}</p>
<p>}</p>
<p>private static final char WHITESPACE_CHAR = &#8216; &#8216;;</p>
<p>private static final String WHITESPACE_STRING = &#8221; &#8220;;</p>
<p>/**</p>
<p>* Regular expression used to collapse all whitespace in a query string.</p>
<p>*/</p>
<p>private static final String NORMALIZE_TO_SINGLE_WHITE_SPACE = &#8220;\\s+&#8221;;</p>
<p>private static HTML convertMe = GWT.isClient() ? new HTML() : null;</p>
<p>/**</p>
<p>* Associates substrings with words.</p>
<p>*/</p>
<p>private final TreeSet&lt;String&gt; tree = new TreeSet&lt;String&gt;();</p>
<p>/**</p>
<p>* Associates individual words with candidates.</p>
<p>*/</p>
<p>private HashMap&lt;String, Set&lt;String&gt;&gt; toCandidates = new HashMap&lt;String, Set&lt;String&gt;&gt;();</p>
<p>/**</p>
<p>* Associates candidates with their formatted suggestions.</p>
<p>*/</p>
<p>private HashMap&lt;String, String&gt; toRealSuggestions = new HashMap&lt;String, String&gt;();</p>
<p>private Response defaultResponse;</p>
<p>/**</p>
<p>* Adds a suggestion to the oracle. Each suggestion must be plain text.</p>
<p>*</p>
<p>* @param suggestion the suggestion</p>
<p>*/</p>
<p>public void add(String suggestion)</p>
<p>{</p>
<p>String candidate = normalizeSuggestion(suggestion);</p>
<p>// candidates &#8211;&gt; real suggestions.</p>
<p>toRealSuggestions.put(candidate, suggestion);</p>
<p>tree.add(candidate);</p>
<p>Set&lt;String&gt; l = toCandidates.get(candidate);</p>
<p>if (l == null)</p>
<p>{</p>
<p>l = new HashSet&lt;String&gt;();</p>
<p>toCandidates.put(candidate, l);</p>
<p>}</p>
<p>l.add(candidate);</p>
<p>}</p>
<p>/**</p>
<p>* Adds all suggestions specified. Each suggestion must be plain text.</p>
<p>*</p>
<p>* @param collection the collection</p>
<p>*/</p>
<p>public final void addAll(Collection&lt;String&gt; collection)</p>
<p>{</p>
<p>for (String suggestion : collection)</p>
<p>{</p>
<p>add(suggestion);</p>
<p>}</p>
<p>}</p>
<p>/**</p>
<p>* Removes all of the suggestions from the oracle.</p>
<p>*/</p>
<p>public void clear()</p>
<p>{</p>
<p>tree.clear();</p>
<p>toCandidates.clear();</p>
<p>toRealSuggestions.clear();</p>
<p>}</p>
<p>@Override</p>
<p>public boolean isDisplayStringHTML()</p>
<p>{</p>
<p>return true;</p>
<p>}</p>
<p>@Override</p>
<p>public void requestDefaultSuggestions(Request request, Callback callback)</p>
<p>{</p>
<p>if (defaultResponse != null)</p>
<p>{</p>
<p>callback.onSuggestionsReady(request, defaultResponse);</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>super.requestDefaultSuggestions(request, callback);</p>
<p>}</p>
<p>}</p>
<p>@Override</p>
<p>public void requestSuggestions(Request request, Callback callback)</p>
<p>{</p>
<p>final List&lt;AdvSingleWordSuggestion&gt; suggestions = computeItemsFor(</p>
<p>request.getQuery(), request.getLimit());</p>
<p>Response response = new Response(suggestions);</p>
<p>callback.onSuggestionsReady(request, response);</p>
<p>}</p>
<p>/**</p>
<p>* Sets the default suggestion collection.</p>
<p>*</p>
<p>* @param suggestionList the default list of suggestions</p>
<p>*/</p>
<p>public void setDefaultSuggestions(Collection&lt;Suggestion&gt; suggestionList)</p>
<p>{</p>
<p>this.defaultResponse = new Response(suggestionList);</p>
<p>}</p>
<p>/**</p>
<p>* A convenience method to set default suggestions using plain text strings.</p>
<p>*</p>
<p>* Note to use this method each default suggestion must be plain text.</p>
<p>*</p>
<p>* @param suggestionList the default list of suggestions</p>
<p>*/</p>
<p>public final void setDefaultSuggestionsFromText(</p>
<p>Collection&lt;String&gt; suggestionList)</p>
<p>{</p>
<p>Collection&lt;Suggestion&gt; accum = new ArrayList&lt;Suggestion&gt;();</p>
<p>for (String candidate : suggestionList)</p>
<p>{</p>
<p>accum.add(createSuggestion(candidate, candidate));</p>
<p>}</p>
<p>setDefaultSuggestions(accum);</p>
<p>}</p>
<p>/**</p>
<p>* Creates the suggestion based on the given replacement and display strings.</p>
<p>*</p>
<p>* @param replacementString the string to enter into the SuggestBox&#8217;s text box</p>
<p>*          if the suggestion is chosen</p>
<p>* @param displayString the display string</p>
<p>*</p>
<p>* @return the suggestion created</p>
<p>*/</p>
<p>protected AdvSingleWordSuggestion createSuggestion(String replacementString,</p>
<p>String displayString)</p>
<p>{</p>
<p>return new AdvSingleWordSuggestion(replacementString, displayString);</p>
<p>}</p>
<p>String escapeText(String escapeMe)</p>
<p>{</p>
<p>convertMe.setText(escapeMe);</p>
<p>String escaped = convertMe.getHTML();</p>
<p>return escaped;</p>
<p>}</p>
<p>/**</p>
<p>* Compute the suggestions that are matches for a given query.</p>
<p>*</p>
<p>* @param query search string</p>
<p>* @param limit limit</p>
<p>* @return matching suggestions</p>
<p>*/</p>
<p>private List&lt;AdvSingleWordSuggestion&gt; computeItemsFor(String query, int limit)</p>
<p>{</p>
<p>query = normalizeSearch(query);</p>
<p>// Get candidates from search words.</p>
<p>List&lt;String&gt; candidates = createCandidatesFromSearch(query, limit);</p>
<p>// Convert candidates to suggestions.</p>
<p>return convertToFormattedSuggestions(query, candidates);</p>
<p>}</p>
<p>/**</p>
<p>* Returns real suggestions with the given query in &lt;code&gt;strong&lt;/code&gt; html</p>
<p>* font.</p>
<p>*</p>
<p>* @param query query string</p>
<p>* @param candidates candidates</p>
<p>* @return real suggestions</p>
<p>*/</p>
<p>private List&lt;AdvSingleWordSuggestion&gt; convertToFormattedSuggestions(String query,</p>
<p>List&lt;String&gt; candidates)</p>
<p>{</p>
<p>List&lt;AdvSingleWordSuggestion&gt; suggestions = new ArrayList&lt;AdvSingleWordSuggestion&gt;();</p>
<p>for (int i = 0; i &lt; candidates.size(); i++)</p>
<p>{</p>
<p>String candidate = candidates.get(i);</p>
<p>int index = 0;</p>
<p>int cursor = 0;</p>
<p>// Use real suggestion for assembly.</p>
<p>String formattedSuggestion = toRealSuggestions.get(candidate);</p>
<p>// Create strong search string.</p>
<p>StringBuffer accum = new StringBuffer();</p>
<p>while (true)</p>
<p>{</p>
<p>index = candidate.indexOf(query, index);</p>
<p>if (index == -1)</p>
<p>{</p>
<p>break;</p>
<p>}</p>
<p>int endIndex = index + query.length();</p>
<p>if (index == 0)</p>
<p>{</p>
<p>String part1 = escapeText(formattedSuggestion.substring(cursor, index));</p>
<p>String part2 = escapeText(formattedSuggestion.substring(index,</p>
<p>endIndex));</p>
<p>cursor = endIndex;</p>
<p>accum.append(part1).append(&#8220;&lt;strong&gt;&#8221;).append(part2).append(</p>
<p>&#8220;&lt;/strong&gt;&#8221;);</p>
<p>}</p>
<p>index = endIndex;</p>
<p>}</p>
<p>// Check to make sure the search was found in the string.</p>
<p>if (cursor == 0)</p>
<p>{</p>
<p>continue;</p>
<p>}</p>
<p>// Finish creating the formatted string.</p>
<p>String end = escapeText(formattedSuggestion.substring(cursor));</p>
<p>// After &#8220;~&#8221;, we will have the EmpID; so adding some markup to it.</p>
<p>/*String[] larySugg = end.split(&#8220;~&#8221;);</p>
<p>end = larySugg[0] + &#8220;&lt;span class=&#8217;treesuggestion&#8217;&gt;&#8221; + larySugg[1] + &#8220;&lt;/span&gt;&#8221;;</p>
<p>*/</p>
<p>accum.append(end);</p>
<p>AdvSingleWordSuggestion suggestion = createSuggestion(formattedSuggestion,</p>
<p>accum.toString());</p>
<p>suggestions.add(suggestion);</p>
<p>}</p>
<p>return suggestions;</p>
<p>}</p>
<p>/**</p>
<p>* Find the sorted list of candidates that are matches for the given query.</p>
<p>*/</p>
<p>private List&lt;String&gt; createCandidatesFromSearch(String query, int limit)</p>
<p>{</p>
<p>ArrayList&lt;String&gt; candidates = new ArrayList&lt;String&gt;();</p>
<p>if (query.length() == 0)</p>
<p>{</p>
<p>return candidates;</p>
<p>}</p>
<p>HashSet&lt;String&gt; candidateSet = null;</p>
<p>// Find the set of candidates that are associated with all the</p>
<p>// searchWords.</p>
<p>HashSet&lt;String&gt; thisWordChoices = createCandidatesFromWord(query);</p>
<p>if (candidateSet == null) {</p>
<p>candidateSet = thisWordChoices;</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>candidateSet.retainAll(thisWordChoices);</p>
<p>}</p>
<p>if (candidateSet != null) {</p>
<p>candidates.addAll(candidateSet);</p>
<p>Collections.sort(candidates);</p>
<p>// Respect limit for number of choices.</p>
<p>for (int i = candidates.size() &#8211; 1; i &gt; limit; i&#8211;)</p>
<p>{</p>
<p>candidates.remove(i);</p>
<p>}</p>
<p>}</p>
<p>return candidates;</p>
<p>}</p>
<p>/**</p>
<p>* Creates a set of potential candidates that match the given query.</p>
<p>*</p>
<p>* @param query query string</p>
<p>* @return possible candidates</p>
<p>*/</p>
<p>private HashSet&lt;String&gt; createCandidatesFromWord(String query)</p>
<p>{</p>
<p>HashSet&lt;String&gt; candidateSet = new HashSet&lt;String&gt;();</p>
<p>ArrayList&lt;String&gt; words = new ArrayList&lt;String&gt;();</p>
<p>Iterator&lt;String&gt; loItr = tree.iterator();</p>
<p>while(loItr.hasNext())</p>
<p>{</p>
<p>String element = loItr.next();</p>
<p>if(element.contains(query))</p>
<p>{</p>
<p>words.add(element);</p>
<p>}</p>
<p>}</p>
<p>if (words != null)</p>
<p>{</p>
<p>// Find all candidates that contain the given word the search is a</p>
<p>// subset of.</p>
<p>for (int i = 0; i &lt; words.size(); i++)</p>
<p>{</p>
<p>Collection&lt;String&gt; belongsTo = toCandidates.get(words.get(i));</p>
<p>if (belongsTo != null)</p>
<p>{</p>
<p>candidateSet.addAll(belongsTo);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>return candidateSet;</p>
<p>}</p>
<p>/**</p>
<p>* Normalize the search key by making it lower case, removing multiple spaces,</p>
<p>* apply whitespace masks, and make it lower case.</p>
<p>*/</p>
<p>private String normalizeSearch(String search)</p>
<p>{</p>
<p>// Use the same whitespace masks and case normalization for the search</p>
<p>// string as was used with the candidate values.</p>
<p>search = normalizeSuggestion(search);</p>
<p>// Remove all excess whitespace from the search string.</p>
<p>search = search.replaceAll(NORMALIZE_TO_SINGLE_WHITE_SPACE,</p>
<p>WHITESPACE_STRING);</p>
<p>return search.trim();</p>
<p>}</p>
<p>/**</p>
<p>* Takes the formatted suggestion, makes it lower case and blanks out any</p>
<p>* existing whitespace for searching.</p>
<p>*/</p>
<p>private String normalizeSuggestion(String formattedSuggestion)</p>
<p>{</p>
<p>// Formatted suggestions should already have normalized whitespace. So we</p>
<p>// can skip that step.</p>
<p>// Lower case suggestion.</p>
<p>formattedSuggestion = formattedSuggestion.toLowerCase();</p>
<p>// Apply whitespace.</p>
<p>return formattedSuggestion;</p>
<p>}</p>
<p>}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=28&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2009/09/08/singlewordsuggestoracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
		<item>
		<title>Performance/ Optimization Tips</title>
		<link>http://fazeel.wordpress.com/2009/08/11/performance-optimization-tips/</link>
		<comments>http://fazeel.wordpress.com/2009/08/11/performance-optimization-tips/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 20:50:42 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/?p=25</guid>
		<description><![CDATA[General 1. When testing for memory or timings, the first open of a document after bouncing server, always takes huge amount of resources. Hence this one should be ignored for the time being. But you should look into it atleast once to see if the first open can also be optimized. 2. When unsure of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=25&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span>General</span></h2>
<p style="line-height:1.5em;margin:.4em 0 .5em;">1.	When testing for memory or timings, the first open of a document after bouncing server, always takes huge amount of resources. Hence this one should be ignored for the time being. But you should look into it atleast once to see if the first open can also be optimized.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">2.	When unsure of the results, perform the same scenario about 10 times to reach a conclusion</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3.	Compare timing results using a Stop watch with 3.7 and not with some previous build of 3.8.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">4.	To get real timings, deploy on some system test server for testing.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">5.	Lookout for methods being called more than the expected no. of times. But spend your energy only for functions that take a significant amount of time.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<p><a name="Javascript"></a></p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Javascript</span></h2>
<p style="line-height:1.5em;margin:.4em 0 .5em;">1.	Use a good profiler. For Firefox, Firebug profiler is too good. IE8 comes with a profiler but not so good. Nevertheless, something is better than Nothing.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">2.	In Java, a lot of optimizations are done by the compiler. But not so for Javascript, we have to do the optimizations ourselves.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3.	Minimize DOM interactions. These are costly both in terms of timing and memory.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">4.	Write a destroy method so as to clean up all code before destroying or replacing the object or its reference.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">5.	Cleaning up all code – remove all listeners attached to each object. Specifically use the purge() method for it. Then set all variables to null.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">6.	Bubble Up events. Example having 20 onclick events on 20 buttons. Instead just put on onclick event on say the form tag.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<p><a name="Memory"></a></p>
<h3 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:bold;padding-top:.5em;padding-bottom:.17em;border-bottom-width:initial;border-bottom-style:none;border-bottom-color:initial;font-size:17px;background-position:initial initial;margin:0 0 .3em;"><span><br />
Memory</span></h3>
<p style="line-height:1.5em;margin:.4em 0 .5em;">1.	To see the amount of memory consumed use Process Viewer. Avoid the default Windows one.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">2.	At a given time concentrate on 1 feature.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3.	Memory might not be recovered immediately but after sometime, so perform the same case repeatedly to check the amount of memory.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<p><a name="Timing"></a></p>
<h3 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:bold;padding-top:.5em;padding-bottom:.17em;border-bottom-width:initial;border-bottom-style:none;border-bottom-color:initial;font-size:17px;background-position:initial initial;margin:0 0 .3em;"><span><br />
Timing</span></h3>
<p style="line-height:1.5em;margin:.4em 0 .5em;">1.	The Firebug profiler will show the absolute timings of methods. So suppose MethodA() calls MethodB() and MethodB() takes 100 ms to complete; then it will also add that timing to MethodA()’s execution.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">2.	So lookout for real methods which take the time. Here the IE Profiler shines, because it shows the methods in a tree view.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3.	Target the top 20-30 methods.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">4.	Do not be afraid to change anything in the underlying framework. But please test…test….test.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">5.	For Loops: Normal: for(var i=0; i&lt;array.length; i++) Optimized: for(var i=0, count = array.length; i=i+1)</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">6.	Object References: Normal :</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">for(......)
{
   var Object = a.b.c.d.getElement();
   .....
}</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Optimized:</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">var dObject = a.b.c.d; 

for(......)
{
   var Object = dObject.getElement();
   .....
}</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=25&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2009/08/11/performance-optimization-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessibility links</title>
		<link>http://fazeel.wordpress.com/2009/08/11/accessibility-links/</link>
		<comments>http://fazeel.wordpress.com/2009/08/11/accessibility-links/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 20:27:18 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[accessbility]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/?p=20</guid>
		<description><![CDATA[W3ORG Specs: Quick Tips - http://www.w3.org/WAI/quicktips/ Live Regions - http://www.w3.org/TR/aria-state/ Eg of Live Regions: - http://www.alistapart.com/articles/waiaria, http://accessibleajax.clcworld.net/ RIA - http://www.w3.org/TR/aria-roadmap/ Report on WAI Markup for AJAX Live Regions - http://developer.mozilla.org/en/docs/AJAX:WAI_ARIA_Live_Regions ARIA Reference Implementation - http://test.cita.uiuc.edu//aria/ Accessibility Tools: Firefox Accessibility Extension: https://addons.mozilla.org/en-US/firefox/addon/1891 Fire Vox: http://www.firevox.clcworld.net/ Windows Screen Reader: Start&#62; Programs&#62;Accessories&#62; Accessibility&#62; Narrator JAWS: http://juicystudio.com/article/improving-ajax-applications-for-jaws-users.php#theupdatefunction http://donaldevans.com/guide/bestpractices/ajax.html [edit]http://developer.mozilla.org/en/docs/Accessible_DHTML Tools, Articles and resources: http://www.mcu.org.uk/resources/ E-book: Web Accessibility: Web Standards [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=20&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span>W3ORG Specs:</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;">Quick Tips - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.w3.org/WAI/quicktips/" rel="nofollow" href="http://www.w3.org/WAI/quicktips/">http://www.w3.org/WAI/quicktips/</a></li>
<li style="margin-bottom:.1em;">Live Regions - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.w3.org/TR/aria-state/" rel="nofollow" href="http://www.w3.org/TR/aria-state/">http://www.w3.org/TR/aria-state/</a></li>
<li style="margin-bottom:.1em;">Eg of Live Regions: - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.alistapart.com/articles/waiaria" rel="nofollow" href="http://www.alistapart.com/articles/waiaria">http://www.alistapart.com/articles/waiaria</a>, <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://accessibleajax.clcworld.net/" rel="nofollow" href="http://accessibleajax.clcworld.net/">http://accessibleajax.clcworld.net/</a></li>
<li style="margin-bottom:.1em;">RIA - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.w3.org/TR/aria-roadmap/" rel="nofollow" href="http://www.w3.org/TR/aria-roadmap/">http://www.w3.org/TR/aria-roadmap/</a></li>
<li style="margin-bottom:.1em;">Report on WAI Markup for AJAX Live Regions - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://developer.mozilla.org/en/docs/AJAX:WAI_ARIA_Live_Regions" rel="nofollow" href="http://developer.mozilla.org/en/docs/AJAX:WAI_ARIA_Live_Regions">http://developer.mozilla.org/en/docs/AJAX:WAI_ARIA_Live_Regions</a></li>
<li style="margin-bottom:.1em;">ARIA Reference Implementation - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://test.cita.uiuc.edu//aria/" rel="nofollow" href="http://test.cita.uiuc.edu//aria/">http://test.cita.uiuc.edu//aria/</a></li>
</ol>
<p><a name="Accessibility_Tools:"></a></p>
<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Accessibility Tools:</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;">Firefox Accessibility Extension: <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/lock_icon.gif');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:16px;background-position:100% 50%;" title="https://addons.mozilla.org/en-US/firefox/addon/1891" rel="nofollow" href="https://addons.mozilla.org/en-US/firefox/addon/1891">https://addons.mozilla.org/en-US/firefox/addon/1891</a></li>
<li style="margin-bottom:.1em;">Fire Vox: <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.firevox.clcworld.net/" rel="nofollow" href="http://www.firevox.clcworld.net/">http://www.firevox.clcworld.net/</a></li>
<li style="margin-bottom:.1em;">Windows Screen Reader: Start&gt; Programs&gt;Accessories&gt; Accessibility&gt; Narrator</li>
</ol>
<p><a name="JAWS:"></a></p>
<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span><br />
JAWS:</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://juicystudio.com/article/improving-ajax-applications-for-jaws-users.php#theupdatefunction" rel="nofollow" href="http://juicystudio.com/article/improving-ajax-applications-for-jaws-users.php#theupdatefunction">http://juicystudio.com/article/improving-ajax-applications-for-jaws-users.php#theupdatefunction</a></li>
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://donaldevans.com/guide/bestpractices/ajax.html" rel="nofollow" href="http://donaldevans.com/guide/bestpractices/ajax.html">http://donaldevans.com/guide/bestpractices/ajax.html</a></li>
</ol>
<p><a name="http:.2F.2Fdeveloper.mozilla.org.2Fen.2Fdocs.2FAccessible_DHTML"></a></p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span style="float:right;margin-left:5px;font-size:13px;">[<a style="text-decoration:none;color:#002bb8;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;background-position:initial initial;" title="Edit section: http://developer.mozilla.org/en/docs/Accessible_DHTML" href="http://advwiki.ams.com/wiki/index.php?title=Accessibility&amp;action=edit&amp;section=4">edit</a>]</span><span><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://developer.mozilla.org/en/docs/Accessible_DHTML" rel="nofollow" href="http://developer.mozilla.org/en/docs/Accessible_DHTML">http://developer.mozilla.org/en/docs/Accessible_DHTML</a></span></h2>
<p><a name="Tools.2C_Articles_and_resources:_http:.2F.2Fwww.mcu.org.uk.2Fresources.2F"></a></p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Tools, Articles and resources: <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.mcu.org.uk/resources/" rel="nofollow" href="http://www.mcu.org.uk/resources/">http://www.mcu.org.uk/resources/</a></span></h2>
<p><a name="E-book:_Web_Accessibility:_Web_Standards_and_Regulatory_Compliance:_http:.2F.2Fmmlviewer.books24x7.com.2Ftoc.asp.3Fbookid.3D14675"></a></p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span><br />
E-book: Web Accessibility: Web Standards and Regulatory Compliance: <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://mmlviewer.books24x7.com/toc.asp?bookid=14675" rel="nofollow" href="http://mmlviewer.books24x7.com/toc.asp?bookid=14675">http://mmlviewer.books24x7.com/toc.asp?bookid=14675</a></span></h2>
<p><a name="Downside_of_WCGAG_2.0_specs:"></a></p>
<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Downside of WCGAG 2.0 specs:</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.alistapart.com/articles/tohellwithwcag2" rel="nofollow" href="http://www.alistapart.com/articles/tohellwithwcag2">http://www.alistapart.com/articles/tohellwithwcag2</a></li>
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://learningtheworld.eu/2006/to-hell-with-joe-clark/" rel="nofollow" href="http://learningtheworld.eu/2006/to-hell-with-joe-clark/">http://learningtheworld.eu/2006/to-hell-with-joe-clark/</a></li>
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.thinkvitamin.com/features/design/whats-next-for-web-accessibility" rel="nofollow" href="http://www.thinkvitamin.com/features/design/whats-next-for-web-accessibility">http://www.thinkvitamin.com/features/design/whats-next-for-web-accessibility</a></li>
</ol>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<p><a name="Legal_Issues:"></a></p>
<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Legal Issues:</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://ajaxian.com/archives/accessibility-use-ajax-get-sued" rel="nofollow" href="http://ajaxian.com/archives/accessibility-use-ajax-get-sued">http://ajaxian.com/archives/accessibility-use-ajax-get-sued</a></li>
</ol>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
=Main site - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.maxkiesler.com/index.php/weblog/comments/how_to_make_your_ajax_applications_accessible/" rel="nofollow" href="http://www.maxkiesler.com/index.php/weblog/comments/how_to_make_your_ajax_applications_accessible/">http://www.maxkiesler.com/index.php/weblog/comments/how_to_make_your_ajax_applications_accessible/</a> =</p>
<p><a name="Some_imp._Links:"></a></p>
<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Some imp. Links:</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;">Ajax Best Practices – IBM Center. - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www-03.ibm.com/able/resources/ajaxaccessibility.html#best" rel="nofollow" href="http://www-03.ibm.com/able/resources/ajaxaccessibility.html#best">http://www-03.ibm.com/able/resources/ajaxaccessibility.html#best</a></li>
<li style="margin-bottom:.1em;">Testing Ajax with six different screen readers - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.sitepoint.com/article/ajax-screenreaders-work" rel="nofollow" href="http://www.sitepoint.com/article/ajax-screenreaders-work">http://www.sitepoint.com/article/ajax-screenreaders-work</a></li>
<li style="margin-bottom:.1em;">Tests with blind screen-reader Users - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://joeclark.org/access/research/ice//iceweb2006-test-results.html" rel="nofollow" href="http://joeclark.org/access/research/ice//iceweb2006-test-results.html">http://joeclark.org/access/research/ice//iceweb2006-test-results.html</a></li>
<li style="margin-bottom:.1em;">AJAX framework supporting Accessibility - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://ajaxdevelopersjournal.com/read/234219.htm" rel="nofollow" href="http://ajaxdevelopersjournal.com/read/234219.htm">http://ajaxdevelopersjournal.com/read/234219.htm</a></li>
<li style="margin-bottom:.1em;">Making Ajax Work with JAWS - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://juicystudio.com/article/making-ajax-work-with-screen-readers.php" rel="nofollow" href="http://juicystudio.com/article/making-ajax-work-with-screen-readers.php">http://juicystudio.com/article/making-ajax-work-with-screen-readers.php</a></li>
<li style="margin-bottom:.1em;">Lots of 508 Compliant examples - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.fiftyfoureleven.com/resources/accessibility" rel="nofollow" href="http://www.fiftyfoureleven.com/resources/accessibility">http://www.fiftyfoureleven.com/resources/accessibility</a></li>
<li style="margin-bottom:.1em;">Accessibility tips for web development - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.evotech.net/blog/2007/06/making-the-web-accessible-2/" rel="nofollow" href="http://www.evotech.net/blog/2007/06/making-the-web-accessible-2/">http://www.evotech.net/blog/2007/06/making-the-web-accessible-2/</a></li>
<li style="margin-bottom:.1em;">Jim Thatcher - <a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://jimthatcher.com" rel="nofollow" href="http://jimthatcher.com/">http://jimthatcher.com</a></li>
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.circlewebs.com/sitestats.php" rel="nofollow" href="http://www.circlewebs.com/sitestats.php">http://www.circlewebs.com/sitestats.php</a></li>
<li style="margin-bottom:.1em;"><a style="text-decoration:none;color:#3366bb;background-image:url('http://advwiki.ams.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.wats.ca/show.php?contentid=43" rel="nofollow" href="http://www.wats.ca/show.php?contentid=43">http://www.wats.ca/show.php?contentid=43</a></li>
</ol>
<p><a name="Screen_Reader_Quick_Reference"></a></p>
<h1 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:24px;background-position:initial initial;margin:0 0 .6em;"><span><br />
Screen Reader Quick Reference</span></h1>
<ol style="line-height:1.5em;list-style-image:none;margin:.3em 0 0 3.2em;padding:0;">
<li style="margin-bottom:.1em;">Fire Vox &#8211; <a rel="attachment wp-att-21" href="http://fazeel.wordpress.com/2009/08/11/accessibility-links/firevox_ref/">FireVox_Ref</a></li>
<li style="margin-bottom:.1em;">JAWS &#8211; <a rel="attachment wp-att-22" href="http://fazeel.wordpress.com/2009/08/11/accessibility-links/jaws_ref/">JAWS_Ref</a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=20&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2009/08/11/accessibility-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
		<item>
		<title>Shortest code to read entire file</title>
		<link>http://fazeel.wordpress.com/2009/08/11/shortest-code-to-read-entire-file/</link>
		<comments>http://fazeel.wordpress.com/2009/08/11/shortest-code-to-read-entire-file/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 20:18:09 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/?p=16</guid>
		<description><![CDATA[I don&#8217;t remember where I had read this, but this in undoubtedly the smallest piece of code for reading the whole file. Scanner loScanner = new Scanner(new File("C://Fazeel-C//MSS//workspace//FastTreeProj//src//sample//JSONs.txt")); loScanner.useDelimiter("\\Z"); String wholeFile = loScanner.next();        loScanner.close();<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=16&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t remember where I had read this, but this in undoubtedly the smallest piece of code for reading the whole file.</p>
<pre><span style="color:purple;">Scanner </span>loScanner = <span style="color:blue;">new </span><span style="color:purple;">Scanner</span>(<span style="color:blue;">new </span><span style="color:purple;">File</span>(<span style="color:red;">"C://Fazeel-C//MSS//workspace//FastTreeProj//src//sample//JSONs.txt"</span>));
loScanner.useDelimiter(<span style="color:red;">"\\Z"</span>);
<span style="color:purple;">String </span>wholeFile = loScanner.next();       
loScanner.close();</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=16&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2009/08/11/shortest-code-to-read-entire-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
		<item>
		<title>Migration Certificate for Mumbai University</title>
		<link>http://fazeel.wordpress.com/2008/06/02/migration-certificate-for-mumbai-university/</link>
		<comments>http://fazeel.wordpress.com/2008/06/02/migration-certificate-for-mumbai-university/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 08:26:00 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[education]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/2008/06/02/migration-certificate-for-mumbai-university/</guid>
		<description><![CDATA[Migration Certificate is required when you take up a course in a different University from the one you last studied. The following steps outline the procedure for obtaining a migration certificate from Mumbai University. The procedure would mostly be different for other universities. Download the migration certificate form from Mumbai University site. See if this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=8&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:georgia;">Migration Certificate is required when you take up a course in a different University from the one you last studied.</span></p>
<p><span style="font-family:georgia;">The following steps outline the procedure for obtaining a migration certificate from Mumbai University. The procedure would mostly be different for other universities.</span></p>
<p>
<ol>
<li>Download the migration certificate form from Mumbai University site. See if this link still works: <a href="http://www.mu.ac.in/migrationform.pdf"><span style="font-size:85%;"><span class="VrHWId">http://www.mu.ac.in/migrationform.pdf</span></span></a>. Else search on their site.</li>
<li>If you have not done a profession degree, your lucky, your last college will probably do everyhting for you. You just need to fill this form and submit it alongwith photocopies of 10th marksheet, 12th marksheet and Final year degree marksheet. That&#8217;s it just relax.</li>
<li><span class="VrHWId"><span style="font-family:georgia;">For others, the procedure continues. The institution that you last studied must have given you a Transfer Certificate (aka Leaving Certificate). Goto your last institution and submit an application asking for a duplicate copy of transfer certificate. This is required because the University takes the original one and seldom returns it back.<br /></span></span></li>
<li><span class="VrHWId"><span style="font-family:georgia;">So now pack the Migration form duly filled, stamped, signed, TC, photocopies of 10th, 12th, Final Year marksheet and head to Mumbai University, Kalikna.</span></span></li>
<li><span class="VrHWId"><span style="font-family:georgia;">Go straight to the backyard of Ambedkar Bhavan.<br /></span></span></li>
<li><span class="VrHWId"><span style="font-family:georgia;">Pay Rs. 220 and submit the documents. Get the receipt and hope you get it in 1 week.</span></span></li>
<li><span class="VrHWId"><span style="font-family:georgia;">After 1 week, go back again and check if it&#8217;s ready. Remember to go early since even though the line is small the productivity is only about 3 certificates per hour.</span></span></li>
<li><span class="VrHWId"><span style="font-family:georgia;">University is open on Saturday for the whole day except 2nd and 4th ones.</span></span></li>
</ol>
<p>The above is the ideal scenario. If things go weird:</p>
<p>1. One guy paid a bribe at the time of form submission of about 150 bucks. He got it in an hour.<br />2. I didn&#8217;t get the certificate even after visiting twice and 1.5 month had passed. Suprisingly, it came by post a few days later.<br />3. Another girl, hadn&#8217;t got it and was waiting for 4 months. Eventually she went inside the building to &#8220;talk&#8221; to the officials inside.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fazeel.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fazeel.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=8&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2008/06/02/migration-certificate-for-mumbai-university/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning Java before C/C++</title>
		<link>http://fazeel.wordpress.com/2008/05/06/learning-java-before-cc/</link>
		<comments>http://fazeel.wordpress.com/2008/05/06/learning-java-before-cc/#comments</comments>
		<pubDate>Tue, 06 May 2008 04:21:00 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/2008/05/06/learning-java-before-cc/</guid>
		<description><![CDATA[Well there is absolutely no reason why you can&#8217;t learn Java without knowing the other two. It would require more effort, but nevertheless is still easier. In fact, learning C/C++ is much more difficult. No wonder nowadays, there is an increasing tendency to directly learn Java. But it there a problem in this? I always [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=7&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well there is absolutely no reason why you can&#8217;t learn Java without knowing the other two. It would require more effort, but nevertheless is still easier. In fact, learning C/C++ is much more difficult.</p>
<p>No wonder nowadays, there is an increasing tendency to directly learn Java. But it there a problem in this? I always felt so.</p>
<p>Learning OOPS concepts through Java is possible; but do you think you can visualize the concepts to the extent you can with C++. Also basic CS stuff like Data Structures, Searching, Sorting is better understood through these languages than Java.</p>
<p>When I read Joel On Software&#8217;s post about this, it made 100% sense to me. You can read it at:<br /><a href="http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html">http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fazeel.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fazeel.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=7&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2008/05/06/learning-java-before-cc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
		<item>
		<title>Rich &#8211; Poor Divide</title>
		<link>http://fazeel.wordpress.com/2008/04/27/rich-poor-divide/</link>
		<comments>http://fazeel.wordpress.com/2008/04/27/rich-poor-divide/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 09:04:00 +0000</pubDate>
		<dc:creator>fazeelkazi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fazeel.wordpress.com/2008/04/27/rich-poor-divide/</guid>
		<description><![CDATA[I was just going through fee structures as mentioned by the &#8220;Shikshan Shulk Samiti&#8221;. This prompted me to write an article over the same. As far as I can see today Engineering, Medical and Management form the largest group of courses which lead to financial success. Of course you could argue that people who haven&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=6&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was just going through fee structures as mentioned by the &#8220;Shikshan Shulk Samiti&#8221;. This prompted me to write an article over the same.</p>
<p>As far as I can see today Engineering, Medical and Management form the largest group of courses which lead to financial success.</p>
<p>Of course you could argue that people who haven&#8217;t studied or studied other courses have also succeeded. While this is true, this rags-to-riches stories aren&#8217;t many.<br />I feel that not even 10% of poor and lower middle class people could do it.</p>
<p>Today&#8217;s fee structure for these professional courses are well beyond the reach of these sections. There are hardly any subsidized seats available. The vast majority have to opt for other courses that do not offer such high salaries.</p>
<p>This is certainly going to increase the rich-poor divide.</p>
<p>While there isn&#8217;t much that can be done, what are the possible options available for people who can&#8217;t afford? All have their pros and cons:</p>
<ol>
<li>Loans: Loans are available much more easily now. But security and willingness to take the risk is still a problem.</li>
<li>Study in some other state which has subsidies: The problem here is additional cost involved in staying away from your home. Also the worth of the university is important. Might be fine for medical courses. Say for medicine where the cost is Rs. 3,50,000 per year, if you can get in some other place for Rs. 50,000; it&#8217;s still worth it.</li>
<li>Correspondence courses: They are cheap, but their value is less especially at entry-level. But if you have some experience and just need a degree, this is a very cheap option.</li>
</ol>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fazeel.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fazeel.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fazeel.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fazeel.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fazeel.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fazeel.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fazeel.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fazeel.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fazeel.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fazeel.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fazeel.wordpress.com&amp;blog=5361345&amp;post=6&amp;subd=fazeel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fazeel.wordpress.com/2008/04/27/rich-poor-divide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5919a6edfac59f42bdb121d96798f8d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fazeelkazi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
