Mobile Frameworkမ်ားအား ႏႈိင္းယွဥ္ၿခင္း

Today while I was developing Android App with PhoneGap, I found something in testing. When I ran my app in device, it normally loaded the index.html. Then I navigated through the app using the buttons I embedded in web page. Then, I pressed the back button of the device, it reloaded each previous page I entered in each button press. That took a long time to be back on App Home Page or exit from the App and sometime App crushed. So, I consider, "Is the PhoneGap is a good Framework to develop mobile app?". Then, I googled and found this comparison.

mobile appေရးတဲ့ ေနရာမွာ သုံးတဲ့ Frameworkေတြနဲ႔ Languageေတြရဲ႕ အားသားခ်က္ အားနည္းခ်က္ေတြပါ။ ဒါေပမဲ့ အေကာင္းဆုံးကေတာ့ သူ႕မူရင္း languageနဲ႔ frameworkကို သုံးတာ အေကာင္းဆုံးပါပဲ။ 
ဒီေန႔ေတာ့ Appကို PhoneGapနဲ႔ေရးရင္း phoneမွာ runလိုက္တယ္။ web pageေတြ တစ္ခုၿပီး တစ္ခု navigateလုပ္ၾကည့္ေတာ့ ဘာေတြ႕လဲဆိုေတာ့ back buttonႏွိပ္ရင္ အရင္ၾကည့္ဖူးတဲ့ web pageမွန္သမွ် ၿပန္ေခၚၿပီး ၾကာေတာ့ backႏွိပ္ရင္း appက crushၿဖစ္သြားတယ္။ အဲေတာ့ PhoneGap Frameworkဟာ Appေရးလို႔ ေကာင္းရဲ႕လားလို႔ စဥ္းစားမိတယ္။ googleမွာ ရွာလိုက္ေတာ့ Mobile Appေရးတဲ့အခါ သုံးတဲ့Frameworkေတြရဲ႕ အားသာခ်က္ အားနည္းခ်က္ကို ယွဥ္ၿပထားတာေတြ႕လို႔ မလာတယ္။
.
FeatureObj-C+IphoneJava+AndroidPhonegapTitanium
.
LanguageObjective CJavaHtml+CSS+JavescriptJavascript
.
IdeXcodeEclipseXcode or any editorAny capable JS editor
.
Can deploy toAll Ios devicesAll android devicesIos and Android devicesIos and Android devices
.
Interface built inGraphical interface builder application.XMLHtml and CSSJavascript using Titanium's API
.
UI LibraryCocoaAndroid specific Swing like libraryWebkit packaged as Native appsTitanium specific API compiled to native apps.
.
Looks Native?NativeNativeNoNative
.
Open sourceNoYesYesYes
.
Entry point of the app.main.mYourAppName.javawww/index.htmlResources/app.js
.
Big AdvantagesNative platform to develop for IOS, so has most comprehensive API, and developer comunity for IOS.Native platform to develop for IOS, so has most comprehensive API, and developer comunity for IOS.Can use a normal webpage and package it as a mobile app with minimal changes. No need to learn a new API or language. Existing tools like Firebug continue to work.Can use Javascript to create a App with native widgets.
.
Big DisadvantageNo AndroidNo IOSDoesnt use native widegts, so apps dont look native.Use its own API to layout widgets, so existing tools dont work. Api differs considerable for Android and IOS. Builds are very slow for Android.
.
DocuemntationVery GoodVery GoodFairPoor
.
Api Aware IDEXcodeEclipse and OthersAny IDE for Web developmentNone
.
Speed of CompilationFairFastInstant. (If you are working with chrome/Firebug)Slow


ကၽြန္ေတာ္ေရးတဲ့ postေတြက စာဖတ္သူအတြက္ အက်ဳိ္းရွိတယ္ဆုိရင္ commentေပးခဲ့ပါ။ လိုအပ္ခ်က္ေလးမ်ားရွိရင္လည္း အႀကံေပးခဲ့ပါ။


0 comments:

Post a Comment

 

Myanmar Android Programming Tutorials@ 2013 | designed by Star Tek