ကျွန်တော်ကတော့ .Net သမားတစ်ယောက်ပါ.. အခုနှိုင်းယှဉ်ထားတာကလဲ website တစ်ခုမှာဖတ်မိတဲ့ article လေးတစ်ခုကိုဘာသာပြန်ထားတာပါ.. လွတ်လပ်စွာ ကွဲလွဲနိုင်ပါတယ် အဲဒီလောက်ထိတော့ မသိသေးပါဘူး။ ဒါပေမယ့် .Net ကတော့ open source မဟုတ်ပေမယ့် ရေးလို့ကောင်းပါတယ် ။။
What is the .Net framework?
.Net Framework မှာ အပိုင်းနှစ်ပိုင်းရှိပါတယ်။ တစ်ပိုင်းကတော့ CLR (the thing that runs code) ဆိုတဲ့ကုတ်တွေကို run တဲ့အပိုင်းနဲ့ A hierarchical set of Class Libraries လို့ခေါ်တဲ့ အသင့်ရေးထားတဲ့ libraries file (Included in those class libraries are ASP.Net ,ADO.NET (a data access system)and Windows Forms(classes for building window’s application)) တွေပါပါတယ်။ CLR ဟာ .Net ကနေ မွေးစားယူထားတဲ့ ဘယ် language နဲ့ ရေးထားတဲ့ ကုတ်ကိုမဆို run နိုင်ပါတယ်။OS တွေမှာလဲ CLR ရှိရင် အဲဒီ ကုတ်တွေအားလုံးကို run နိုင်ပါတယ်။
6 great reasons to use .Net
1.Speed
.Net application အားလုံးက compiled လုပ်ပြီးသားတွေ ဖြစ်ပါတယ်..ဒါဟာ .Net တွေကို interpreted လုပ်ပြီး run တဲ့ PHP ထက်မြန်စေပါတဲ့အချက်ပါပဲ။ အဲလိုမျိုး PHP မှာ ကုတ်တွေကို achieve လုပ်ပေးမယ့် PHP accelerator မျိုးကို server မှာ သပ်သပ် installed လုပ်ပေးရပါမယ်. ဒါပေမယ့် အဲလို companies မျိုးက ရှားပါတယ်။ နောက်ပြီး OO ဟာလည်း PHP မှာထက် ASP.Net မှာ ပိုမြန်ပါတယ်။။
2.More language support
ASP.Net ဟာ အမှန်တကယ် OO(Object Oriented) Programming language ကိုအသုံးပြုပြီးရေးပါတယ်။ PHP ကတော့ .Net language တွေဖြစ်တဲ့ C++,C# and VB.Net နှိုင်းယှဉ်လိုက်ရင် simple ဖြစ်တဲ့ scripting language နဲ့ ရေးတာဖြစ်ပါတယ်။ .Net language တွေမှာ programming သက်တမ်းမကြာဘဲနဲ့ master တစ်ယောက်ဖြစ်ဖို့ ခက်ခဲပါတယ်။ PHP ကိုသိနေလို့ C# ကိုလေ့လာဖို့သိပ်မခက်ပေမယ့် ASP.Net ကိုတော့ PHP လိုအလွယ်တကူ သုံးနိုင်ဖို့ ခက်ပါတယ်။
နောက်တစ်ခုကောင်းတာက .Net ဟာ Multi-language support ဖြစ်ပါတယ်။ ASP.Net ကို C++.C#,VB.Net,Jscript.Net,Python,Perl,J#,COBOL,Eiffel and Delphi တို့နဲ့ ရေးနိုင်ပါတယ်။ ASP.Net application ကို PHP မှာရေးဖို့ ကတော့ မဖြစ်နိုင်သေးပါဘူး ..
.Net မှာကောင်းတာတစ်ခုက ကုတ်တွေကို ရောရေးလို့ရတာပါပဲ။ C# ကနေ C++ or VB.Net နဲ့ ရေးထားတဲ့ class တွေကိုယူသုံးလို့ရပါတယ်။ ဒါကြောင့် သင့် project အတွက် လိုအပ်တဲ့ အသင့်ရေးထားတဲ့ suitable pre-written class တွေကိုလည်း web ပေါ်မှာရှာပြီး ထည်းသွင်းအသုံးပြုနိုင်ပါတယ်။
3.Your choice of development environments
This is an area where ASP.NET shines! Microsoft ကနေ a free development environment for ASP.NET called Web Matrix ကို ထုတ်လိုက်ပါတယ်။ အဲဒါဟာ တခြား free development environment for PHP တို့ကို ရိုက်ခတ်သွားပါတယ်။ သူ့မှာ built-in Web server,database administration interface FTP integration စတာတွေအားလုံးပါပါတယ်။ ဒါတွေဟာ Visual Studio.Net ကို မသုံးတဲ့သူတွေ အတွက်ဖြစ်ပြီး Visual Studio.Net မှာတော့ ဒါတွေအပြင် အောက်ပါတို့ကိုပါ လုပ်ဆောင်ပေးနိုင်ပါတယ်။
- သင့်ရဲ့ database ကနေ ပုံတွေ၊ report တွေကို automatically ဖန်တီးပေးနိုင်ပါတယ်
- Line by line ကုတ်တွေကို debug လုပ်ပေးနိုင်ပါတယ်. Run နေတဲ့ အဆင့်တိုင်းမှာ ဘာတွေဖြစ်နေလဲဆိုတာကို ကြည့်လို့ရပါတယ်
- Execution ရဲ့ အလယ်မှာ variable တွေ ကို temporary value change ပေးလို့ရပါတယ် ။။အဖြေမှာ နောက်တမျိုးထွက်မထွက်ကို စစ်ကြည့်လို့ရပါတယ်။
- Debugging လုပ်နေတဲ့ အချိန်မှာ Mouse ကို variable အပေါ်ကို တင်လိုက်တာနဲ့ လက်ရှိ variable မှာ ရှိနေတဲ့ တန်ဖိုးကို ကြည့်လို့ရပါတယ်။
4.It’s part of .Net
ASP.Net ဟာလည်း .Netရဲ့ အစိတ်အပိုင်းဖြစ်တာမို့ benefit တွေအများကြီးရှိပါတယ်။ ASP.Net ရေးတာကို သိတာနဲ့ ရိုးရိုး application တွေကိုလည်း ရေးတတ်သွားပါမယ်။ PHP has PHP-GTK, but it's currently very immature compared to .NET.
5.It’s cheaper to develop for
ဒါကတော့ ထူးဆန်းပါတယ်။ ASP.Net က ဒီလောက်ကောင်းပေမယ့် သူ့ရဲ့ကုန်ကျစရိတ်က free နီးပါးပါပဲ ( including the code editor,Web server and FTP client) .. PHP မှာတော့ (PHP development environment composed of UltraEdit , Bullet Proof FTP, mySQLfront ) စတာတွေကုန်ကျပါတယ် ..ဒါပေမယ့် hosting ASP.NET is still more expensive than PHP.
6.It’s Cross-Platform
.NET is currently pretty much tied to the Windows platform. This is a bad thing, but I'm quite confident that .NET will become very cross-platform in a few years.
MORE INFO>> http://articles.sitepoint.com/article/v-php-top-6-reasons-use-net
Saturday, January 02, 2010
min that thant
Posted in 
No Response to ".NET V .PHP ::: Top 6 Reasons to Use .NET"
Post a Comment