Articles Tagged ‘js’
Tuesday, November 17th, 2015
When it comes to the field of hybrid mobile application development, Ionic and its tool-stack is often an attractive choice.
Now there is Ionic Creator to speed up the development process offering an in-browser editor to create user interfaces via drag and drop and supporting basic templates for mobile applications like tabbed layouts etc.
In addition, a project created with this tool may be downloaded and started with easy and that’s what I’d like to show in the following short example.
(more…)
Tags: ajax, Android, angular, angularjs, controller, cordova, creator, directive, emulator, hybrid, ionapp, ionic, ionview, ios, javascript, js, mobile, npm
Posted in Android, Apps | 2 Comments »
Sunday, September 27th, 2015
Promises may help us when dealing with asynchronous code and we need to merge, pipe or track the progress and the results of single parts of computation in our applications.
In the following tutorial I’d like to demonstrate a small library, JDeferred that helps us for this specific use case.
(more…)
Tags: asynchronous, deferred, deferredobject, functional, javascript, jdeferred, js, promise, promises
Posted in Java | 3 Comments »
Tuesday, August 18th, 2015
HipChat is Atlassian’s alternative to Slack and its solution to team collaboration chats. Atlassian Connect offers developer tools to bootstrap applications, connect to Atlassian’s cloud products with easy and in combination with HipChat’s REST APIs allows us to write integrations for such a chat server in no time.
In the following tutorial I’d like to show how to write an integration within a few steps using Atlassian Connect, Node.js and Express and how to connect the integration to a HipChat server.
Finally on the one hand I’m going to explain how to speed up local development with ngrok, an in-memory database and nodemon for automatic application restarts and on the other hand I’m going to demonstrate how to configure the application for production, running with a Redis key-value store on Heroku.
(more…)
Tags: Atlassian, atlassian-connect, chat, database, db, express, heroku, hipchat, inmemory, integration, javascript, js, jugglingdb, ngrok, node, nodejs, nodemon, nosql, npm, oath, oauth2, redis, rest, slack, staging, webhook
Posted in Development, Javascript | No Comments »
Sunday, May 3rd, 2015
Nowadays in the realm of hybrid mobile application development there is a variety of available frameworks worth having a look at.
In the following tutorial I’d like to demonstrate the development life-cycle for a complete mobile application using Ionic, Cordova and AngularJS (and others) covering every step from the initial project setup, creating Angular Controllers, Directives, adding Cordova Plug-Ins, running and testing the application in the browser and emulator up to finally running the application on an Android device and assembling files for a release.
Finally I’d like to show some special features from the Ionic ecosystem like the Ionic Cloud and running our applications using the IonView app.
(more…)
Tags: ajax, Android, angular, angularjs, controller, cordova, cors, directive, emulator, gulp, hybrid, ionapp, ionic, ionview, ios, javascript, js, json, logcat, mobile, npm, sop
Posted in Android, Apps, Development | 7 Comments »
Sunday, May 4th, 2014
Sometimes in a project there is the need to run tests for your client-side code, written in JavaScript from a Maven build.
One reason might be that Maven manages a complex build life-cycle in your project and you need a close integration for your JavaScript tests, another one might be that you’re in an environment where it is complicated to install and manage additional software like an integration- or build-server.
(more…)
Tags: bdd, devop, ghostdriver, headless, javascript, js, maven, phantomjs, tdd, testing, webdriver, yasmine
Posted in Development, Javascript, Web | 7 Comments »
Sunday, October 21st, 2012
The HTML5 working draft describes different techniques to push information from a server to the client and the one described in this tutorial are Server-Send Events (SSE).
Using Server-Send-Events eliminates the need to poll a server periodically for information using AJAX and is really easy to implement because of the simple specification and the fact that nearly all modern browsers already implement this specification.
(more…)
Tags: asynchronous, html, html5, javascript, jetty, js, nodejs, server send events, servlet, sse
Posted in Java, Javascript, Web | 1 Comment »
Sunday, August 5th, 2012
Some funny stuff can be done using HTML 5, canvas elements and the video events API.
In the following example we’re using these techniques to apply graphic effects to a video embedded in a HTML page..
(more…)
Tags: canvas, codec, html, html5, javascript, js, video
Posted in Javascript, Snippet, Web | 3 Comments »
Friday, May 18th, 2012
CoffeeScript is a neat language that is transcompiled into JavaScript but is more predictable and allows to write the same code with 1/3 fewer lines and of course with a (imho) nicer syntax.
CoffeeScript is nice but a vivid integration into our application build lifecycle with Maven is better and that is what the following example is all about.
(more…)
Tags: brew, coffeescript, compile, javascript, js, maven
Posted in Development, Web | No Comments »