This is Lee's Typepad Profile.
Join Typepad and start following Lee's activity
Join Now!
Already a member? Sign In
Lee
Recent Activity
Hi Radu. It seems like in your case it would depend on how much of your asp.net code can easily port. For example I can imagine if you have some great JSON/REST processing components in use they might come across without much effort. However for code related to a rich asp.net interface, I don't see how that could be easily repurposed in Xamarin because the large differences in the underlying native APIs.
Good point Damien, I agree TypeScript is interesting. It will be interesting to see what abstractions can gain the most momentum going forward.
Hi Gleb, no it's not a license limitation. It's mostly a limitation of binary compatibility and the APIs having some differences across platforms. In theory it's possible to write the source code once and recompile to reuse it in other environments, but you there are quite a few rules and limitations even in the recompilation case.
Hi Angry, that's interesting that you find different languages have the same learning curve. I would agree the concepts stay the same but for me the learning curves can vary widely. Even having a low level background in C/C++ (and even assembly) I found C# vastly more pleasant to learn than Objective-C. Of course once you're over the hump it can be a pretty productive environment.
Ed thanks for your post. I think you make one of the best arguments for using Xamarin - Someone who uses .NET on a daily basis anyway and also consumes WCF services. I would agree there is a lot bang for the buck in this scenario. Regards, Lee
If you are a developer who hates JavaScript it’s most likely due to ignorance, or because you value purity over pragmatism. As of 2013 there are important reasons for developers to understand the good things JavaScript has to offer. But... Continue reading
Posted Sep 5, 2013 at Lee Whitney's Blog
Image
The best way to develop mobile apps may be to combine native and hybrid architectures. Amazon recently moved to provide direct support for HTML5 web apps in its app store. It makes one wonder why the benefits of web standards still aren’t pushing more apps away from painstakingly crafted native code. One factor is that while Amazon is giving a boost to HTML5 mobile apps, Apple’s iOS (still with the largest app catalog by far) actually penalizes them. You can choose the speed that comes with native or the standards and portability that come with hybrid apps but not both. Continue reading
Posted Aug 27, 2013 at Lee Whitney's Blog
I don’t doubt that you’ve had success with Xamarin, and I agree other approaches (all approaches) have their drawbacks. My point is that when you weigh all the good and bad, I don’t see a net benefit for most scenarios. Regarding a few of your specific points: >> with HTML on mobile devices it's even >> impossible to prevent the 300 ms delay >> after tapping a link or button This is not true. In fact it’s pretty simple to eliminate this as an issue (see https://github.com/ftlabs/fastclick ). Even fastclick is not necessary in Angular >= 1.1.4 as the option is built in. >> Learn and use Objective-C (horrible) What app do you have in the App Store coded in 100% Objective-C? The reason I ask is when a .NET developer first tries Objective-C it is indeed a horrifying experience (see my own complaints here: http://www.whitneyland.com/2011/02/-the-beauty-of-creating-iphone-apps.html). However once the learning curve is over the hate dissipates and you can actually become very productive, even compared to a .NET environment. At that point you also have none of the disadvantages I list above for Xamarin. >>HTML/JS…you can't get it fast enough Maybe. What specific use case are you referring to? I met with Apple engineers last week and complained bitterly about the lack of browser optimizations (like Nitro) in hybrid apps. That not withstanding I don’t agree with your blanket statement. Moreover HTML5/CSS are constantly getting more support for hardware acceleration (like transforms). It depends on what you’re trying to do. Keep in mind lots of people enjoy using Chrome for iOS to browse the web, yet it’s rendering engine has some of the same performance constraints hybrid apps have that use UIWebView.
It may seem surprising, but AngularJS and Bootstrap can do everything in the Sencha demo, including the interactive and animated parts, all while requiring less code. The trick is to use AngularUI with Bootstrap. Check out these demos and code samples: http://angular-ui.github.io/bootstrap
Yes definitely - AngularJS and Bootstrap work very well together. There is even a browser based designer for Bootstrap here which is very cool: https://jetstrap.com
Actually it does support touch (get version 1.1.5), ngSwipe and ngClick support gestures on mobile devices. There is a nice demo available here: http://devgirl.org/2013/06/10/quick-start-guide-phonegap-and-angularjs/
I agree with you on Sencha, but there are lots of other choices. Take a look at AngularJS.
@Jairo - great to hear that, take care - Lee
Hi And1, Your points are valid. A UIWebView without Nitro (like PhoneGap) is slower, and is probably the biggest argument against HTML5 based apps. Regarding Javascript I would say give it another chance using something like AngularJS which allows for very clean and organized code, and the WebStorm IDE which makes refactoring much easier. cheers -
Hi Matra, Sorry but I haven't been working on OAuth recently so I'm not sure about the current state of good libraries for seamless cross service functionality. As I allude to OAuth is really an error prone standard with poor developer usability. At the same time the security is solid and it works well for users so I'm afraid we're stuck with it. I resent that something so common requires us to allocate brain power to it. Let me know if you find something outstanding. Regards, Lee
Hi Evgeny - Yes, I've been fortunate enough to use these in a production environment, including native iOS/Android/Windows8 mobile, as well as PhoneGap and of course Xamarin. Lee
Image
Let me say right up front, I have a lot of respect for Xamarin as a company and for Miguel de Icaza as a developer and as a person. I like Microsoft, .NET, and C# and have used .NET since... Continue reading
Posted May 30, 2013 at Lee Whitney's Blog
75
AngularJS is the highest trending JS MVC Framework right now with lots of people picking it up. However as elegant as angular is you have to come to terms with what all the braces mean and when to use them.... Continue reading
Posted Feb 7, 2013 at Lee Whitney's Blog
Image
When evaluating new platforms and frameworks it helps to know how active the developer community is and how much it's growing. I've created a tool here that shows tag activity over the last 6 months at Stack Overflow: Stack Overflow... Continue reading
Posted Dec 29, 2012 at Lee Whitney's Blog
Image
Many mobile apps could benefit from working without an Internet connection. Here, we take a look at how offline capabilities affect the decision of developing native apps vs. mobile web based apps. Apps that continue to work while “offline” or... Continue reading
Posted Jul 10, 2012 at Lee Whitney's Blog
Image
The only way to build a mobile tablet app for all versions of Windows 8 will be to use the new Metro application framework, and it’s much different than previous Microsoft platforms. Developing Metro apps for Windows 8 is a... Continue reading
Posted May 10, 2012 at Lee Whitney's Blog
People who are interested in startups are always in need of feedback because the ideas they come up with on the first, second, or 100th iteration will probably still have lots of flaws. Our need to constantly evolve is even... Continue reading
Posted Jul 7, 2011 at Lee Whitney's Blog
The overlap of computer science and theoretical quantum physics grew a little today when the journal Nature published a very cool new paper from scientists in Zurich. Continue reading
Posted Jun 1, 2011 at Lee Whitney's Blog
Haresh, I've updated the project, please give it another try. This version I tested on the iPhone 4, and iPad 1, both are working fine. Lee
Hi Haresh, Is the testApi method working for you that displays your name and headline? Or is it a separate api call that is not working? To answer you last question where to get oauth_token and oauth_token_secret, those values are automatically extracted and placed into the "accessToken" variable. After accessToken has been set by the code, you can see the properties are there in the console window by typing: "po accessToken". This will display the values you mention. requestToken works the same way but you don't need requestToken for api calls, requestToken is needed only for the initial authorization.