I am an ASP.Net developer, C#, VB, WinForms... these kind of things...
I want to start developing an Application that should run on my Surface Pro and Windows Phone 8.1 but if it could run on IOS and Android.. it would be great !
I had problems with XAML and I am pretty good with Javascript. So, I was thinking to write an Windows 8.1 app with Javascript then I heard about WinJS and Cordova and TypeScript.
The application is pretty simple for now, two options: First one is to read a barcode, search the resulting value in a DB using a web service and using another one to insert a new record inside the DB. Second one is a web view, similar to the idea of an iFrame with the URL of the current web site that is not developped by me.
I will need access to the camera and a barcode library. I heard Cordova can do this and that it enables me to test and build for IOS and Android but also probably can WinJS so I don't understand how those two are different and how they work togheter.
Last, can I use TypeScript to write an application that also uses Cordova and WinJS ?
If you would know any web sites or hints that could give me some help on those questions : Comparisons between Cordova and WinJS Sample of a project like mine or any advice in creating such an application Help on how to use TypeScript in such a context
Thanks for any help that will help me to get starting with this new project.
Best regards, Claude
Yes. You can use TypeScript anywhere you can use JavaScript. TS compiles to JS which is what you deploy.
Cordova provides a consistent device API to access device hardware and works for Android / iOS / Win 8.
WinJS is more focused on a consistent UI experience across all these devices (front end). It started focused on Win8 but is expanding to other devices.