August, 2014

article thumbnail

Bypass CORS Errors When Testing APIs Locally

The Polyglot Developer

Anyone who has worked with a RESTful API using JavaScript knows that testing can be a complete pain if the API owner hasn’t enabled CORS on their server. So what is CORS? According to Wikipedia , it is the following: Cross-origin resource sharing (CORS) is a mechanism that allows many resources (e.g., fonts, JavaScript, etc.) on a web page to be requested from another domain outside the domain the resource originated from.

Testing 64
article thumbnail

How to Easily Deploy an IMDG in the Cloud

ScaleOut Software

Cloud-based applications enjoy the unique elasticity that cloud infrastructures provide. As more computing resources are needed to handle a growing workload, virtual servers (also called cloud “ instances ”) can be added to take up the slack. For example, consider a web server farm handling requests for web users or mobile apps. Being able to add computing resources on demand keeps work queues small and ensures that web users always see fast response times.

Cloud 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Why Commercial Contracts Matter In Agile Software Development

The Agile Manager

"We value customer collaboration over contract negotiation." -- The Agile Manifesto Contracts for software development have historically included language that specifically defines the software being developed. This protects the buyer from paying for an asset that does not serve its business needs, the seller from requirements drift or expansion, and allows both parties to agree to duration and cost.

article thumbnail

Make HTTP Requests In Android And iOS With Ionic Framework

The Polyglot Developer

As a modern developer, at some point in time you’re going to find yourself needing to work with a RESTful API. You’re going to need to make HTTP requests to get data into your app or even change data on a remote database. Lucky for us, making HTTP requests with Ionic Framework is a heck of a lot easier than making them with native code. The following will show you how to make GET requests for JSON data at some fictional API endpoint.

article thumbnail

Use Font Awesome Glyph Icons With Android

The Polyglot Developer

Creating clean looking user interfaces in Android can often be challenging. With all the screen resolutions and screen densities that exist for Android, a lot more must be taken into consideration than iOS apps. A nifty trick I figured out is being able to use font glyphs instead of PNG or JPEG images. When using standard images you must create an image for every density (xxhdpi, xhdpi, hdpi, mdpi) and even then it still might not look clear.

article thumbnail

Add A Splash Screen To An Ionic Framework Project

The Polyglot Developer

It is always nice to have splash screens in your application. It is a great way to get your branding out, and show that your application is currently loading. No one likes to see a blank white screen for five seconds during launch. Lucky for us, it is incredibly simple to add a splash screen to our Ionic project. Using Apache Cordova’s Splashscreen plugin, we can add a splash to our application with just two lines in our config.xml file.

article thumbnail

Making Android In-App Purchases With Ionic Framework

The Polyglot Developer

The future of mobile app design is in the freemium model. No one wants to risk paying for an application that might stink so as a developer it is a good idea to charge for features in your app rather than the app itself. Using Apache Cordova, Ionic Framework , and the poiuytrez AndroidInAppBilling plugin you can easily handle Android in-app purchases.

Mobile 52

More Trending

article thumbnail

Internationalization And Localization With Ionic Framework And Angular Translate

The Polyglot Developer

There are roughly seven billion people in the world (7,000,000,000) and roughly 6,500 languages. Lucky for us, Android and iOS does not support all 6,500 of these languages. However, many are supported and this means that when you make an application in your native language, chances are your audience is only going to be a fraction of these people. Recently I discovered Angular Tranlate , a JavaScript library for AngularJS.

Mobile 40
article thumbnail

Send Email From Android And iOS With Ionic Framework

The Polyglot Developer

Sending email directly from your mobile application might be critical at some point in time. You may want to create an easy outlet for users to send you feedback about your app without having to sift through your website. Using the Apache Cordova plugin, Email Composer , you can easily send email from Android and iOS with Ionic Framework. The post Send Email From Android And iOS With Ionic Framework appeared first on The Polyglot Developer.

Website 40