This is Lee's Typepad Profile.
Join Typepad and start following Lee's activity
Join Now!
Already a member? Sign In
Recent Activity
@IrisPanabaker, thanks! I like the list you have on Twitter, people should check it out.
Toggle Commented 2 days ago on Best Json Formatter in the World at whitneyland
Pretty Json Since json is one of the most common data formats developers work with, we appreciate being able to easily read it. It follows that many tools try to make it pretty, or beautified, when displaying it. It’s great... Continue reading
Posted Apr 8, 2017 at whitneyland
It's unusual for Apple to find itself playing catchup. Amazon has relentlessly improved its Alexa and Echo products by mining two years of continuous customer feedback. Here's why it won't be easy for Apple to dominate the digital home in 2017. Continue reading
Posted Dec 26, 2016 at whitneyland
If you feel this post is out of date please see the newer Xamarin article just posted. Your comments are welcome there as well.
Hey Tim thanks for the feedback. It's still an open question, but it's informative to look at what the top software teams are doing. At Google for example, they are writing native apps but have a special approach to components where they can auto-convert and share code when it makes sense (not UX). Some are successful with the latest HTML5/hybrid techniques that have really improved a lot since PhoneGap was first released. IonicFramework is one example of this. When I consult for companies, because the question hasn't been answered definitively yet, I try recommend solutions based on their specific situation. For example, the skillsets of the developers, existing codebases, future requirements, etc. Regards, Lee
The Promise In 2011 when Xamarin was founded, if someone told me the story of a .NET and C# platform that could create native mobile apps I would have thought it sounded great. Objective-C was a nightmare for C# aficionados... Continue reading
Posted Jul 1, 2015 at whitneyland
Yes, definitely a good idea to take advantage of any user base knowledge you have.
Good points Chris. Google has really pushed the boundaries over the years so there is a lot to consider.
When building an Android app, how should you choose the minimum Android version? At first glance the answer may seem obvious. More potential users is good so all versions should be supported. However, this is a naive viewpoint as your project will be impacted in other ways. Continue reading
Posted Jan 21, 2015 at whitneyland
OpenCV and Tesseract OCR from Swift and iOS Continue reading
Posted Oct 28, 2014 at whitneyland
Hi Radu. It seems like in your case it would depend on how much of your 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 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 whitneyland
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 whitneyland
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 ). 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: 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:
Yes definitely - AngularJS and Bootstrap work very well together. There is even a browser based designer for Bootstrap here which is very cool:
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:
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
Toggle Commented Jul 12, 2013 on iPhone OAuth Starter Kit for LinkedIn at whitneyland
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