Nicko think on software, web, ideas

July 27, 2007

Web 2.0 API that I subscribe

Filed under: think&think — Nicko Satria Utama @ 11:04 pm

I want to build a an application that can connect everything on the web

It can be real application like business or community :) . So I need to register some of them

July 24, 2007

Simple Unified Process

Filed under: Uncategorized — Nicko Satria Utama @ 5:18 pm

I found unified process web sites that match for the education.

http://www.yoopeedoo.org

I think it is cool. You can read it. For students it is enough.

tightly coupled. it is bad.

Filed under: think&think — Nicko Satria Utama @ 12:29 pm

Some library or applications are tightly coupled by design. They are dependent on each other component so it is not easy to use in the other projects. Sometimes the library needs specific control like Component One or others, and cannot using native control .  Phew.

It makes me sad since I have to buy the control and the library just to make sure the project done and quickly deployed to the customer.

Just now I still develop controls and library so I can  make it on every project; and then I can using native control or downloadable control.

Loading Image from website

Filed under: Code and Code, think&think — Nicko Satria Utama @ 12:01 pm

 In the System.Drawing, Image can only get from the file and don’t have methods to download the images from the internet. The code below is getting from the url. First define the url. and download the data using stream.

private Image LoadFromURL(string url)
{
Image image = null;
MemoryStream ms = null;
byte[] data = null;
Uri uri = new Uri(url,UriKind.RelativeOrAbsolute);
WebClient webClient = new WebClient();
data = webClient.DownloadData(uri);
ms = new MemoryStream(data);
if (ms != null)
{
image = Image.FromStream(ms);
}
return image;
}

Blog at WordPress.com.