A few days ago an acquaintance pass me an article about Xamarin as the new best candidate for phone apps. Sorry, but I’ve never laughed more in my life. He compered it with Phonegap (Cordova) telling me that it’s more powerfull… but the real thing is that it’s not and I’m going to tell you just some couple of good reasons.
- Xamarin only supports iOS, Android and Windows phone plataforms whereas Cordova supports iOs, Android, Windows, Amazon Fire OS, Backberry, Ubuntu, Firefox OS, LG webOS, etc.
- You have to pay to use Xamarin and it’s not Opensource whereas Cordova is Opensource and free.
- Xamarin doesn’t support Web Standards whereas Cordova supports Web Standards.
- Both have access to the device API.
- Xamarin uses it’s own native interface whereas Cordova uses Web UI which is the most widespread.
- Neither of both have a full native performance for all the platforms.
- Xamarin uses C# whereas Cordova uses HTML5, CSS and JavaScript.
However, the real comparison would be with Qt which uses C++ (a compiled language) but even Qt is better, more mature, more tested, opensource and free, and with even more supported platforms.
So, if you want to lose your time and make things go slower, feel free to use Xamarin. I think at the end some people are as blind with Technologies and Brands as they are with Politics and Religions. You can’t argue with them because they don’t like the proofs and the truth (they feel like you were attacking their physical integrity) or maybe you are a C# programmer who doesn’t want to learn new technologies in your life (more reasonable).
And why not use Qt? Well, I’ve been developing with Qt since 2007, when I was at the University (before tablets, phones and wearables boom). Qt is really heavy, complex, with a steep learning curve if you want to create awesome interfaces. One of the best things was its access to the device API (cross platform) but Web Technologies have caught it up.
We advance to make easier, open and powerful apps. I know, it’s hard to forget what you’ve learned but you have to deal with it because at the end you will thank yourself.
Xamarin is not a good candidate for phone apps
/in Tooling/by GénesisA few days ago an acquaintance pass me an article about Xamarin as the new best candidate for phone apps. Sorry, but I’ve never laughed more in my life. He compered it with Phonegap (Cordova) telling me that it’s more powerfull… but the real thing is that it’s not and I’m going to tell you just some couple of good reasons.
However, the real comparison would be with Qt which uses C++ (a compiled language) but even Qt is better, more mature, more tested, opensource and free, and with even more supported platforms.
So, if you want to lose your time and make things go slower, feel free to use Xamarin. I think at the end some people are as blind with Technologies and Brands as they are with Politics and Religions. You can’t argue with them because they don’t like the proofs and the truth (they feel like you were attacking their physical integrity) or maybe you are a C# programmer who doesn’t want to learn new technologies in your life (more reasonable).
And why not use Qt? Well, I’ve been developing with Qt since 2007, when I was at the University (before tablets, phones and wearables boom). Qt is really heavy, complex, with a steep learning curve if you want to create awesome interfaces. One of the best things was its access to the device API (cross platform) but Web Technologies have caught it up.
We advance to make easier, open and powerful apps. I know, it’s hard to forget what you’ve learned but you have to deal with it because at the end you will thank yourself.
Draft an app, how to start?
/in Design/by GénesisI’ve been developing apps from a few years now and there are some typical things at the beggining (when you are thinking and designing the app) that you should do if you do not want to be overwhelmed.
Here you can see an initial basic draft. Do not extend yourself too much doing it wonderful and perfect because you will have to change it a lot (it has to be just the first idea), remember you will have more meetings with your team and customers.
Please, do not make the mistake of starting with the code!
Draggable marker in Google Maps without API Key
/in HTML5, JavaScript/by GénesisThere is a really good documentation about how to use Google Maps API, many of the Google examples are with an API Key but you don’t need it. Use the API Key if you want to monitor your apps or if you want to buy additional usage quota (less than 2.5000 loads per day it’s free).
So, for this basic example, we use Google Maps API without Key to add a draggable Marker in a map that is always centered on our marker position.
CSS zoom
/in CSS3, HTML5, JavaScript/by GénesisEasy zoom in, zoom out, normal zoom and zoom adjusted to the container with CSS and JS.
If you want to change the zoom, just add or subtract from the original zoom CSS property.
You can also set up maximum and minimum values to avoid infinite zoom.
To adjust an area or image to your container you need to divide the width or height depending of what you want to adjust.
Here a real example:
Basic CSS transition using box-shadow
/in CSS3, HTML5/by GénesisWould you like to set up a cool basic transition for your buttons when the cursor is over them?
Our CSS will change if the mouse is over the button.
We are filling up the element with an inner shadow (inset) and changing the font color.
Here a real example: