Posted by Seree.
Posted by Seree.
Click to see my family inside this post!
Posted by Seree.
Hi guys,
Today I’m going to share with you if you get stuck trying to learn IoC and implement it into your own ASP.NET MVC application.
I’ll not going to write a deep content about IoC but somehow I will share the short brief of the concept of IoC and how you can easily implement IoC in your ASP.NET MVC application using MVCContrib.
First of all, let’s share together what is IoC? and what it is for?
IoC stands for “Inversion of Control” which …
Posted by Seree.
Well, as a ASP.NET developer. You and me know that it’s a bit hard to apply what we called SEO-friendly URL for ASP.NET applications.
What is SEO-friendly URL?
It’s a URL that search engine love and will result in a better ranking for your web pages/site.
Let’s say you have an accounting system software and your product URL is http://www.xxx.com/product.aspx?Id=432 //Search engine will never know what the product is all about. They just saw Id=432 which doesn’t make sense for them. Actually, it …
Posted by Seree.
Hi friend,
I just want to share with you that after I’ve changed my ‘buy now’ button to the Belcher button, it converts like crazy.
Here you can see how it looks like…
So, quick note here. If you never heard about the Belcher button. Here is a short brief…
The Belcher button is one of a ‘buy’ button which Perry Belcher do his best split testing on various ‘buy’ buttons.
The result is that he found out what type of ‘buy’ button convert well…
Don’t …
Posted by Seree.
Hi guys,
I just want to know how you work with copywriters in this situation?
In my case, I’ve written a draft copy of my sales page and I want to find a copywriter to work for me to…
Critique my sales page
Optimize it
Proof reading
So far so good, I’ve a deal to give a branded iPhone application for copywriter in exchange to work with me.
The app itself would cost at least $1,000 to do.
However, I found a copywriter who claim that app unable …
Posted by Seree.
Hi fellow marketer,
After I’ve spend my last 1 year and half to learn and implement Internet marketing knowledge from bad to great marketers, I found that the first thing made you not achieve success is… you are working on not deep enough niche.
Speak simply, it’s a niche that too broad. I’ll give you my example from my experiences after implemented about 4 niches and I got succeeded just one niche.
You might known that I’m marketing and selling Wordpress related product. …
Posted by Seree.
Just create an interface by following this code.
@interface MREntitiesConverter : NSObject { NSMutableString* resultString;}@property (nonatomic, retain) NSMutableString* resultString;- (NSString*)convertEntiesInString:(NSString*)s;@end
@implementation MREntitiesConverter@synthesize resultString;- (id)init{ if([super init]) { //resultString = [[NSMutableString alloc] init]; } return self;}- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)s { [self.resultString appendString:s];}- (NSString*)convertEntiesInString:(NSString*)s { if(s == nil) { NSLog(@”ERROR : Parameter string is nil”); } resultString = [[NSMutableString alloc] init]; NSString* xmlStr = [NSString stringWithFormat:@"%@", s]; NSData *data = [xmlStr dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES]; NSXMLParser* xmlParse = [[NSXMLParser alloc] initWithData:data]; [xmlParse setDelegate:self]; [xmlParse parse]; …
Posted by Seree.
This can be done easily just like when you are working with the standard ViewController.
Here is the sample code…
UIAlertView *alert = [[UIAlertView alloc] init]; [alert setTitle:@"My Title"]; [alert setMessage:@"My message"]; [alert setDelegate:self]; [alert addButtonWithTitle:@"OK"]; [alert addButtonWithTitle:@"Cancel"]; [alert show]; [alert release];
With this, you can detect which button was pressed by handling the alertView message like this.
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ if (buttonIndex == 0) { // Yes, do something } else if (buttonIndex == 1) { // No }}
And when I do …
Posted by Seree.
Well done, I don’t know if there is any other framework that let you add a splash screen easier than the iPhone SDK or not. I never see it.
What you want to do is just creating your splash screen image in PNG format which have 320×480 resolution for portrait or 480×320 if your app is running on landscape orientation.
Then name it “Default.png”, please note that you have to name it “Default.png” not “default.png”. It’s case sensitive.
Then just put the file …
Posted by Seree.
I’m not quite sure why it’s so easy than I ever think of. But it is!
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
It just disables the Idle Timer of iPhone OS for my application.
Sweet!