Search Sujata's Blogs

Showing posts with label Sujata Computers Pvt Ltd. Show all posts
Showing posts with label Sujata Computers Pvt Ltd. Show all posts

Wednesday, 4 March 2015

Introducing Panasonic Toughbook and Toughpads - Available in India Now.

Dear Sir / Madam

I am happy to tell you that Sujata Computers Pvt Ltd has been appointed a distributor for “toughbooks” and “toughtpads” of Panasonic and now it is available in India. 

Toughbooks are laptops, Toughpads are tablet-pcs which are rugged and can be used under extreme or harsh environment. They can be used in noisy environment, in an dusty air or when it is drizzling. Obviously, as the name suggests they are built by tougher material than the traditional commercial laptops and tablet-pcs.

Please reach out to us for discussion or for a demo –
Mobile - +91-8805162400 | +91-7276000222

Check out full range of Toughbooks and Toughpads here -





Sunday, 22 February 2015

Microsoft Project 2013 - Training and Licensing Explained - Sujata Computers Pvt Ltd

Hi!

A lot has happened in last one week for Sujata - We started our operations in Singapore which is our second overseas operations after Dubai. Secondly, we have been appointed as a distributor by Tally for Maharashtra State. And lastly, we organized two wonderful events for our customers in Pune and in Kolhapur fully sponsored by Fortinet, thanks to Fortinet team for that. 

Today is a pleasant day here in Pune and as I write, India has managed to bat against South Africa as per the plan to put up a decent score in the Cricket WC 2015. That makes my day better. Question comes to my mind if BCCI uses Microsoft Project to manage Indian Cricket Team's plan for the match, This blog is about Microsoft Project licensing and the training that you can opt for. Training will be done by Sujata's team if you are not buying Software Assurance services along with the licenses. 

Sujata Computers Pvt Ltd is a 14 years old Microsoft Gold Partner and a Microsoft Cloud Accelarator Partner headquartered in Pune, India.





What are the editions and version available in Microsoft Project?

Currently, Microsoft offer Project 2013 as a subscription license that is cloud and as a perpetual license.

If you are buying Microsoft Project for less than five users, I recommend you to buy retail pack license as it will be cheaper as compared to Volume License. 

Microsoft offers three different editions under on-premise perpetual licenses for Project Portfolio Management (PPM) and everyday work, enabling you to effectively execute and achieve strategic priorities. 

Perpetual licenses editions are  - 

  1. Project Professional - This license type is recommended to a 'Project Manager'. Someone who wants to allocate resources to the project, prioritize work, define timeline etc. 
  2. Project Standard - This license type is recommended to a 'Team Member' or someone who's managing project as an 'individual' and there is no team. Someone who is working on a project and updating the status of the tasks that have been assigned to him/her. Someone who manages only tasks and not a team or not a whole project. 
  3. Project Server-CALs - Like any other Microsoft server product licensing, Project server is recommended to be bought along with the CALs (Client Access License) equal to either number of users or device accessing the Project Server. 

    Important Note 
    - Pre-requsite for Microsoft Project Server license deployment is - 1) Microsoft SharePoint Enteprise Server-CALs licenses 2) Microsoft SQL Server-CALs licenses. Without these two licenses, Microsoft Project Server licensing does not get complete.  
    This license type is recommended in a scenario where there are multiple projects need to be collaborated with each other and there is information being shared between different projects. 
    So in this case apart from pre-requisite licenses, client would need to buy 1 Project Server license for 1 server deployment each, 1 CAL for either device or user each, 1 Project Professional license for each of the project manager, 1 Project Standard license for each of the team member. Note - Project Professional license do come in bundle offering with CAL license so client does not need to buy CAL separately for Professional license assuming you are buying under Microsoft Volume Licensing. 

Cloud editions of Microsoft Project 2013 are - 


  1. Project Online - Usage wise this one is very much equivalent to Project Server on-premise but it is hosted out of Microsoft Cloud/Data-center so one does not have to deploy or manage. One also does not need to procure pre-requisite licenses which can save lot of cost to the client. All this means is that client does not have access to the hardware of Project and hence the direct access to the database. This is recommended to the client who does not mind having data stored at Microsoft's data center and does not want to invest into Project Server licensing but wants to use functionality of it. Also, does not mind logging into browser to use Project. I have elaborated technical difference between Project Server and Project Online later in this blog. 
  2. Project Pro for Office 365 - Client can add Project Professional license to Office 365. Functionality remains same as Project Pro on-premise as mentioned above. It is meant for 'Project Manager'. It has to be used through a web-browser.
  3. Project Online with Project Pro for Office 365 - As the name itself suggests, this one is a license that gives you functionality of both Project Online and Professional. This is recommended for a 'Project Manager' using Project under Project Online subscription. That means organization has subscribed for Project Online and the user is a manager who will be creating and managing the project in it so he also needs Project Professional functionality.



Whether to buy Cloud/subscription license or on-premise/perpetual license - 

Cloud is recommended for customers who are looking for - 


  1. yearly or monthly payment options
  2. always wants to use latest version released by Microsoft

Perpetual licenses are recommended to the customers who want to do one-time investment and do not necessarily want to use the latest version of Project always. They can still opt for Software Assurance (SA) if they want to take the version upgrade at a later point of time after the purchase of the licenses.


Project Online vs. Project On-Premises. Which should I choose?


If you are looking for an environment where you do not have to worry about technical maintenance then consider a Project Online environment.
If you are looking for an environment where you can have SQL query access to the databases and where you have full control over the content then consider an On-Premises Solution.

The chart below shows some additional differentiators between Project 2013 On–Line and Project 2013 On – Premises environments.


Key differentiators between Project Server 2013 On Line and Project Server 2013 On Premises

 


Differentiator
On Line
On Premises
Administrative backup and restore for Projects (used to restore a slightly older version of a project without pulling a tape and impacting an entire organization)

x
Archival Environments to retain data

x
Multi-Dimensional Olap Cubes

x
Direct access to SQL Server Databases and OLAP Databases

x
Direct SQL Query Access to Project Server and SharePoint Databases

x
Team Foundation Server Connectivity (including 2012) (Note: The version of Project used must have the Team Foundation Server extensions installed. These extensions are not present, out of the box, in the online version.)

x
Standard Windows Installation (MSI)

x
Event Handlers can use both full trust event handlers and remote event receivers

x
Full access to PSI and CSOM

x
Access to ULS Logs
By default ULS Logs are located at  C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS directory

x
As a result of full access to the databases, PSI and CSOM there is more flexibility for Business Intelligence, Dashboards, and Reports

x
Recycling Bin for documents, projects, and sites
       Note: –Caution should be exercised when emptying the recycle bin. Once a project or a site is deleted from the recycle bin. It is deleted (gone) and cannot be recovered.
x
x
Project Web Applications (Add applications to PWA)
x
x
SharePoint Permission Mode or ProjectServer Permission Mode
x
x
Monitoring Enhancements
x
x
SharePoint Designer for workflows
x
x
No database administration
x

Security handled by Microsoft
x

Latest and greatest service packs and cumulative updates
x

Click-to-run installation
x

No direct access to SQL Server and OLAP Databases (Reporting is done via OData)
x

Access using CSOM (Note: PSI interfaces do not support O- Authentication)
x

Event Handlers require remote event receivers
x

Extensibility is accomplished via the use of the SharePoint Extensibility Model – (as a result there is no full-trust code)
x






Download Training Options Available with Us - 

https://onedrive.live.com/redir?resid=C9095231E7A1B4D4!132&authkey=!AH_PF8iapIOZhhs&ithint=folder%2cpdf


More Resources :

1) Project Licensing Microsoft Home Page - https://products.office.com/en-us/project/microsoft-project-licensing
2) Project Top Features - https://products.office.com/en-us/Project/project-top-features
3) Videos and demos of Microsoft Project 2013 - https://technet.microsoft.com/en-us/library/ff628958.aspx
4) Feature and Function comparison between Project Online and Project Server - https://technet.microsoft.com/en-us/library/dn268595.aspx



Hope this has given you a decent idea about Microsoft Project licensing and how to choose the correct edition for yourself. Still, if you have any doubt, please feel free to call me or write to me. I will be happy to provide you free guidance - 

Paresh Lodha
+91-7276000222
Paresh.Lodha@sujataindia.com

Monday, 17 November 2014

Server Virtualization with Microsoft Hyper V


Virtualization may be defined as creating virtual version of something. In IT industry in case of server virtualization, it is all about creating multiple virtual machines (guest) on a single hardware server (host). Originated in 1960s, it involves logical distribution of hardware resources among different guests. With the passage of time it gained popularity because of following benefits: -
·         Cost: - When one is planning to erect a datacenter, major investment goes into physical hardware. Apart from that, to run a data center, one needs space, electricity, false flooring, air conditioning, facilities to repel rodents etc: If one opts for virtualization technology one is saving a lot on above mentioned cost. Lesser hardware requirement means less space, less electricity consumption and less cooling facilities. And this boils down to less investment.
·         Back Up: - The compulsory item of datacenter is back up solution. Taking back up of virtualized server and its redeployment is less time consuming then that of taking back up of hardware server and redeploying it.  Firing up a snapshot is faster than rebooting a typical hardware server.
·         Testing Environment: - If one has testing environment then virtualization is the best option. One can create virtual machines (in accordance with the licensing policy of software) and can use it for testing purpose. If a terrible mistake happens and machine crashes new VM can be created in jiffy.
·             Virtualized servers are the best option when high availability is required.

Hyper-V (a Microsoft product) and formerly known as Windows Server Virtualization, is a native hypervisor. It comes as a separate SKU and it comes bundled with Window server 2012R2.


Windows server 2012R2 comes in four editions
·         Foundation – For up to 15 users and no virtual machine (VM) can be created.
·         Essentials – For up to 25 users and only one virtual machine can be created
·         Standard- for unlimited users and only two virtual machines can be created
·         Datacenter – For unlimited users and unlimited virtual machines can be created.

 (Blog by Pushkar Nath)


Tuesday, 28 October 2014

Microsoft Developer's Guide To Visual Studio & Visual Studio TFS - Sujata Computers Pvt Ltd

I and my team come across lot of start-ups as well as enterprise organization (500+ developers) having problems setting up an appropriate environment for developers. I will try and address some of the challenges that organizations face.

 

Challenge # 1: What edition of Visual Studio we should buy? And what are the licensing options?

There are mainly four editions in Visual studio that can be deployed on-premise, details as below -
Note that Testers get their own dedicated version - Visual Studio Test Professional


One-time Payment for License & 2 Years of MSDN Options -
Editions MSDN  Approximate Price
Professional (Pro) Optional INR 27,000 + MSDN Cost
Test Professional (Test Pro) Attached INR 1,38,000
Premium Attached INR 3,85,000
Ultimate Attached INR 8,35,000 

Note 1: Above given prices are exclusive of taxes and approximate price. Actual price may vary at the time of purchase.
Note 2: MSDN is valid for 2 years after which it is optional for customer to renew or not but it is recommended to renew MSDN to keep using its benefits.
Note 3: Above prices are for Open License (MOLP) which is one-time purchase cost. Price can split into 3 years and it will be different for Open Value License (OVL)

For details on what features are included in above mentioned editions, please visit: http://www.visualstudio.com/en-us/products/compare-visual-studio-products-vs.aspx 

You can also buy Visual Studio on a subscription basis or in cloud. Visual Studio Online is an offering for which customer can pay for subscription and can avoid one-time large capital investments into the project. At the moment (as of 24 Oct 2014), Microsoft offers Visual Studio Online only along with Azure subscription which can be bought separately or through MSDN. Details as below -
Pay-as-you-go Options   
Editions MSDN Max. users per account Approximate Price
Basic Optional Unlimited Free for the first 5 users. INR 1,201.75/month for additional users
Professional Optional 10 INR 2,703.94/month
Advanced Optional Unlimited INR 3,605.25/month
Note: Users with the following MSDN subscriptions can be added at no charge to the account. The maximum MSDN subscribers per account is unlimited across (Pro / Test Pro / Premium / Ultimate) MSDN subscription levels.

Visual Studio Express edition also comes at free of cost and comes with limited features. For more details on Visual Studio, contact Sujata Computers Pvt Ltd.

Challenge # 2: What is Microsoft Software Developer Network (MSDN) ? Which one is better from MSDN and TechNet?

Software, services, support, training - Visual Studio with MSDN subscriptions give you a wide range of resources that help you succeed as a developer on Microsoft platforms. With a huge library of both current and previous editions of Microsoft software, plus access to Microsoft’s ALM solution, you have the tools and information you need to support the entire development process.

TechNet license is discontinued by Microsoft in 2013 and anyway, TechNet used to offer applications only for evaluation purpose whereas MSDN offers applications for testing and development environment purpose. Obviously, MSDN helps developers and organizations better to support the software development process and make it easy.


Challenge # 3: We want split payment option or EMI option for Visual Studio as the cost of license is too high or our project has not yet been awarded to us by customer yet, can Sujata Computers Pvt Ltd help?
Please refer to challenge #1, you can either buy Visual Studio Online or Visual Studio under Open Value License. If you are ok to develop applications in cloud - you can opt for Visual Studio Online otherwise you should opt for Open Value License. If you have more than 20 or 200 users, please contact Sujata Computers Pvt Ltd as we can then give you other options as mentioned in Challenge #5.

Challenge # 4: We want to use old versions of Visual Studio - 2003, 2005 etc.
Customer can use all old versions of Visual Studio of the same edition for which customer owns genuine license, customer has to have setup files though. Customer can also use old versions of Team Foundation Server (TFS) if customer owns genuine license. For more details contact Sujata Computers Pvt Ltd.

Challenge # 5: We have more than 200-250+ desktop users of Dev Tools, will we get discounts from Microsoft? Please suggest appropriate licensing.
If you have more than 20 users license requirement, we can discuss licensing program called 'Enrolment Application Program' (EAP) and if you have more than 200-250+ users, we can discuss Enterprise Agreement. These program offers customer better manageability of licensing, better finance forecasting, price lock-in for few years, better discounts and overall better value against money.

Challenge # 6: How do we secure our code and intellectual property? How do we store code on a central repository?
Team Foundation Server (TFS) is a repository for development team assets -
  • Test Cases
  • Bug Reports
  • Work Items
  • Source Control
  • Work Flow
  • Progress Reports
You can configure TFS for your team located in different locations or at one location but working on a project where the data has to be stored in a central repository and has to be secured. For more information, visit here. Sujata Computers Pvt Ltd will help you configure TFS.

Licensing of Visual Studio Team Foundation Server (Indian Version) -
Microsoft licenses TFS under the Server/Client Access License (CAL) licensing model. You must have a license for each running instance of TFS and, with certain exceptions, a TFS CAL for each user or device that accesses it. TFS Server and Client both cost around INR 22,000 (as of Oct 2014).

Note - Team Foundation Server Express is available at no charge and provides small teams of up to five developers with source code control, work item tracking, and build automation for their software projects so they can deliver predictable results.


Benefits of MSDN -
  1. You get a lot of Microsoft applications to be used for development and testing purpose for free of cost. Depending on the edition of Visual Studio that you are buying, the applications vary. You can check the list of applications that you can use under different Visual Studio editions here - http://goo.gl/ne2DOa 
  2. You can upgrade your Visual Studio's version at a free of cost, if Microsoft launches any new version and your MSDN subscription is active.
  3. You can also downgrade or you can access to older versions of Visual Studio such as 2003, 2007 etc.
  4. Get an access to e-learning portal
  5. Get a support incident call to Microsoft worth around $500.
  6. Get limited free credits to Microsoft Azure
  7. Get access to Office 365 Developer Subscription
  8. Get training vouchers that you can redeem at any authorized Microsoft's training centers. Depending on number of licenses and type of licenses that you buy, you will get training vouchers. Contact Sujata Computers Pvt Ltd for Visual Studio and other developers' tools of Microsoft.
 And there are many more invaluable benefits you can get under MSDN.
  • Common misunderstanding - "We have all kinds of licenses under MSDN subscription and hence, we do not have to buy any licenses"
  • Fact - You may still need to buy licenses as MSDN is supposed to be used only for (temporary) development & testing environment purpose. It cannot be used as a substitute to purchase of license in production or general use. Also, It is to be used by only by one user as the MSDN subscription is for one user only.

Do you know that Microsoft maintains an open source web site called CodePlex? It's not as big as other open source sites, like SourceForge, but it has a lot of .NET projects available to download.

I will be writing about SQL and Win Server to help our readers to setup a error-proof software development environment.

Do you need expert advice on which Microsoft developer products to buy? Or do you need help to design and deploy software development architecture?

Contact Paresh Lodha - +91-7276000222 | paresh.lodha@sujataindia.com
or Hemant - hemant.bhagwat@sujataindia.com | sales@sujataindia.com

Thursday, 23 October 2014

Microsoft Azure For Beginners - Sujata Computers Pvt Ltd

Hi!

Wish you and your family a very Happy Diwali!
Today is the day when everybody burst crackers and Microsoft Azure is buzzing like any cracker in the IT industry. Let's explore what it is and how it can help you and your organization.

Windows Azure is an open and flexible cloud platform that enables developers to quickly build, deploy, and manage applications across a global network of Microsoft-managed datacenters.

In simple words, Azure provides you Infrastructure as well as basic software like Operating System (Windows, Linux etc.), Visual Studio, SQL in cloud. For Azure, you pay as per your usage and can avoid huge capital cost that you traditionally invest in building the infrastructure.


What applications one can build on Azure?

You can develop, test and deploy all kinds of application that you traditionally do in your own on-premise (traditional) infrastructure. You can buy cloud infrastructure as per your applications' requirement and pay-as-you-use for the infrastructure that Microsoft provides in Azure.

What are the example of scenarios in which Azure can be used?

There are many but below are the ones that I have come across frequently -
  1. You need scalability in your infrastructure so that if the load increases, you do not have to run to buy and install extra hard-disk or storage, RAM, bandwidth etc. Azure will automatically scale itself up or down depending on the demand of the application.
  2. You are going to host the application in cloud. In Azure, you can straight-away start hosting the application as soon as you build it.
  3. You are an software outsourcing service provider and your client sits in other country. Azure gives you the flexibility in terms of your client can see the progress of the application development and can make corrections if things are not going as per your client's requirement. Secondly, your client does not have to pay for the whole infrastructure that you might have built traditionally for the development of application. Client will pay only as per the usage of the Azure.

How does the development happens on Azure? Do you need any additional skills to develop an application?

Not really, you should know .Net programming languages to develop Azure application. You can also download latest Azure SDK and use it along with Visual Studio which is available in Azure itself. Because the Azure environment is much like the standard Windows environment, it's easier to create a cloud version of an existing Windows application.
 

Topics that we will cover in this blog are -

  1. How to try Azure?
  2. Creating Virtual Machine on Azure
  3. Creating and deploying Azure website
  4. Mobile apps on Azure
  5. Pricing and parameters to be considered while buying Azure
  6. Conclusion

1. How to try Azure?

Step 1: To start the trial of Azure, you will require Live ID which can be signed up here, if you don't already have one. It is the same ID that you use for accessing VLSC portal on which your organization's Microsoft license details.

Step 2: You can sign up for free trial here: Note - You will need valid credit card details with you to activate the trial. Contact Sujata Computers Pvt Ltd, if you do not have credit card but want to see and try Azure. As you can buy Azure through Volume License as well.


 

 
Free Azure account to using the free developer tools, and covers each of the six major offerings from Azure:
  • Virtual machines
  • Website development
  • Mobile Services for authenticating users and storing data
  • The Cloud Services API development and deployment tools
  • Data Services, which incorporates SQL, Table, and Blob storage
  • App services like Service Bus for messaging.

2. Creating Virtual Machine on Azure

Creating Virtual Machine (VM) on Azure for Windows and Linux is almost same and easy as soon as you get an access to Azure.
Provide the public facing DNS name for the Virtual Machine, select from Azure platform supplied list of VM images, enter a user name, password, and the region.



For detailed guide on how to create VM for Windows on Azure click here.
For detailed guide on how to create VM for Linux on Azure click here.

3. Creating and deploying Azure website

Select the New->Websites option within the Preview portal:
 


Provide the name of the Website you want to create, choose where in the world you want to run it, and then click the “Create Website” button and it will be ready to use in seconds.

4. Mobile Apps on Azure


Please watch below video (approx. 7 minutes) to understand how simply existing windows application can be transformed into Mobile app.  You can also read this blog here.


5. Pricing and parameters to be considered while buying Azure

Taking advantage of resources in the cloud allows you to decrease your costs for building and expanding your on-premises infrastructure. You can also reduce the cost of IT administration because the hardware and its security as well as maintenance is being taken care of for you, off-premises. The cost of creating, testing, debugging, and distributing Web-based applications goes down because you have to pay only for the computer processing time and storage space you need at a given time.
Windows Azure pricing will be based on consumption, with a per-hour fee that's dependent on the size of the instance for Azure computing services and per-month or per-transaction fees for Azure storage services based on data size.

You can purchase Azure through three options -

  1. Pay-as-you-go online
  2. Volume license through Sujata Computers Pvt Ltd - for this, you will not mandatorily need credit card.
  3. Enterprise Agreement (EA), if your organization have one.

Here's the calculator for pricing of Azure in INR (Indian Rupees) -

http://azure.microsoft.com/en-us/pricing/calculator/ 

 

Conclusion

Having in mind the above mentioned key points in moving application to Windows Azure, I highly encourage you to play around and test. I will post another blog post if something rather important comes out from the deep ocean of Azure knowledge I have. But for the moment, these are the most important check-points for your app.

If you have questions – you are more than welcome to comment!

For More Details, Please Read:
  1. All the videos, documents for beginners are available here - www.windowsazure4beginner.com 
  2. Development & Deployment Azure Guide - http://msdn.microsoft.com/en-us/magazine/ee336122.aspx 
  3. step-by-step migrating VMware to Windows Azure - http://blogs.technet.com/b/canitpro/archive/2014/07/15/step-by-step-migrating-from-vmware-to-windows-azure.aspx
  4. Guide to create Virtual Machine with Linux on Azure - http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-tutorial/
  5. Expert's blog on Azure and Mobile services - http://blogs.msdn.com/b/brunoterkaly/archive/2014/04/13/how-to-create-universal-applications-with-azure-mobile-services-that-leverage-push-notifications-and-database-insertion-and-data-retrieval.aspx

Disclaimer

What I describe here is absolutely my sole opinion, based on my experience. You are free to follow these instructions at your own risk. I describe key points in migrating an application to the Windows Azure Platform-as-a-Service offering – the regular Cloud Services with Web and/or Worker Roles.

Once again, have a Happy & Safe Diwali!

Warm regards,
Paresh Lodha
+91-7276000222

Saturday, 18 October 2014

Microsoft Development Tools: Mobile Apps for Web Developers





Mobile Apps for Web Developers

The path of a mobile app developer often begins with a choice: develop for iOS, Android or Windows? It’s a choice that instantly diminishes the size of your potential audience, but developers often hold their nose and reluctantly make a decision. Those who need to reach all three app stores, choose to rewrite the application for each platform.

Visual Studio enables you to have maximum reach while achieving significant code re-use. With Xamarin, C# developers can share business logic across iOS, Android, and Windows applications. With Apache Cordova, web developers can achieve maximal code re-use by building cross-platform mobile applications using HTML, CSS, and JavaScript.

In this post, we’ll take a close look at how you can use Visual Studio’s extension for Multi-Device Hybrid App Development to build a cross platform app using HTML, JS, and CSS. To follow along in the IDE:

•Download and install the extension on Visual Studio 2013 Pro Update 3, or…
•Try one of the trial VMs available on Azure.
Once you’ve installed the tools, create a project for “Multi-Device Hybrid Apps.”
 

Access Device Capabilities on any Platform Using the Same JS API

Before we explore the tools, let’s take a moment to look at the architecture of a Cordova app. The application itself is implemented as an HTML application (e.g. Single Page Application) hosted inside a webview control (or on Windows, as a WWA) that gives your app access to native device APIs. Most developers prefer to synchronize data with a server via RESTful web services (e.g. Azure Mobile Services), but all file assets like HTML, CSS, JS, and media are packaged with the application so that users can continue to use the app offline.

To access native device capabilities (e.g. camera, contacts, file system, accelerometer) from JavaScript, Cordova uses a construct called plugins. Plugins typically encapsulate two components: native code to invoke capabilities for each of the three platforms (i.e. Objective-C, Java and C#) and a normalized JavaScript API available for your app to use.

                                          

To use the API, you make an asynchronous call from within your JavaScript. The native code returns a response to the callback function. In the example below, the camera plugin returns the URI of a photo pointing to the file system on the mobile device.

// Retrieve image file location from the mobile device photo library
function getPhotoURI() { 
    navigator.camera.getPhoto(onPhotoSuccess, onPhotoFail, { 
        quality: 50, 
        destinationType: destinationType.FILE_URI, 
        sourceType: pictureSource.PHOTOLIBRARY 
    }); 
// Callback from successful Photo Library event

Designed to Converge with Web Standards
Cordova plugins are generally designed to expose JavaScript APIs that will converge with web standards over time. The goal is for the plugins to eventually evaporate leaving the implementations of the W3C standards in their place. For example, the Web API for activating device vibration, navigator.vibrate(time), is already implemented by Cordova, Chrome, and Firefox. Over time all the mobile devices and browsers will use the same API, thereby making plugins obsolete as a polyfill. The ultimate goal is for Cordova to serve as a temporary bridge until the standard web platform supports the device capability.
JavaScript or TypeScript: Your Choice
Once you get started, a large part of your time will be spent writing code. Whether it’s HTML, CSS, JavaScript or TypeScript, we aim to provide our developers with help in context for the task at hand. For example, many developers depend on IntelliSense to avoid common syntax errors and quickly explore new APIs. Would you like to know what native device capabilities are available to your app? Visual Studio’s Tools for Apache Cordova include IntelliSense support for common Cordova plugins using both JavaScript and TypeScript.

If you write a custom plugin, you might want to enable IntelliSense for your component as well. To support the common Cordova plugin APIs, we use a JavaScript IntelliSense extension for the JavaScript editor. For TypeScript, we simply wrote TypeScript d.ts files to describe each API. You can see the d.ts files in the public home for open source d.ts files: DefinitelyTyped. Each d.ts file provides the meta-data necessary to provide rock-solid, accurate IntelliSense for Cordova plugins without executing JavaScript code in the background.
Three Ways to Preview Your App
To gain the highest productivity benefit, most developers choose to use the same code - 95% or more - amongst all deployment targets: iOS, Android, and Windows.
Since most developers choose to deploy a single shared HTML/CSS/JS codebase to all platforms, it’s important to be sure your apps look and behave as expected across the platforms you care about. We made sure that previewing your app would be as painless and efficient as possible by providing three options to test your app: (1) a Chrome-based simulator called Ripple, (2) native emulators provided by the platform vendors, and (3) deployment to an actual tethered device.
Unless you’re an otherworldly developer who can get an app running perfectly without ever running it, you’ll eventually need to deploy and test it on a device or emulator for each platform. However, that’s not necessarily where you want to start. Our general guidance is as follows:

  1. For basic layout and early-stage debugging, use Ripple. Ripple is an open-source simulator that runs inside Chrome. Visual Studio automatically downloads and installs both Ripple and Chrome when you install our tools. Because Ripple uses Google’s V8 engine and blink-based rendering, it is ideal for simulating behavior on an iOS or Android device. Realistically, there are only a small number of substantial rendering differences between Chrome and IE11 these days, so it’s also a good proxy for Windows platforms. It’s nice to do your early development in Ripple because, quite frankly, it’s fast and familiar to web developers. Ripple benefits from all the CPU resources of your desktop and thousands of tiny performance optimizations designed to make desktop browsing snappy.
  2. For final validation and full-fidelity debugging, use a device. As much as we love to debug in the desktop browser, there are some minor, but significant differences between it and mobile browsers. Unfortunately, tiny differences in CSS rendering or JavaScript interpretation can have a big impact, so it’s important to test your app on the real thing. The real source of truth will always be the device. Using the native build systems (i.e. Xcode, the Android and Windows SDKs), Visual Studio can build and deploy to devices tethered to your dev machine via USB.
  3. If a device isn’t available, use an emulator. Given the range of devices and platform versions out there — especially Android versions — it’s not always possible to have a complete library of test devices. In our office, we keep a small library of representative devices including: iPods running iOS7-8, a Samsung Galaxy running Android 4.0, a Nexus 7 running Android 4.4, a Nokia 1520 running Windows Phone 8.1 and our dev machines running Windows 8.1. For everything else, we use an emulator.
 Blog by Hemant Bhagwat