Tuesday, December 24, 2013

Tea Ron Na Kam Duong Jet by Nop Bayarith

My favorite song in year 2000

Objective-C vs PhoneGap

This is the answers for whom would like to build mobile application whether which one is better than  between Native Object-C and PhoneGap (web app combiner or wrapper)?

There are multiple ways of developing iOS applications. I like to program in Objective-C to make my iOS apps.
But you can do most of the things using jQTouch, jQMobile, PhoneGap etc.

When is it suitable or appropriate to use the native platform?

There are 6 answer for your consideration

Answer 1:
  1. PhoneGap is essentially a wrapper, so it will always lag behind the latest features, in addition to possibly having bugs in some edge cases.
  2. Not all platform features are going to be available in PhoneGap, so you'll need to know what is not supported before you decide to use it.
  3. Most hardware acceleration features will never be fully available, so if you want to make an advanced game with high end graphics, it's not going to work well.
  4. The maintenance required to do custom modules that are not available out of the box may actually take more time than developing native.
  5. Do you really need to run on more than 2 mobile OSes? Writing for iOS and Android will give you a fairly large market coverage, so you may be better off going native.
PhoneGap is designed for more simple web apps, data driven apps, and social apps that require connectivity to work. You may end up rewriting the app in it native language if your apps becomes popular and you need to support more features, but if you can launch an idea quickly on multiple devices, then you have a competitive advantage in the market.
Answer 2:

If you have a need to develop an app for multiple mobile platforms, quickly, with a minimum effort (i.e. implement once), use PhoneGap or similar. These frameworks provide a "lowest common denominator" type of environment, so you lose access, often, to capabilities of the native platform.
On the other hand, if you are developing an app only for iOS, then by all means, develop it in Objective-C as a native app. You then have at your disposal the complete SDK and capabilities of the platform! This is, of course, Apple's recommendation as a best practice for developing iOS apps!
In my own experience, I had a conversation with my CTO before I joined my company about whether we should develop native apps for our platform or use PhoneGap. We agreed that developing native apps was the way to go because we could take advantage of each platform's specific capabilities. Beyond that, a native app would provide a better user experience on the platform, because it would behave more like other native apps the user might be familiar with. Think about that last idea. Think of all your apps you enjoy. As a developer, you can probably tell -- and quickly -- which ones are native and which ones are not, just by using them. Which do you think provide a better user experience? Something to think about. :-)
In the end, it's up to you. You said you like Objective-C programming. So, go for it and go native! On the other hand, if you have multi-platform aspirations, and you are familiar with PhoneGap (or others) or want to learn about them, then go for it! :-)
Answer 3:
From my experience all of the JavaScript applications have been slower than apps written in the native platform. Not because of the phone or JavaScript, but because of the rendering of the DOM elements.

Answer 4:
Large data storage for cross mobile compatibility will be a problem with phonegap. If you need the app to store at least 10 mb worth of data (media files, documents, etc...), you'll be limited by 2-5mb or localStorage or cache manifest. See my related question here:
html5 to store greater than 50 mb worth of data?


Answer 5:
I tried phonegap, and the first thing that annoyed the hell out of me was that you could not control the keyboard like you are used to in obj-c. The keyboard is exactly the same you get when browsing a website, it has an extra pane at top of the keyboard with "next/previous" buttons. Therefore I am now trying out Titanium Appcelerator instead, where you can create native GUIs using javascript instead.
Answer 6:
I think that if its within your abilities to learn or use Objective-C, it's almost always best to do so. Using the native-SDK gives you access to everything on the device in the most compatible way possible. Using layers of abstraction only hurts functionality, customizability and debugging.
That said, it seems that there are some powerful and well written frameworks to compile HTML, CSS and JS into native apps. That may be appropriate if you are no a really tight schedule or if you need to get a quick prototype out, and you are a JavaScript ninja, but a novice Objective-C coder.

 Source: http://stackoverflow.com/questions/7026786/objective-c-vs-phonegap

Thursday, December 19, 2013

How to host a static website on S3

UPDATE: I was horribly wrong about how to do the domain forwarding for naked domains – however there’s a simple answer. The good folks at wwizer have got a free naked domain rewriting service. In order to use it simple change your A (Host) to point to the ip address and you’ll be sorted. wwwizer naked domain redirect

In February this year Amazon announced that you can now host static websites on S3. This is a great cost effective way of hosting small, simple websites (like an iPhone app site for example).
Here’s how you can do it:
  • Buy the domain name for the site you want to host. It’s best to do this first, because the S3 bucket name has to be the same as the domain.
  • Get an S3 account (it’s cheaper than you think, I only get billed 3c a month).
  • Log into the aws management console and create a bucket with the same name as your domain (complete with www). So for my website www.bigbuttonsapp.com I called the bucket www.bigbuttonsapp.com

Tuesday, December 17, 2013

Alan Jackson - Remember When

Brad Paisley - Little Moments (+playlist)

A Very Responsible Man

 Image from google search
At least It has been over 7 nights already I've been staying at office.

I work over 20hours per day. (7nights x 20hours = 140hours)

These days I have a very urgent work to complete it as soon as possible so I must take care of it responsibly.

I've tried all my best already and hope every things are going smooth and well.

Every night at office, I slept on chair all the time and now I've got backache.

My singly life are going very challenging, my struggle will bring me a very preferable results from people around.

I love to help people to make them more happier and happiness. Love to see people smile and their improvement.

I never think of my own healthy at all even I worked over midnight, no sleep, no enough eating or no travel but what I am doing those are called me "A very responsible man".

I like to do my works, I'd like to take responsible for it even I got nothing.
I don't like to do the works which I feel bored or that is not my responsible even they give me a million US dollars.

by: Han4U

Sunday, December 1, 2013

Like a "BOSS"

What I wish it's coming.
I wished to become a business owner when I lived with my mother.
I always prayed for this opportunity all the time when I went to pagoda near my home.

I'll try to commit to make it more successful in this life.

By: Han4U

I Love Music

I love music and I love it since I was their ages.

Life + Music + Sport = Refresh
Life + Skill + Commitment = Successful

In my life, I love to study in field of Information Technology as my skill and for my free time I love to play Football and Volleyball. I was the one who can play football & volleyball better than other boys when I was young.

I was chosen to play with elder players at my hometown because I played good and fast.

Besides sports, I really love music also. I can sing well as boys above when I was their ages.

By: Han4U