<?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>makboney</title>
	<atom:link href="http://makboney.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://makboney.wordpress.com</link>
	<description>personel home of mamun ahmed khan aka makboney</description>
	<lastBuildDate>Wed, 26 Oct 2011 07:26:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='makboney.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/ce4e171ccf2cacb4ccf9f855ce321b2b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>makboney</title>
		<link>http://makboney.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://makboney.wordpress.com/osd.xml" title="makboney" />
	<atom:link rel='hub' href='http://makboney.wordpress.com/?pushpress=hub'/>
		<item>
		<title></title>
		<link>http://makboney.wordpress.com/2010/11/03/386/</link>
		<comments>http://makboney.wordpress.com/2010/11/03/386/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 09:30:01 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=386</guid>
		<description><![CDATA[You can use this code for hyperlinked button as well as underlined text . You  know there is no facilities for such option in none of iPhone SDK. So you can try this. It works for me. in .h file @interface UnderLineLabel : UIButton{ CGFloat stockWidth; } @property(nonatomic,assign)CGFloat stockWidth; @end in .m file @implementation UnderLineLabel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=386&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can use this code for hyperlinked button as well as underlined text . You  know there is no facilities for such option in none of iPhone SDK. So you can try this. It works for me.</p>
<p>in .h file</p>
<pre>@interface UnderLineLabel : UIButton{
CGFloat stockWidth;

}

@property(nonatomic,assign)CGFloat stockWidth;

@end</pre>
<p>in .m file</p>
<pre>@implementation UnderLineLabel

@synthesize stockWidth;

- (id)initWithFrame:(CGRect)frame {

if (self = [super initWithFrame:frame]) {

// Initialization code

}

return self;

}

- (void)drawRect:(CGRect)rect {

[super drawRect:rect];

CGContextRef context = UIGraphicsGetCurrentContext();

CGFloat components[4] = {0.654901961, 0.662745098, 0.674509804, 1};

CGContextSetStrokeColor(context, components);

// Draw them with a 1.0 stroke width.

CGContextSetLineWidth(context, self.stockWidth);

// Draw a single line from left to right

CGContextMoveToPoint(context, 0, rect.size.height);

CGContextAddLineToPoint(context, rect.size.width, rect.size.height); 

CGContextStrokePath(context);

}

- (void)dealloc {

[super dealloc]; 

}

@end</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=386&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/11/03/386/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Making a Call From Your Application</title>
		<link>http://makboney.wordpress.com/2010/08/14/making-a-call-from-your-iphone/</link>
		<comments>http://makboney.wordpress.com/2010/08/14/making-a-call-from-your-iphone/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 21:05:55 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=377</guid>
		<description><![CDATA[As far i know in earlier version of iPhone (before iOS4), your application will terminate before making a call. Because it doesn&#8217;t support multitasking. But iOS4 support multitasking. So don&#8217;t afraid now. Just follow the code -(void)callButtonClicked{ NSString *makBoneyphnNo = @"+8801717011014"; NSString *phoneStr = [[NSString alloc] initWithFormat:@"tel:%@",makBoneyphnNo]; NSURL *phoneURL = [[NSURL alloc] initWithString:phoneStr]; [[UIApplication sharedApplication] [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=377&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As far i know in earlier version of iPhone (before iOS4), your application will terminate before making a call. Because it doesn&#8217;t support multitasking. But iOS4 support multitasking. So don&#8217;t afraid now. Just follow the code</p>
<pre>-(void)callButtonClicked{
NSString *makBoneyphnNo = @"+8801717011014";
NSString *phoneStr = [[NSString alloc] initWithFormat:@"tel:%@",makBoneyphnNo];
NSURL *phoneURL = [[NSURL alloc] initWithString:phoneStr];
[[UIApplication sharedApplication] openURL:phoneURL];
[phoneURL release];
[phoneStr release];
}</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/377/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=377&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/08/14/making-a-call-from-your-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Things Should Know First</title>
		<link>http://makboney.wordpress.com/2010/08/12/things-should-know-first/</link>
		<comments>http://makboney.wordpress.com/2010/08/12/things-should-know-first/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 18:08:45 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Symbian]]></category>
		<category><![CDATA[Windows mobile]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=367</guid>
		<description><![CDATA[What do think after knowing these. What is yar choice&#8230; Windows Mobile C++ or .NET free distribution, just like normal applications Microsoft have market, too &#8211; here Windows Phone 7 .NET and Silverlight through Marketplace Android Java through Android Market ($25 one-time fees) or like normal applications The platform is completely open source iPhone(my favorite) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=367&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What do think after knowing these. What is yar choice&#8230;</p>
<p>Windows Mobile</p>
<p style="padding-left:60px;">C++ or .NET<br />
free distribution, just like normal applications<br />
Microsoft have market, too &#8211; here<br />
Windows Phone 7<br />
.NET and Silverlight<br />
through Marketplace</p>
<p>Android</p>
<p style="padding-left:60px;">Java<br />
through Android Market ($25 one-time fees) or like normal applications<br />
The platform is completely open source</p>
<p>iPhone(my favorite)</p>
<p style="padding-left:60px;">Objective-C or Java (Developing iPhone Applications using Java)<br />
through iPhone Market<br />
pay some fees ($99/year)<br />
The Incredible App Store Hype<br />
You need Mac (Mac OS) for development (thx to ctacke)</p>
<p>Java</p>
<p style="padding-left:60px;">J2ME or JavaFX</p>
<p>Symbian</p>
<p style="padding-left:60px;">Is open source<br />
Has by far the largest market share (45% or so) of smartphones<br />
Runs on cheaper hardware than Android and iPhone (means volumes will go up significantly faster)<br />
Runs Python, Ruby, Java and Web Runtime Widgets<br />
From Symbian^4 will have a complete Qt stack.</p>
<p>According to me and fixEdd</p>
<blockquote><p>Symbian&#8217;s dead; Windows Mobile will die, but take a long time; Android will become the standard in the next few years; iPhone will remain trendy in coming years, but NOT take be the biggest player; Pre/WebOS will maintain a niche market, but not be wildly sucessfull, Blackberry will decline, but still be around forever. I&#8217;d probably put my time/money into Android or iPhone at this point.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=367&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/08/12/things-should-know-first/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>UIWebView in Action &#8211; iPhone Application Development</title>
		<link>http://makboney.wordpress.com/2010/07/28/uiwebview-in-action/</link>
		<comments>http://makboney.wordpress.com/2010/07/28/uiwebview-in-action/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 13:15:44 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=349</guid>
		<description><![CDATA[Usually we use UIWebView to load web pages. But i faced some problems that was really scared for me. Visited couple of forums, talked to some guyz and they really helped me to stuck out of that problem. Okay, let me share it.  If you need to show a hyperlink or have to show a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=349&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Usually we use UIWebView to load web pages. But i faced some problems that was really scared for me. Visited couple of forums, talked to some guyz and they really helped me to stuck out of that problem.</p>
<p>Okay, let me share it.  If you need to show a hyperlink or have to show a large text with some captions (i mean something like headline) what will you do???Don&#8217;t panic couple of solutions are waiting for you.</p>
<h4><span style="color:#666699;">UIWebView as hyperlink</span></h4>
<p>First, you can use a custom label and a button to trgiger that action. You can also get help from the famous Threee20 project. But i found UIWebview very much useful. You have to place that UIWebView in the exact position and then use a transparent button to do something. Here is some  code snnipet</p>
<blockquote>
<pre>myWebView.frame = prefableFrame;  // any preferable frame

NSString *linkString = @"WWW.makboney.wordpress.com";

linkString  =[@" <a>"linkString];linkString =[linkString stringByAppendingString:@" "];</a>

[myWebView  loadHTMLString:linkString baseURL:nil];

<a>//hidden button to trigger actionhiddenButton = [UIButton buttonWithType:UIButtonTypeCustom];

hiddenButton.frame = myWebView.frame;

hiddenButton.backgroundColor = [UIColor clearColor];

[hiddenButton addTarget:self action:@selector(buttonPressed)                                forControlEvents:UIControlEventTouchUpInside];

[self.view addSubview:hiddenButton];

</a></pre>
</blockquote>
<h4><span style="color:#666699;">UIWebView to show html text or big text containing  caption , bullet marks or somthing like that</span></h4>
<p>When you need to display large text into label with some caption,bullet marks and also managed couple of other issues. In that case  i suggest you to use  UIWebView. For this you need to do some preprocessing  of the big text such as including tags into proper place. And now its easy. Follow the  bellow code snippet.</p>
<blockquote>
<pre>NSString *htmlTextString;

htmlTextString  =[@"" stringByAppendingString:[appDelegate modifiedString: bigtext]];

[descLabel loadHTMLString:htmlTextString baseURL:nil];</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=349&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/07/28/uiwebview-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Display Image From URL</title>
		<link>http://makboney.wordpress.com/2010/06/26/display-image-from-url/</link>
		<comments>http://makboney.wordpress.com/2010/06/26/display-image-from-url/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 10:48:31 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=345</guid>
		<description><![CDATA[This is handy if you need to add an image as a subview, yet, the image is not part of your application bundle. URL to Remote Image We start by creating a URL to the remote resource: NSURL *url = [NSURL URLWithString: @"http://iphonedevelopertips.com/images/logo-iphone-dev-tips.png"]; Create UIImage from NSData The next step is to build a UIImage [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=345&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is handy if you need to add an image as a subview, yet, the image is not part of your application bundle.</p>
<h2>URL to Remote Image</h2>
<p>We start by creating a URL to the remote resource:</p>
<blockquote>
<pre>NSURL *url = [NSURL URLWithString:
@"http://iphonedevelopertips.com/images/logo-iphone-dev-tips.png"];</pre>
</blockquote>
<h2>Create UIImage from NSData</h2>
<p>The next step is to build a UIImage using the data downloaded from the URL, which consists of an NSData object that holds the remote image contents:</p>
<blockquote>
<pre>UIImage *image = [UIImage imageWithData: [NSData dataWithContentsOfURL:url]];</pre>
</blockquote>
<h2>Putting it Together</h2>
<p>Here’s how to wrap it all together, adding the remote image as a subview to an existing view by creating a UIImageView from the above UIImage:</p>
<blockquote>
<pre>NSURL *url = [NSURL URLWithString:
@"http://iphonedevelopertips.com/images/logo-iphone-dev-tips.png"];
UIImage *image = [UIImage imageWithData: [NSData dataWithContentsOfURL:url]];
[self.view addSubview:[[UIImageView alloc] initWithImage:image]];</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=345&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/06/26/display-image-from-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Duration of Your Touch Event</title>
		<link>http://makboney.wordpress.com/2010/06/26/duration-of-your-touch-event/</link>
		<comments>http://makboney.wordpress.com/2010/06/26/duration-of-your-touch-event/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 09:20:22 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=333</guid>
		<description><![CDATA[Start by creating a variable of type NSTimeInterval to hold the time the touch event began. // Define this as an instance variable NSTimeInterval touchStartTime; -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; { // When the touch event was detected touchStartTime = [event timestamp]; } Inside the touchesBegan event, with some simple math, one can determine how long [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=333&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Start by creating a variable of type NSTimeInterval to hold the time the touch event began.</p>
<blockquote><pre>// Define this as an instance variable
NSTimeInterval touchStartTime;

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
{
// When the touch event was detected
touchStartTime = [event timestamp];
}</pre>
</blockquote>
<p>Inside the touchesBegan event, with some simple math, one can determine how long from the start event to the end.</p>
<blockquote><pre>-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
{
// Calculate how long touch lasted
NSTimeInterval touchTimeDuration = [event timestamp] - touchStartTime;

NSLog(@"Touch duration: %3.2f seconds", touchTimeDuration);
}</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=333&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/06/26/duration-of-your-touch-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Get iPhone Device Information</title>
		<link>http://makboney.wordpress.com/2010/06/26/get-iphone-device-information/</link>
		<comments>http://makboney.wordpress.com/2010/06/26/get-iphone-device-information/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 08:05:40 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=321</guid>
		<description><![CDATA[The iPhone SDK includes a singleton of class type UIDevice that you can use to retrieve device specific information (this works equally as well with the simulator). Available Properties in UIDevice uniqueIdentifier – identifier guaranteed to be unique for every device name – arbitrary name found in General &#62; About setting on device systemName – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=321&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The iPhone SDK includes a singleton of class type UIDevice that you can use to retrieve device specific information (this works equally as well with the simulator).</p>
<h2>Available Properties in UIDevice</h2>
<p><span style="color:#3366ff;">uniqueIdentifier</span> – identifier guaranteed to be unique for every device<br />
<span style="color:#3366ff;">name</span> – arbitrary name found in General &gt; About setting on device<br />
<span style="color:#3366ff;">systemName</span> – name of the OS running on the device<br />
<span style="color:#3366ff;">systemVersion</span> – current version of the OS<br />
<span style="color:#3366ff;">model</span>- model, such as ”iPhone” or ”iPod touch”<br />
<span style="color:#3366ff;">localizedModel</span> – same as above using a localized string</p>
<h3>Stats for Simulator</h3>
<p>This code will list all stats shown above:</p>
<blockquote><p>NSLog(@&#8221;uniqueIdentifier: %@&#8221;, [[UIDevice currentDevice] uniqueIdentifier]);<br />
NSLog(@&#8221;name: %@&#8221;, [[UIDevice currentDevice] name]);<br />
NSLog(@&#8221;systemName: %@&#8221;, [[UIDevice currentDevice] systemName]);<br />
NSLog(@&#8221;systemVersion: %@&#8221;, [[UIDevice currentDevice] systemVersion]);<br />
NSLog(@&#8221;model: %@&#8221;, [[UIDevice currentDevice] model]);<br />
NSLog(@&#8221;localizedModel: %@&#8221;, [[UIDevice currentDevice] localizedModel]);</p></blockquote>
<p>Running the above on the simulator returns:</p>
<p style="text-align:center;"><a href="http://makboney.files.wordpress.com/2010/06/device2.png"><img class="size-full wp-image-322 aligncenter" title="device stats" src="http://makboney.files.wordpress.com/2010/06/device2.png?w=322&#038;h=84" alt="" width="322" height="84" /></a></p>
<h3>Stats for iPhone</h3>
<p style="text-align:center;"><a href="http://makboney.files.wordpress.com/2010/06/device1.png"><img class="aligncenter size-full wp-image-323" title="iPhone Stats" src="http://makboney.files.wordpress.com/2010/06/device1.png?w=322&#038;h=85" alt="" width="322" height="85" /></a></p>
<p>The device stats when running on my iPhone:</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=321&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/06/26/get-iphone-device-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/06/device2.png" medium="image">
			<media:title type="html">device stats</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/06/device1.png" medium="image">
			<media:title type="html">iPhone Stats</media:title>
		</media:content>
	</item>
		<item>
		<title>iPhone Memory Management</title>
		<link>http://makboney.wordpress.com/2010/06/19/iphone-memory-management/</link>
		<comments>http://makboney.wordpress.com/2010/06/19/iphone-memory-management/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 19:22:59 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=314</guid>
		<description><![CDATA[After long time i&#8217;m back to my web home. Passing some tough time. Well today i am going to write about iPhone  memory  management. Its not easy to write code without considering the memory that reserved for you. If you dont have a clear concept right now, surely you will face some problem in developing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=314&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After long time i&#8217;m back to my web home. Passing some tough time. Well today i am going to write about iPhone  memory  management. Its not easy to write code without considering the memory that reserved for you. If you dont have a clear concept right now, surely you will face some problem in developing yar application. So lets have a discussion.</p>
<h2>Memory Management</h2>
<p>First of all Objective-C don&#8217;t have garbage collection like some other language. But i have to say the memory management is not 100% manual neither 100% automatic. Confused!!! Wait keep reading, hope you will find the answer.</p>
<h3>Retain Count</h3>
<p>The first technique that can help to mange your memory is retain count.</p>
<p>So what is retain count???</p>
<p>Retain Count: How many other objects have a reference of a particular object. That is how many other objects holding the reference  of your declared objects. Hope you know that when you declared an object it consumed some space in your main memory and if don&#8217;t make free that space that will be a nightmare for you later. So every time you declared an object some memory occupied by your program and if you don&#8217;t dealloc it application will be crashed. So easy way to count down to find it is retain count.</p>
<p>In Objective C every class is derived from base class NSObject which has an property retainCount. So you can make an inquiry of your declared object with this property. Whenever you declare an object or hold the reference of an object the retainCount increased by  1 and when you release the reference, the retainCount is decreased by 1. And finally when the retainCount gets down to 0, Objective-C deletes memory for that object. So here is the summery</p>
<p>–[anObject retain] &#8211;&gt; increment count by 1</p>
<p>–[anObject release]&#8211;&gt; decrement count by 1</p>
<p>When count ==0 &#8211;&gt;Obj C deletes memory for that object</p>
<p>You must release those objects which belongs to you(forget the else).</p>
<h4>•Ownership of an object</h4>
<h4>–alloc</h4>
<h4>–new</h4>
<h4>–copy</h4>
<h4>–Retain message</h4>
<p>You owned an object when you declare it by alloc/new, copt actually mutableCopy and by the retain message. So its yar duty to maintain retainCount. Thats the manual thing i talking about.</p>
<blockquote><p>•Reference counting (example)</p>
<p>NSNumber  *myInt 1=  [NSNumber numberWithInteger:100]  ;</p>
<p>//count incresed by 1</p>
<p>NSNumber  *myInt 2;</p>
<p>NSMutable Array *myArray = [NSMutableArray array];</p>
<p>[myInt1 retainCount]; //just print to see what goin on result =1</p>
<p>[myArray addObject:myInt1]; //increment by 1</p>
<p>[myInt1 retainCount]; // result 2</p>
<p>myInt2 = myInt1;  //holding the reference</p>
<p>[myInt1 retain]; //doing that b coz of earlier statement</p>
<p>[myArray removeObject:myInt1]; // decresed by 1</p>
<p>[myInt1 release]; //// decresed by 1</p>
<p><span id="more-314"></span>[2 b continued]</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=314&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/06/19/iphone-memory-management/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to Objective-C</title>
		<link>http://makboney.wordpress.com/2010/04/13/introduction-to-objective-c/</link>
		<comments>http://makboney.wordpress.com/2010/04/13/introduction-to-objective-c/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 09:56:00 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=300</guid>
		<description><![CDATA[Lets find the history of Objective-C in a a very short circumstances. 1972:  we have C one of the most popular programming languages 1983:  a reflective, object-oriented programming language which adds Smalltalk-style messaging to the C programming language. 1988: NeXT licences Objective-C for NeXT step C. 1996 : Apple buys NeXT. 2002: OS X 2007: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=300&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Lets find the history of Objective-C in a a very short circumstances.</p>
<p style="padding-left:30px;text-align:justify;">1972:  we have C one of the most popular programming languages</p>
<p style="padding-left:30px;text-align:justify;">1983:  a reflective, object-oriented programming language which adds Smalltalk-style messaging to the C programming language.</p>
<p style="padding-left:30px;text-align:justify;">1988: NeXT licences Objective-C for NeXT step C.</p>
<p style="padding-left:30px;text-align:justify;">1996 : Apple buys NeXT.</p>
<p style="padding-left:30px;text-align:justify;">2002: OS X</p>
<p style="padding-left:30px;text-align:justify;">2007: iphone Objective C</p>
<p style="text-align:justify;">So we know that most of the modern languages (like C++, Java ,C# and etc) are from C. all of these are C Based languages.  For say if want to write the program &#8220;Hello world&#8221;</p>
<p style="padding-left:30px;text-align:justify;">In C++</p>
<p style="padding-left:150px;text-align:justify;">#include&lt;iostram.h&gt;</p>
<p style="padding-left:150px;text-align:justify;">int main()</p>
<p style="padding-left:150px;text-align:justify;">{</p>
<p style="padding-left:180px;text-align:justify;">std::cout&lt;&lt;&#8221;Hello World:!\n&#8221; ;</p>
<p style="padding-left:180px;text-align:justify;">return 0;</p>
<p style="padding-left:150px;text-align:justify;">}</p>
<p style="padding-left:30px;text-align:justify;">In java</p>
<p style="padding-left:150px;text-align:justify;">public class Hello{</p>
<p style="padding-left:180px;text-align:justify;">public static void main(String[] args)</p>
<p style="padding-left:180px;text-align:justify;">{</p>
<p style="padding-left:210px;text-align:justify;">System.out.println(&#8220;Hello World:!&#8221;) ;</p>
<p style="padding-left:180px;text-align:justify;">}</p>
<p style="padding-left:150px;text-align:justify;">}</p>
<p style="padding-left:30px;text-align:justify;">In C#</p>
<p style="padding-left:150px;text-align:justify;">public class Hello</p>
<p style="padding-left:150px;text-align:justify;">{</p>
<p style="padding-left:180px;text-align:justify;">public static void Main(0</p>
<p style="padding-left:180px;text-align:justify;">{</p>
<p style="padding-left:210px;text-align:justify;">System.Console.WriteLine(&#8220;Hello World:!&#8221;);</p>
<p style="padding-left:180px;text-align:justify;">}</p>
<p style="padding-left:150px;text-align:justify;">}</p>
<p style="text-align:justify;">See all of them inheritaed from C . All of these languages took C as their mother languages and implements and enhanced  from C. While Objective-C not enhanced from C.  Its actually expressing the language in a very different way. The same program written in Objective-c</p>
<p style="padding-left:150px;text-align:justify;">import&lt;Foundation/Foundation.h&gt;</p>
<p style="padding-left:150px;text-align:justify;">public int main(int argc, const char *argv)</p>
<p style="padding-left:150px;text-align:justify;">{</p>
<p style="padding-left:180px;text-align:justify;">NSLog(@&#8221;Hello World:!&#8221;);</p>
<p style="padding-left:180px;text-align:justify;">return 0;</p>
<p style="padding-left:150px;text-align:justify;">}</p>
<p style="text-align:justify;">Objective-C has thousands of build in classes like NSString,NSStream,NSThread,NStask and many more. And these classes belongs to the common framework named Foundation Framework. Similarly we have thousands of classes for managing  Core Audio,Core graphics ,Map Kit,Game kit  for user interface and those classes are organized under the Framework UIKit.  And finally combining both the Foundation Framework and UIKit Framework we have the Cocoa Touch Framework.</p>
<p style="text-align:justify;"><a href="http://makboney.files.wordpress.com/2010/04/cocoa-touch.jpg"><img class="aligncenter size-medium wp-image-302" title="Cocoa Touch Framework" src="http://makboney.files.wordpress.com/2010/04/cocoa-touch.jpg?w=300&#038;h=254" alt="" width="300" height="254" /></a></p>
<p style="text-align:justify;">
<p style="text-align:justify;">Cocoa uses the Model-View-Controller (MVC) design pattern throughout. Models encapsulate application data, Views display and edit that data, and Controllers mediate the logic between the two. By separating responsibilities in this manner, you end up with an application that is easier to design, implement, and maintain.</p>
<p>The MVC pattern means that Interface Builder requires no code to be written or generated while you focus exclusively on the View of your application. Cocoa bindings on the Mac eliminate most of the glue code, making the connection between Controllers coded in Xcode and the Views designed within Interface Builder a simple matter of graphically “wiring” the two together. Interface Builder works with Cocoa to make localizing your application easy so you can quickly enter entirely new</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=300&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/04/13/introduction-to-objective-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/cocoa-touch.jpg?w=300" medium="image">
			<media:title type="html">Cocoa Touch Framework</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello iPhone</title>
		<link>http://makboney.wordpress.com/2010/04/12/hello-iphone/</link>
		<comments>http://makboney.wordpress.com/2010/04/12/hello-iphone/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 11:48:47 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=277</guid>
		<description><![CDATA[Its enough if you have a little knowledge in C/C++ or C# or in Java to build your first iPhone application. Okay,  as usual we are going to develop the famous HelloWorld Application. We use Visual studio for developing C# or asp.net application, Eclipse for java and Dreamweaver  for PHP. You know all of  these [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=277&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Its enough if you have a little knowledge in C/C++ or C# or in Java to build your first iPhone application. Okay,  as usual we are going to develop the famous HelloWorld Application.</p>
<p style="text-align:justify;">We use Visual studio for developing C# or asp.net application, Eclipse for java and Dreamweaver  for PHP. You know all of  these are IDE. Like those, in developing  iPhone application we use IDE XCode which is very interactive. Here, in this example  we dont need to code on Objective-C because its very simple.</p>
<p style="text-align:justify;">First create a new project named HelloWorld. Soon you will see a figure like the bellow one.</p>
<p style="text-align:justify;">
<p style="text-align:justify;"><a href="http://makboney.files.wordpress.com/2010/04/pix2.jpg"><img class="aligncenter size-medium wp-image-279" title="HelloWorld" src="http://makboney.files.wordpress.com/2010/04/pix2.jpg?w=300&#038;h=196" alt="" width="300" height="196" /></a></p>
<p style="text-align:justify;">Okay, here i have to mention that we can use XCode for developing Mac applications as well as iPhone applications. We go for iPhone application. You will  see some templets on the right hand side. Among them we choose View Based Application.</p>
<p style="text-align:justify;">Now you will see that your project files are organized into different folders. XCode manage it because you can pick your file easily andd work on that but in your disk they are in the same place.</p>
<p style="text-align:justify;"><a href="http://makboney.files.wordpress.com/2010/04/pix3.jpg"><img class="aligncenter size-medium wp-image-281" title="HelloWorld file structure" src="http://makboney.files.wordpress.com/2010/04/pix3.jpg?w=300&#038;h=195" alt="" width="300" height="195" /></a></p>
<p style="text-align:justify;">Now go to the class folder and double-click the HelloWorldViewController.xib file which is actually the design file. These will run another program called Interface Builder and you will seesome windows like the figure bellow&#8230;</p>
<p style="text-align:justify;"><a href="http://makboney.files.wordpress.com/2010/04/pix4.jpg"><img class="aligncenter size-medium wp-image-282" title="HelloWorld Interface Builder" src="http://makboney.files.wordpress.com/2010/04/pix4.jpg?w=300&#038;h=174" alt="" width="300" height="174" /></a></p>
<p style="text-align:justify;">The View window gives you the flavour of how your application will look like. While Libary window contains the interface&#8217;s elements and the Controller window is very important one to mange different action and view of your application. Here  drag a label and write &#8220;Hello world&#8221; by double clicking the label. Now close the Interface Builder. Build and Run your application. Hope you will see like&#8230;</p>
<p style="text-align:justify;"><a href="http://makboney.files.wordpress.com/2010/04/pix-5.jpg"><img class="aligncenter size-medium wp-image-283" title="Hello World Simulator" src="http://makboney.files.wordpress.com/2010/04/pix-5.jpg?w=161&#038;h=300" alt="" width="161" height="300" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=277&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/04/12/hello-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/pix2.jpg?w=300" medium="image">
			<media:title type="html">HelloWorld</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/pix3.jpg?w=300" medium="image">
			<media:title type="html">HelloWorld file structure</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/pix4.jpg?w=300" medium="image">
			<media:title type="html">HelloWorld Interface Builder</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/pix-5.jpg?w=161" medium="image">
			<media:title type="html">Hello World Simulator</media:title>
		</media:content>
	</item>
		<item>
		<title>Test-Driven Devlopment (TDD)</title>
		<link>http://makboney.wordpress.com/2010/04/12/test-driven-devlopment-tdd/</link>
		<comments>http://makboney.wordpress.com/2010/04/12/test-driven-devlopment-tdd/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 10:04:16 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[Software Crafting]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[NUnit]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=260</guid>
		<description><![CDATA[Please don&#8217;t think that Test-Driven development(TDD) is relevent to Testing. Because the name suggest you to think like that. It&#8217;s absolutely far away from testing. Okay, keep reading and you will have an idea on TDD. Here i just describing it on the basis of some documents got from BASIS OOP training programs. i am [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=260&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Please don&#8217;t think that Test-Driven development(TDD) is relevent to Testing. Because the name suggest you to think like that. It&#8217;s absolutely far away from testing. Okay, keep reading and you will have an idea on TDD. Here i just describing it on the basis of some documents got from BASIS OOP training programs. i am lucky because i completed that course. Now i am going to explain</p>
<h3>what is Test-Driven Development :</h3>
<p>Is a Test-First approach (Write the test-code first and then write the dev-code)<br />
It leads to think about ‘How to use a component’ first and then about ‘How to implement’.<br />
As much about design technique as testing TDD technique.<br />
As much about (executable) documentation as testing</p>
<p>so, that&#8217;s the summary of TDD. TDD is about writing the development code through test code. At the very beginning we there are some story(User Story) and depending on those story we  will implement. So from the story we should find out the components and then implement the application on those components. please don&#8217;t write any code by thinking  what will happen in future? Then you are not in TDD. Because TDD insists to write exactly what we need not what we will need.Thsee are almost the principle of TDD.</p>
<h3>Principles of TDD</h3>
<p>Kent Beck defines:</p>
<p>• Never write a single line of code unless youhave a failing automated test.<br />
• Eliminate duplication.</p>
<h5><span style="color:#ff0000;">Red (Automated test fail)</span></h5>
<p><span style="color:#ccffcc;"><span style="color:#00ff00;">G</span><span style="color:#00ff00;">reen (Automated test pass because dev code has been written)</span></span></p>
<h5><span style="color:#333333;">Refactor (Eliminate duplication, Clean the code)</span></h5>
<p>well  those are the principles of TDD. Think, you are yet confused. Trying to make it clear.</p>
<p>Actually  Red/Green/Refactor defines the process for implementing each test in the test list. The goal of this process is to work in small, verifiable steps that provide immediate feedback. William Wake, in his book Extreme Programming Explored (Addison-Wesley, 2001), details the programming tasks as follows:<span id="more-260"></span></p>
<p style="padding-left:120px;">1.Write the test code.</p>
<p style="padding-left:120px;">2.Compile the test code.(It should fail because you haven’t implemented anything yet.)</p>
<p style="padding-left:120px;">3.Implement just enough to compile.</p>
<p style="padding-left:120px;">4.Run the test and see it fail.</p>
<p style="padding-left:120px;">5.Implement just enough to make the test pass.</p>
<p style="padding-left:120px;">6.Run the test and see it pass.</p>
<p style="padding-left:120px;">7.Refactor for clarity and to eliminate duplication.</p>
<p style="padding-left:120px;">8.Repeat from the top.</p>
<p>okay lets look the entire phenomena  as a pictorial view</p>
<p><a href="http://makboney.files.wordpress.com/2010/04/tdd.jpg"><img class="aligncenter size-medium wp-image-265" title="Principles of TDD" src="http://makboney.files.wordpress.com/2010/04/tdd.jpg?w=300&#038;h=229" alt="" width="300" height="229" /></a></p>
<p>Now let&#8217;s have a demo. I am going to implement a stack example.</p>
<h3>Quick Demo on TDD in Stack</h3>
<h4>Tools used in this demo:</h4>
<h5>- IDE : VS 2008</h5>
<h5>- Language : C#</h5>
<h5>- Unit Testing Tool: NUnit</h5>
<h5>- Refactoring Tool: ReSharper</h5>
<h6>Story/ Test : Create a Stack and verify that IsEmpty is true.</h6>
<p>This test requires creating a Stack and then calling the IsEmpty property. The IsEmpty property should return true because we haven’t put any elements into the Stack. Let’s create a file called StackFixture.cs, in which we write a test fixture class, called StackFixture, to hold the tests.</p>
<p style="padding-left:180px;"><span style="color:#99ccff;">using System;<br />
using NUnit.Framework; </span></p>
<p style="padding-left:180px;"><span style="color:#99ccff;">[TestFixture]<br />
public class StackFixture<br />
{ /* … */ } </span></p>
<p>There are a few things of interest about this class. The line using NUnit.Framework; is needed to reference the custom attributes defined in NUnit that are used to mark the test fixture. The [TestFixture] attribute can be associated only with a class. This attribute is an indicator to NUnit that the class contains test methods.</p>
<p>The next activity is to write the method that does the test. (Here, the test method name is Empty.)</p>
<p style="padding-left:180px;"><span style="color:#99ccff;">[Test]<br />
public void Empty()<br />
{</span></p>
<p style="padding-left:210px;"><span style="color:#99ccff;">Stack stack = new Stack();</span></p>
<p style="padding-left:210px;"><span style="color:#99ccff;">Assert.IsTrue(stack.IsEmpty);</span></p>
<p style="padding-left:180px;"><span style="color:#99ccff;">} </span><span style="color:#99ccff;"> </span></p>
<p>The test method is marked with the attribute [Test]. The first thing is to create a Stack object. After creating the object, we use the Assert.IsTrue(…) method to verify that the return value of IsEmpty is true.</p>
<p>Although the class used in the test, Stack, and the property IsEmpty do not exist, we are writing test code as if they do. We are thinking about how the class and its methods are used instead of how to implement it, which is an important distinction. This is why many people refer to test-driven development as much a design technique as a testing technique. Many times, class library designers implement a library and then figure out how to use it, which can lead to libraries that require a lot of initialization, complex method interactions, and increased dependencies. Thinking about how to use the library before implementing it places a greater emphasis on usage, which often leads to better design.</p>
<p>Because the Stack class does not exist, the test does not compile. That’s easy enough to fix. What is the smallest amount of work that needs to be done to get this to compile?</p>
<p style="padding-left:180px;"><span style="color:#99ccff;">using System;</span><span style="color:#99ccff;"><br />
</span><span style="color:#99ccff;">public class Stack</span><span style="color:#99ccff;"><br />
</span></p>
<p style="padding-left:180px;"><span style="color:#99ccff;">{</span><span style="color:#99ccff;"><br />
</span><span style="color:#99ccff;"> </span></p>
<p style="padding-left:210px;"><span style="color:#99ccff;">private bool isEmpty = true; </span></p>
<p style="padding-left:240px;"><span style="color:#99ccff;"><br />
</span><span style="color:#99ccff;"> public bool IsEmpty</span></p>
<p style="padding-left:270px;"><span style="color:#99ccff;">{</span><span style="color:#99ccff;"><br />
</span><span style="color:#99ccff;"> </span></p>
<p style="padding-left:300px;"><span style="color:#99ccff;">get{return isEmpty; }</span><span style="color:#99ccff;"><br />
</span><span style="color:#99ccff;"> </span></p>
<p style="padding-left:270px;"><span style="color:#99ccff;">}</span></p>
<p style="padding-left:180px;"><span style="color:#99ccff;"><br />
</span><span style="color:#99ccff;">}</span></p>
<p>This implementation is certainly small; in fact, it might seem surprising. Remember that the goal is to do the smallest amount of work possible to get the code to compile. Some people might say that this code is too complicated: given the test, they might argue that the following code would be sufficient:</p>
<p style="padding-left:180px;"><span style="color:#99ccff;">public bool IsEmpty<br />
{</span></p>
<p style="padding-left:210px;"><span style="color:#99ccff;">get</span></p>
<p style="padding-left:240px;"><span style="color:#99ccff;">{<br />
</span></p>
<p style="padding-left:270px;"><span style="color:#99ccff;">return true;<br />
</span></p>
<p style="padding-left:240px;"><span style="color:#99ccff;">}</span></p>
<p style="padding-left:180px;"><span style="color:#99ccff;"><br />
}</span></p>
<p>There is a balance to achieve between anticipating future tests and implementation and being totally ignorant of the next test. In the beginning, you should focus on the test you are writing and not think about the other tests. As you become familiar with the technique and the task, you can increase the size of the steps. You should always keep in mind that large steps are harder to debug than smaller steps. Also, if your code is too complicated or provides functionality that is not tested, additional refactorings can result later.</p>
<p>This discussion is also relevant to the earlier discussion about the test list. It is very clear from the test list that you have to store multiple items. Should you go ahead and use an ArrayList because you might need it later? No—the current tests do not support the need for an ArrayList. Wait and see what the tests look like before making that decision.</p>
<p>Now that the code compiles, it is time to run the test in NUnit. The green bar displays, which indicates success. We can check off the first test and move on.</p>
<p>Like that test  we may have some other test/story to implementt.</p>
<h3>Tools for TDD</h3>
<p>TDD (Unit Testing):<br />
- .Net &gt;&gt; NUnit<br />
- Jave &gt;&gt; JUnit<br />
- C++ &gt;&gt; gUnit<br />
- Python &gt;&gt; PyUnit<br />
- Ruby &gt;&gt; Test::Unit</p>
<p>Thats all  about what i learned on TDD so far. Hope it will help you to have a basic concept on TDD</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=260&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/04/12/test-driven-devlopment-tdd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/tdd.jpg?w=300" medium="image">
			<media:title type="html">Principles of TDD</media:title>
		</media:content>
	</item>
		<item>
		<title>10 simple Google search tricks</title>
		<link>http://makboney.wordpress.com/2010/04/12/10-simple-google-search-tricks/</link>
		<comments>http://makboney.wordpress.com/2010/04/12/10-simple-google-search-tricks/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 06:58:42 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=257</guid>
		<description><![CDATA[Here are excerpts from an article on 10 little tricks you can use to get more out of a simple Google search: · Use the “site:” operator to limit searches to a particular site. I use this one all the time, and it’s particularly handy because many site’s built-in search tools don’t return the results [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=257&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are excerpts from an article on 10 little tricks you can use to get more out of a simple Google search:</p>
<p><strong><span style="color:#ccffcc;">·  Use the “site:”</span></strong> operator to limit searches to a particular site. I use this one all the time, and it’s particularly handy because many site’s built-in search tools don’t return the results you’re looking for (and some sites don’t even have a search feature). If I’m looking for WWD posts about GTD, for example, I could try this search: GTD site:webworkerdaily.com.</p>
<p><span style="color:#ccffcc;"><strong>·  Use Google as a spelling aid</strong>.</span> As Rob Hacker — the WWD reader I profiled last week — pointed out, entering a word into Google is a quick way to see if you have the right spelling. If it’s incorrect, Google will suggest the correct spelling instead. Additionally, if you want to get a definition of a word, you can use the “define:” operator to return definitions from various dictionaries (for example, define: parasympathetic).</p>
<p><strong>·</strong><span style="color:#ccffcc;"><strong> Use Google as a calculator</strong>. </span>Google has a built-in calculator — try entering a calculation like 110 * (654/8 + 3). Yes, your computer also has a calculator, but if you spend most of your day inside a browser, typing your calculation into the browser’s search box is quicker than firing up your calculator app.</p>
<p><strong>·<span style="color:#ccffcc;"> Find out what time it is anywhere in the world.</span></strong> This one’s really handy if you want to make sure that you’re not phoning someone in the middle of the night. Just search for “time” and then the name of the city. For example, try: time San Francisco</p>
<p><span style="color:#ccffcc;"><strong>·  Get quick currency conversions</strong>.</span> Google can also do currency conversion, for example: 100 pounds in dollars. It only has the more mainstream currencies, though — if you’re trying to see how many Peruvian nuevos soles your dollars might buy, you’ll be out of luck.</p>
<p><span style="color:#ccffcc;"><strong>·  Use the OR operator</strong>.</span> This can be useful if you’re looking at researching a topic but you’re not sure which keywords will return the information you need. It can be particularly handy in conjunction with the “site:” operator. For example, you could try this search: GTD or “getting things done” site:webworkerdaily.com</p>
<p><strong><span style="color:#ccffcc;">·  Exclude specific terms with the – operator. </span></strong>You can narrow your searches using this operator. For example, if you’re looking for information about American Idol but don’t want anything about Simon Cowell, you could try: “american idol” -cowell</p>
<p><span style="color:#ccffcc;">·<strong> Search for specific document types</strong>.</span> Google can search the web for specific types of files using the “filetype:” operator. If you’re looking for PowerPoint files about GTD, for example, you could try: GTD filetype:ppt</p>
<p>·<strong><span style="color:#ccffcc;"> Search within numerical ranges using the .. operator.</span></strong> Say, for example, you want to look for information about Olympic events that took place in the 1950’s, you could use this search: Olympics 1950..1960</p>
<p><strong>· </strong><span style="color:#ccffcc;"><strong>Area code lookup</strong>.</span> Need to know where a phone number is located? Google will let you know where it is, and show you a map of the area, too. For example: 415</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=257&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/04/12/10-simple-google-search-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>The Four Pillars of iPhone</title>
		<link>http://makboney.wordpress.com/2010/04/12/the-four-pillars-of-iphone/</link>
		<comments>http://makboney.wordpress.com/2010/04/12/the-four-pillars-of-iphone/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 06:11:42 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=247</guid>
		<description><![CDATA[There are many developers who can&#8217;t give you a specific idea in developing your iPhone application. So it would be little tough for you to adopt the new enviroment, you may confuzed about the right approach like me when i was new. So after having some documents and vedio tutorials i can tell you that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=247&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are many developers who can&#8217;t give you a specific idea in developing your iPhone application. So it would be little tough for you to adopt the new enviroment, you may confuzed about the right approach like me when i was new. So after having some documents and vedio tutorials i can tell you that you should follow the four pillars of iPhone. These four pillar will help you in developing your iPhone applications.</p>
<p>So the pillars of iPhone are :</p>
<p style="text-align:center;"><a href="http://makboney.files.wordpress.com/2010/04/pillars.jpg"><img class="size-thumbnail wp-image-251 aligncenter" title="pillars of iPhone" src="http://makboney.files.wordpress.com/2010/04/pillars.jpg?w=350&#038;h=209" alt="" width="350" height="209" /></a>The four pillars of iPhone</p>
<p><span id="more-247"></span></p>
<p>Okay i try to give you a short idea though you can guess what the are.</p>
<p><span style="color:#ccffff;">Tools</span>: In developing iPhone application you have to use some tools like XCode, interface builder and also a simulator.</p>
<p><span style="color:#ccffff;">Language</span>: Off course,  to develope any application you must need to follow the language. In developing iPhone application we follow the  language named Objective-C (its actually pretty much like C).</p>
<p><span style="color:#ccffff;">Design</span>: So you need to orient the interface&#8217;s elements  in a good manner so that your application looks very interactive and easier to use. Thats why you should concern in Design.</p>
<p><span style="color:#ccffff;">Process</span>: Process is about testing your application, provisioning your devices, publishing new versions, submitting to the App store</p>
<p><!--more-->Hope, now you have a good idea in iPhone which will help you in designing your iPhone applications.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/247/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/247/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=247&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/04/12/the-four-pillars-of-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>

		<media:content url="http://makboney.files.wordpress.com/2010/04/pillars.jpg?w=150" medium="image">
			<media:title type="html">pillars of iPhone</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Type Conversions</title>
		<link>http://makboney.wordpress.com/2010/03/28/data-type-conversions/</link>
		<comments>http://makboney.wordpress.com/2010/03/28/data-type-conversions/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 05:17:52 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[OOP Concept]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=240</guid>
		<description><![CDATA[Sometimes we have to change the data that we are using. Sometimes this change may change the value of the data or sometimes it just changes the memory space allocated by that data. This change is called data type conversion. Data type is converted in 2 ways. They are: Implicit conversion Explicit conversion They are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=240&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><span style="color:#333333;">Sometimes we have to change the data that we are using. Sometimes this change may change the value of the data or sometimes it just changes the memory space allocated by that data. This change is called data type conversion.</span></p>
<p><span style="color:#333333;"> </span></p>
<p style="text-align:justify;"><span style="color:#333333;">Data type is converted in 2 ways. They are:</span></p>
<p><span style="color:#333333;"> </span></p>
<ol style="text-align:justify;"><span style="color:#333333;"> </span></p>
<li><span style="color:#333333;">Implicit conversion</span></li>
<p><span style="color:#333333;"> </span></p>
<li><span style="color:#333333;">Explicit conversion</span></li>
<p><span style="color:#333333;"> </span></ol>
<p><span style="color:#333333;"> </span></p>
<p style="text-align:justify;"><span style="color:#333333;">They are described below.</span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#c0c0c0;"><strong><span style="color:#333333;">Implicit conversion:</span></strong></span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">An implicit conversion converts data automatically without losing any data. Normally, data types can implicitly converted into the data types those contain more memory space.</span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">Example:</span></p>
<p><span style="color:#333333;"> </span></p>
<blockquote><p><span style="color:#333333;">short </span><span style="color:#333333;">firstNumber = 65;</span></p>
<p><span style="color:#333333;">long </span><span style="color:#333333;">secondNumber = firstNumber;</span></p></blockquote>
<p><span style="color:#333333;"> </span><span style="color:#333333;"> </span></p>
<p><strong><span style="color:#333333;"> </span><span style="color:#333333;">Explicit conversion:</span></strong></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">An explicit conversion convert data that are automatically can’t be converted. It may converts data from bigger size to smaller size or converts data from one type into totally different type.</span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">Example:</span></p>
<p><span style="color:#333333;"> </span></p>
<blockquote><p><span style="color:#333333;">short </span><span style="color:#333333;">firstNumber = 65;</span></p>
<p><span style="color:#333333;">long </span><span style="color:#333333;">secondNumber = firstNumber; </span><span style="color:#333333;">//Implicit conversion</span></p>
<p><span style="color:#333333;">short </span><span style="color:#333333;">thirdNumber = (short)secondNumber; /</span><span style="color:#333333;">/Explicit  conversion</span></p>
<p><span style="color:#333333;">Console</span><span style="color:#333333;">.WriteLine(thirdNumber);</span><span style="color:#333333;"> //outputs 65</span></p>
<p><span style="color:#333333;">char </span><span style="color:#333333;">a = (char)firstNumber; </span><span style="color:#333333;">//Explicit conversion</span></p>
<p><span style="color:#333333;">Console</span><span style="color:#333333;">.WriteLine(a); </span><span style="color:#333333;">//outputs A</span></p></blockquote>
<p><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">We can use some built in functions those are provided with C#.</span><strong><span style="color:#333333;"> </span></strong></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#ffff99;"><strong><span style="color:#333333;">a. </span></strong><strong><span style="color:#333333;">Convert class:</span></strong></span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">A convert class contains numerous method those can change one data type into another type. It is another implementation of explicit conversion.</span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">Example:</span></p>
<p><span style="color:#333333;"> </span></p>
<blockquote><p><span style="color:#333333;">int </span><span style="color:#333333;">number = 65;</span></p>
<p><span style="color:#333333;">char </span><span style="color:#333333;">character = Convert.ToChar(number); </span><span style="color:#333333;"> //Conversion using System&#8217;s Class</span></p>
<p><span style="color:#333333;">Console</span><span style="color:#333333;">.WriteLine(character);   //Output: A</span></p></blockquote>
<p><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span></p>
<p><span style="color:#ffff99;"><strong><span style="color:#333333;">b. </span></strong><strong><span style="color:#333333;">ToString() method:</span></strong></span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">A ToString() method converts any kind of data type into String type. It doesn’t change the internal value of that data.</span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">Example:</span></p>
<p><span style="color:#333333;"> </span></p>
<blockquote><p><span style="color:#333333;">char </span><span style="color:#333333;">character = Convert.ToChar(65); </span><span style="color:#333333;">//Conversion using System&#8217;s Class</span></p>
<p><span style="color:#333333;">string </span><span style="color:#333333;">numberString = (65).ToString();</span></p>
<p><span style="color:#333333;">Console</span><span style="color:#333333;">.WriteLine(character); </span><span style="color:#333333;">//Output: A</span></p>
<p><span style="color:#333333;">Console</span><span style="color:#333333;">.WriteLine(numberString); </span><span style="color:#333333;"> //Output(value is in String form): 65</span></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=240&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/28/data-type-conversions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Verbatim Characters</title>
		<link>http://makboney.wordpress.com/2010/03/28/verbatim-characters/</link>
		<comments>http://makboney.wordpress.com/2010/03/28/verbatim-characters/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 05:08:17 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[OOP Concept]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=235</guid>
		<description><![CDATA[A verbatim string is a string that is interpreted by the compiler exactly as it is written, which means that even if the string spans multiple lines or includes escape characters, these are not interpreted by the compiler and they are included with the output. The only exception is the quotation mark character, which must [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=235&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">A verbatim string is a string that is interpreted by the compiler exactly as it is written, which means that even if the string spans multiple lines or includes escape characters, these are not interpreted by the compiler and they are included with the output. The only exception is the quotation mark character, which must be escaped so that the compiler can recognize where the string ends.</p>
<p style="padding-left:150px;"><span style="color:#99ccff;">string </span>address =<span style="color:#ff0000;"> @&#8221;C:\Software\Books\Beginning”<span style="color:#000000;">;</span></span></p>
<p>As you can see, verbatim is indicated with an ‘@’ sign at the beginning of a string.</p>
<p>If you want to use a quotation mark inside a verbatim string, you must escape it by using another set of quotation marks.</p>
<p>Example:</p>
<p style="padding-left:150px;"><span style="color:#99ccff;">string </span>greetings = <span style="color:#ff0000;">@&#8221;"&#8221;Hello everyone&#8221;".said the trainer.&#8221;</span>;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=235&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/28/verbatim-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Naming Convention</title>
		<link>http://makboney.wordpress.com/2010/03/26/naming-convention/</link>
		<comments>http://makboney.wordpress.com/2010/03/26/naming-convention/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 06:59:07 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=229</guid>
		<description><![CDATA[.NET Naming Convention Casing Example Remarks Button camelCase saveButton Form PascalCase EmployeeInformationEntryUI &#8220;UI&#8221; or &#8220;Form&#8221; word should be appened at last part TextBox camelCase firstNameTextBox &#8220;TextBox&#8221; should be appended at last part ComboBox camelCase employeeListComboBox ListView camelCase emploueeListListView Class PascalCase Calculator, Employee should be noun Object camelCase myCalculator,employeeObj Method PascalCase GetFullName(), Add(), Encrypt() should be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=229&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><span style="color:#c0c0c0;">.NET Naming <span style="color:#333300;">Convention</span></span></h3>
<table style="height:209px;" border="0" cellspacing="0" cellpadding="0" width="575">
<col width="100"></col>
<col width="100"></col>
<col width="150"></col>
<col width="150"></col>
<tbody>
<tr>
<td width="100" height="17"></td>
<td width="100"><span style="color:#333300;">Casing</span></td>
<td width="150"><span style="color:#333300;">Example</span></td>
<td width="150"><span style="color:#333300;">Remarks</span></td>
</tr>
<tr>
<td height="17">Button</td>
<td>camelCase</td>
<td>saveButton</td>
<td></td>
</tr>
<tr>
<td height="17">Form</td>
<td>PascalCase</td>
<td>EmployeeInformationEntryUI</td>
<td>&#8220;UI&#8221; or   &#8220;Form&#8221; word should be appened at last part</td>
</tr>
<tr>
<td height="17">TextBox</td>
<td>camelCase</td>
<td>firstNameTextBox</td>
<td>&#8220;TextBox&#8221;   should be appended at last part</td>
</tr>
<tr>
<td height="17">ComboBox</td>
<td>camelCase</td>
<td>employeeListComboBox</td>
<td></td>
</tr>
<tr>
<td height="17">ListView</td>
<td>camelCase</td>
<td>emploueeListListView</td>
<td></td>
</tr>
<tr>
<td height="17">Class</td>
<td>PascalCase</td>
<td>Calculator, Employee</td>
<td>should be noun</td>
</tr>
<tr>
<td height="17">Object</td>
<td>camelCase</td>
<td>myCalculator,employeeObj</td>
<td></td>
</tr>
<tr>
<td height="17">Method</td>
<td>PascalCase</td>
<td>GetFullName(), Add(),   Encrypt()</td>
<td>should be verb</td>
</tr>
<tr>
<td height="17">Variable</td>
<td>camelCase</td>
<td>firstName,   basicSalary</td>
<td></td>
</tr>
<tr>
<td height="17">Property</td>
<td>PascalCase</td>
<td>FirstName,   BasicSalary</td>
<td></td>
</tr>
<tr>
<td height="17">Interface</td>
<td>PascalCase</td>
<td>IPrintable,   ICloneable</td>
<td>should be started   with &#8216;&#8221;I&#8221;</td>
</tr>
<tr>
<td height="17">Enum</td>
<td>PascalCase</td>
<td>EmployeeType</td>
<td></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/229/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=229&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/26/naming-convention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic Ajax Content</title>
		<link>http://makboney.wordpress.com/2010/03/25/dynamic-ajax-content-2/</link>
		<comments>http://makboney.wordpress.com/2010/03/25/dynamic-ajax-content-2/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 10:13:29 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[Freaky But Tricky]]></category>
		<category><![CDATA[Ajax]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=212</guid>
		<description><![CDATA[This script uses Ajax to enable you to load external pages into a DIV without having to reload the browser or use IFRAMES. If your external pages reference any external .css or .js files for styling, this script can also load and apply them to the page on demand. Step 1: Insert the below script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=212&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#333333;">This script uses Ajax to enable you to load external pages into a DIV without having to reload the browser or use IFRAMES. If your external pages reference any external .css or .js files for styling, this script can also load and apply them to the page on demand.</span></p>
<p><span style="color:#333333;"> </span></p>
<p><strong><span style="color:#333333;">Step 1:</span></strong><span style="color:#333333;"> Insert the below script into the JabvaScrip tag of the HEAD section of your page:</span></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;">(here i created an test.html)</span></p>
<p><span style="color:#333333;"> </span></p>
<blockquote><p><span style="color:#333333;">var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no)</span></p>
<p><span style="color:#333333;">var loadedobjects=&#8221;"</span></p>
<p><span style="color:#333333;">var rootdomain=&#8221;http://&#8221;+window.location.hostname</span></p>
<p><span style="color:#333333;">var bustcacheparameter=&#8221;"</span></p>
<p><span style="color:#333333;">function ajaxpage(url, containerid){</span></p>
<p><span style="color:#333333;">var page_request = false</span></p>
<p><span style="color:#333333;">if (window.XMLHttpRequest) // if Mozilla, Safari etc</span></p>
<p><span style="color:#333333;">page_request = new XMLHttpRequest()</span></p>
<p><span style="color:#333333;">else if (window.ActiveXObject){ // if IE</span></p>
<p><span style="color:#333333;">try {</span></p>
<p><span style="color:#333333;">page_request = new ActiveXObject(&#8220;Msxml2.XMLHTTP&#8221;)</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">catch (e){</span></p>
<p><span style="color:#333333;">try{</span></p>
<p><span style="color:#333333;">page_request = new ActiveXObject(&#8220;Microsoft.XMLHTTP&#8221;)</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">catch (e){}</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">else</span></p>
<p><span style="color:#333333;">return false</span></p>
<p><span style="color:#333333;">page_request.onreadystatechange=function(){</span></p>
<p><span style="color:#333333;">loadpage(page_request, containerid)</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">if (bustcachevar) //if bust caching of external page</span></p>
<p><span style="color:#333333;">bustcacheparameter=(url.indexOf(&#8220;?&#8221;)!=-1)? &#8220;&amp;&#8221;+new Date().getTime() : &#8220;?&#8221;+new Date().getTime()</span></p>
<p><span style="color:#333333;">page_request.open(&#8216;GET&#8217;, url+bustcacheparameter, true)</span></p>
<p><span style="color:#333333;">page_request.send(null)</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">function loadpage(page_request, containerid){</span></p>
<p><span style="color:#333333;">if (page_request.readyState == 4 &amp;&amp; (page_request.status==200 || window.location.href.indexOf(&#8220;http&#8221;)==-1))</span></p>
<p><span style="color:#333333;">document.getElementById(containerid).innerHTML=page_request.responseText</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">function loadobjs(){</span></p>
<p><span style="color:#333333;">if (!document.getElementById)</span></p>
<p><span style="color:#333333;">return</span></p>
<p><span style="color:#333333;">for (i=0; i</span></p>
<p><span style="color:#333333;">var file=arguments[i]</span></p>
<p><span style="color:#333333;">var fileref=&#8221;"</span></p>
<p><span style="color:#333333;">if (loadedobjects.indexOf(file)==-1){ //Check to see if this object has not already been added to page before proceeding</span></p>
<p><span style="color:#333333;">if (file.indexOf(&#8220;.js&#8221;)!=-1){ //If object is a js file</span></p>
<p><span style="color:#333333;">fileref=document.createElement(&#8216;script&#8217;)</span></p>
<p><span style="color:#333333;">fileref.setAttribute(&#8220;type&#8221;,&#8221;text/javascript&#8221;);</span></p>
<p><span style="color:#333333;">fileref.setAttribute(&#8220;src&#8221;, file);</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">else if (file.indexOf(&#8220;.css&#8221;)!=-1){ //If object is a css file</span></p>
<p><span style="color:#333333;">fileref=document.createElement(&#8220;link&#8221;)</span></p>
<p><span style="color:#333333;">fileref.setAttribute(&#8220;rel&#8221;, &#8220;stylesheet&#8221;);</span></p>
<p><span style="color:#333333;">fileref.setAttribute(&#8220;type&#8221;, &#8220;text/css&#8221;);</span></p>
<p><span style="color:#333333;">fileref.setAttribute(&#8220;href&#8221;, file);</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">if (fileref!=&#8221;"){</span></p>
<p><span style="color:#333333;">document.getElementsByTagName(&#8220;head&#8221;).item(0).appendChild(fileref)</span></p>
<p><span style="color:#333333;">loadedobjects+=file+&#8221; &#8221; //Remember this object as being already added to page</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">}</span></p>
<p><span style="color:#333333;">}</span></p></blockquote>
<p><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span><span style="color:#333333;"> </span></p>
<p style="padding-left:90px;"><span style="color:#ccffff;"><span style="color:#333333;"><br />
</span><span style="color:#333333;"> </span></span></p>
<p><span style="color:#333333;"> </span></p>
<p><strong><span style="color:#333333;">Step 2:</span></strong><span style="color:#333333;"> Once that&#8217;s done, simply create links that will load an external page into the desired DIV or container using one of the below syntax:</span></p>
<p><span style="color:#333333;"> </span></p>
<blockquote><p><span style="color:#333333;">href=&#8221;javascript:ajaxpage(&#8216;test.htm&#8217;, &#8216;contentarea&#8217;);&#8221;</span></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=212&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/25/dynamic-ajax-content-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET Web Site Types</title>
		<link>http://makboney.wordpress.com/2010/03/25/asp-net-web-site-types/</link>
		<comments>http://makboney.wordpress.com/2010/03/25/asp-net-web-site-types/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 09:52:00 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=203</guid>
		<description><![CDATA[As a Beginner i was little bite confused when created a Project. Asked many one but no one give me a clear answer about what does it mean by those Local Host,FTP and Remote Site. So here i am now and going to tell the beginners that they are types of  ASP.NET websites. Now i [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=203&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As a Beginner i was little bite confused when created a Project. Asked many one but no one give me a clear answer about what does it mean by those Local Host,FTP and Remote Site. So here i am now and going to tell the beginners that they are types of  ASP.NET websites. Now i am going give you a brief discussion on them:</p>
<p><span style="color:#ffcc99;"><strong>Local IIS sites:</strong></span></p>
<p>Local IIS sites run on your computer, handled by Internet Information Services. They are a good way to test a web site in an IIS environment, or for example, in the case of intranet sites.</p>
<p>In order to use local IIS sites, you must meet the following prerequisites:</p>
<ul>
<li>IIS 5.0 or later installed.</li>
<li>.NET framework 2.0 or later.</li>
<li>ASP.NET enabled on local IIS.</li>
<li>Administrative privileges on local computer.</li>
</ul>
<p>Creating local IIS sites:</p>
<p>Visual Studio handles the task for you, when you create a local IIS site.</p>
<p>Running local IIS websites:</p>
<p>By default, simply enter: <a href="http://localhost/YourSiteName/APage.aspx">http://localhost/YourSiteName/APage.aspx</a></p>
<p><span style="color:#ffcc99;"><strong>File-System based sites:</strong></span></p>
<p>With this project type, a website is stored on the file system. It is handy, when IIS is not installed, or when multiple developers must access the same files, in classroom settings, etc.</p>
<p>For testing file system sites, a Web server (included in Visual Studio) must be used.</p>
<p><span style="color:#ffcc99;"><strong>FTP sites:</strong></span></p>
<p>In this case, the sites are stored on a remote FTP server, and you can communicate with it using Visual Studio. You open the project, and then modify it, and VS takes care of synchronization, etc.</p>
<p>Active and Passive FTP mode:</p>
<ul>
<li>Active FTP is for server admins, the client initializes      a port for the command, and passes the address of it for the server, which      attempts to initialize a port on the client for the data. This will likely      fail, if the client has a firewall configured.</li>
<li>Passive FTP is for the clients. Both ports will be      initialized by the client, thus avoiding the interruption by the firewall.</li>
</ul>
<p>FTP credentials:</p>
<p>In most cases, when you attempt to connect to an FTP site, you must specify valid credentials. Be aware, that these credentials are passed to the server in clear text format, thus be likely the target of interception.</p>
<p>FTP files are cached by VS when editing them. This can cause versioning conflicts when two or more developers edit the same FTP site.</p>
<p><span style="color:#ffcc99;"><strong>Remote sites:</strong></span></p>
<p>Alternatively to an FTP server, you can also use a remote IIS server to publish your application on it. Although it’s a requirement for the server that FrontPage Server Extensions must be installed on it. Also, the same prerequisites exist as at the local IIS site, namely: IIS 5.0 or later, .NET 2.0 or later must be installed, and ASP.NET pages must be enabled on the server.</p>
<p>The creation of this type is simply as any other, Visual Studio transparently does the heavy setup work, and you can concentrate on the development.</p>
<p>All of them have some pros &amp; cons:</p>
<ul>
<li><span style="color:#cc99ff;"><strong>Local IIS site:</strong></span>
<ul>
<li><span style="color:#cc99ff;">Benefits: testability in IIS environment, site is       accessible from other computers</span></li>
<li><span style="color:#cc99ff;">Disadvantages:  demands administrative rights,       can be debugged only by one user</span></li>
</ul>
</li>
<li><span style="color:#cc99ff;"><strong>File-system based site:</strong></span>
<ul>
<li><span style="color:#cc99ff;">Benefits: security, no IIS needed, no administrative       rights needed, multiple users can debug it at the same time</span></li>
<li><span style="color:#cc99ff;">Disadvantages: cannot be tested in IIS environment</span></li>
</ul>
</li>
<li><span style="color:#cc99ff;"><strong>FTP site:</strong></span>
<ul>
<li><span style="color:#cc99ff;">Pros: site can be tested on the server where it will       be used</span></li>
<li><span style="color:#cc99ff;">Cons: site exists only in the server; this project       type cannot be created, only opened.</span></li>
</ul>
</li>
<li><span style="color:#cc99ff;"><strong>Remote site:</strong></span>
<ul>
<li><span style="color:#cc99ff;">Pros: testability, access for multiple developers</span></li>
<li><span style="color:#cc99ff;">Cons: debugging issues.</span></li>
</ul>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=203&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/25/asp-net-web-site-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure Projects</title>
		<link>http://makboney.wordpress.com/2010/03/25/configure-projects/</link>
		<comments>http://makboney.wordpress.com/2010/03/25/configure-projects/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 08:47:32 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=197</guid>
		<description><![CDATA[There are four project types for creating a web application in Visual Studio, which you should be familiar with for this exam. Namely: ASP.NET Web Site, Empty Web Site, ASP.NET Web Service, and ASP.NET Web Application. I will cover ASP.NET Web Site, and ASP.NET Web Application. ASP.NET Web Site: This project type is file-based, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=197&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are four project types for creating a web application in Visual Studio, which you should be familiar with for this exam. Namely:<span style="color:#ff99cc;"> ASP.NET Web Site</span>, <span style="color:#ffcc99;">Empty Web Site</span>, <span style="color:#ffff99;">ASP.NET Web Service</span>, and<span style="color:#ccffcc;"> ASP.NET Web Application</span>. I will cover ASP.NET Web Site, and ASP.NET Web Application.</p>
<h2><span style="color:#c0c0c0;"><strong>ASP.NET Web Site:</strong></span></h2>
<p>This project type is file-based, and there is no project file included. So every file- whatever its extension would be- in a given folder is the part of your project. This is the default web site project type in Visual Studio (simply click on the New Web Site button on the menu (represented as an Earth globe).</p>
<p>This template generates a web.config file with some initial entries, and a Default.aspx page with the given code-behind file for you. Also an App_Data folder will be included to help you begin your work. The above mentioned Empty Web Site project is exactly the same as this project type, the difference is that you won’t get any content generated at startup.</p>
<h2><span style="color:#c0c0c0;"><strong>ASP.NET Web Application:</strong></span></h2>
<p>You can understand the Web Site project type deeper in contrast with an ASP.NET Web Application project. If you’ve ever programmed a Windows Forms Application, you’ll find this project type very familiar. You can set references on assemblies, control the assembly information of your project with the AssemblyInfo.cs file. This type also generates .designer files for your web forms.</p>
<p>This project type includes a project file for your application, and only the files referenced in it will be the part of your web application, whatever else may reside in your project directory.</p>
<p>The compilation of a Web Application project is called classic compilation. All the files, which represent your UI (.aspx and etc) are published without compilation, thus compiled dynamically when the first user requests the page. The code files will be compiled to a single assembly, so you won’t be able to change them later.</p>
<p><strong><span style="text-decoration:underline;">Adding References</span></strong></p>
<p>There are two different scenarios of adding references to assemblies, depending on which project type you use. In the case of a Web Application, simply right click the references folder, and select add reference. Because Visual Studio is responsible for compiling this type, it simply includes your reference in the project file.</p>
<p>When you use a Web Site project type, adding a reference is also very easy, just click on the project name in solution explorer, and select add reference. Because this type of project is compiled by ASP.NET (and not Visual Studio), the web.config file will be modified to include your reference, in the following way:</p>
<p style="padding-left:150px;"><span style="color:#ccffcc;"><code>&lt;compilation&gt;</code><br />
<code> &lt;assemblies&gt;</code><br />
<code> &lt;add assembly=”MyAssembly” …./&gt;</code><br />
<code> &lt;/assemblies&gt;</code><br />
<code>&lt;/compilation&gt;</code></span></p>
<p>Of course, you can do this manually.</p>
<p>Be aware of that when you add a reference to an assembly, which isn’t included in the Global Asembly Cache, Visual Studio will generate a Bin folder in your project, and place the referenced assembly there, regardless of the project type you use. If you’ve added custom assemblies to your GAC, and reference them in your project, then you should include that assembly into your applications Bin folder, and set a reference to that copy. In this manner, you can use the XCOPY or the Copy Web Site tool to deploy your application.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=197&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/25/configure-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET Tracing</title>
		<link>http://makboney.wordpress.com/2010/03/25/asp-net-tracing/</link>
		<comments>http://makboney.wordpress.com/2010/03/25/asp-net-tracing/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 08:32:02 +0000</pubDate>
		<dc:creator>boney</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[.net]]></category>

		<guid isPermaLink="false">http://makboney.wordpress.com/?p=192</guid>
		<description><![CDATA[With tracing, you can access data from a running application, with the help of a browser. In ASP.NET, you can access to the following information: The details of the request Trace information: performance information of the Web page’s life cycle events Control tree: size information about controls. Session state: displays session variables and values Application [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=192&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With tracing, you can access data from a running application, with the help of a browser. In ASP.NET, you can access to the following information:</p>
<ul>
<li><span style="color:#99cc00;"><strong>The details of the request</strong></span></li>
<li><span style="color:#99cc00;"><strong>Trace information: </strong>performance      information of the Web page’s life cycle events</span></li>
<li><span style="color:#99cc00;"><strong>Control tree:</strong> size information about controls.</span></li>
<li><span style="color:#99cc00;"><strong>Session state:</strong> displays session variables and values</span></li>
<li><span style="color:#99cc00;"><strong>Application state:</strong> displays application variables and their values</span></li>
<li><span style="color:#99cc00;"><strong>Request cookie collection:</strong> list of cookies passed to the server as part of the      request</span></li>
<li><span style="color:#99cc00;"><strong>Response cookie collections:</strong> list of cookies passed to the browser as part of the      response</span></li>
<li><span style="color:#99cc00;"><strong>Headers collection:</strong> the list of HTTP headers sent with the request</span></li>
<li><span style="color:#99cc00;"><strong>Form collection:</strong> postback values.</span></li>
<li><span style="color:#99cc00;"><strong>QueryString collection</strong>: the variables of the query string.</span></li>
<li><span style="color:#99cc00;"><strong>Server variables</strong>:      all server variables.</span></li>
</ul>
<p>To enable tracing, you have two options: enable tracing for <span style="color:#ffff99;">single pages</span>, or for the<span style="color:#ffff99;"> whole application</span>. To enable page tracing, you should set the Trace property to true in the @Page directive. Also, you can set it in code-behind, with the Page.Trace.IsEnabled = true; syntax. At page level, you can also include a TraceMode property, which sets the sort order of trace information, by time, or by category. When you set tracing at the page level, the trace output will be added to your page, so never implement this behavior in production applications.</p>
<p>To enable tracing for the whole application, you should modify the web.config as follows:</p>
<p style="padding-left:90px;"><span style="color:#99ccff;">&lt;system.web&gt;<br />
&lt;trace <span style="color:#ff99cc;">ebabled=”true”</span> requestLimit=”100” pageOutput=”false” ceMode=”sortByCategory”  localOnly=”true” mostRecent=”false” /&gt;<br />
&lt;/system.web&gt;</span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2" width="595" valign="top"><strong>Attributes of Trace</strong></td>
</tr>
<tr>
<td width="298" valign="top">Enabled</td>
<td width="298" valign="top">Enable or disable tracing on the   application level. This behavior can be overridden by independent pages,   using the @Page directive. To enable tracing on specific pages, when   application-level tracing is disabled, set the pageOutput attribute   accordingly.</td>
</tr>
<tr>
<td width="298" valign="top">traceMode</td>
<td width="298" valign="top">The possible values are   SortByTime, which sorts the tracing information by time, or SortByCategory.</td>
</tr>
<tr>
<td width="298" valign="top">localOnly</td>
<td width="298" valign="top">Decides whether tracing   information should be provided just for local clients, or everyone else.   Always set to true when publishing your application.</td>
</tr>
<tr>
<td width="298" valign="top">pageOutput</td>
<td width="298" valign="top">Determines whether the tracing   information should be included for pages or not. When set to false, you can   view trace data in the Trace.axd site on the root level.</td>
</tr>
<tr>
<td width="298" valign="top">requestLimit</td>
<td width="298" valign="top">Specifies the number of HTTP   requests to be traced. Maximum us 10.000. Works only when application level   tracing is enabled.</td>
</tr>
<tr>
<td width="298" valign="top">mostRecent</td>
<td width="298" valign="top">Determines whether the most recent   number of HTTP request should be stored in the trace information, or only the   first requsetLimit number of requests.</td>
</tr>
<tr>
<td width="298" valign="top">writeToDiagnosticsTrace</td>
<td width="298" valign="top">If set to true, tracing   information will be forwarded to any trace listeners signed up to your   application.</td>
</tr>
</tbody>
</table>
<p>When enabled, application-level trace information can be viewed by requesting Trace.axd in the root of the application.</p>
<p>You can add your own tracing messages to the output, simply calling Trace.Write(string Category, string Message) or Trace.Warn(string Category, string Message). The only difference between the two is that Trace.Warn shows your message written with red letters.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makboney.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makboney.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makboney.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makboney.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makboney.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makboney.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makboney.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makboney.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makboney.wordpress.com&amp;blog=10914565&amp;post=192&amp;subd=makboney&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://makboney.wordpress.com/2010/03/25/asp-net-tracing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd48d90a1856be6181cf9d953372fd22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">boney</media:title>
		</media:content>
	</item>
	</channel>
</rss>
