Quantcast
Channel: JavaScript – codecentric AG Blog
Browsing all 70 articles
Browse latest View live

JavaScript Function Contexts and the Meaning of This

Many languages have an implicitly declared identifier called this. In languages like Java or C#, this commonly refers to a surrounding object, e.g., to the object on which a method was called....

View Article


Functional JavaScript using Lo-Dash, an underscore.js alternative

em { background: #eee; font-family: Monospace; font-style: normal; } Functional programming concepts and functional programming itself are currently all over the news. Languages such as Clojure are...

View Article


SPA example application with AngularJS and requireJS as a comparison to the...

About three weeks ago, Tobias Flohre published his blog post about a real ROCA application. He has shown that a ROCA application can be developed with ease by utilising tools that have been available...

View Article

Image may be NSFW.
Clik here to view.

codemotion Berlin 2013 technology lab: The aftermath

Two days ago, at the codemotion Berlin 2013, we, i.e. Michael Lex and Ben Ripkens, gave a technology lab. We had an ambitious plan: In three hours we wanted to show typical agile development practices...

View Article

Image may be NSFW.
Clik here to view.

JavaScript – Search for text in HTML page

Preface Probably I should start this blog post with a big disclaimer, because so far doing anything with JavaScript to me was like entering a world of pain (sorry, but the movie reference is a must)....

View Article


Image may be NSFW.
Clik here to view.

Traverson – the HATEOAS Client For JavaScript

A lot of REST APIs offer links between their individual resources. This pattern is commonly known as HATEOAS – Hypertext As The Engine Of Application State. APIs that do this are also referred to as...

View Article

Image may be NSFW.
Clik here to view.

Near-Realtime Analytics with MongoDB, Node.js & SmoothieCharts

In this blog post we’ll have a look at how easy it is to do some (near-)realtime analytics with your (big) data. I will use some well-known technologies like MongoDB and node.js and a lesser known...

View Article

Cross platform JavaScript with Browserify – Sharing Code Between Node.js and...

Full stack JavaScript! Easier said than done. Especially if you want to use some of your JavaScript code in your Node.js backend as well as in the browser. There are quite a few ways how to achieve...

View Article


Streams in JavaScript: a versatile Tool

Streams in Node.js are an important and versatile Tool. Unix Pipes were an example for Streams. At the beginning they were just representations of byte sequences or strings, built to improve the...

View Article


Image may be NSFW.
Clik here to view.

AngularJS: Google+ Sign In Integration

Google+ Platform now enables easy, efficient and powerful multi-platform integration of it’s services with almost everything you can imagine. If you have a need to use Google authentication,...

View Article

Image may be NSFW.
Clik here to view.

Project Nashorn – JavaScript on the JVM

Suppose you have a password strength checker in your user interface to help users choose secure and easily remembered passwords. Since estimating password strength involves more than just checking...

View Article

Image may be NSFW.
Clik here to view.

AngularJS And Browserify — The Dream Team For Single Page Applications

Browserify Your AngularJS App Let’s face it, structuring a large JavaScript project is not trivial. The tool Browserify enables you to use CommonJS modules for your frontend JavaScript, even though...

View Article

Image may be NSFW.
Clik here to view.

Home.Pi Reloaded – Home Automation with Ionic and MQTT

Today I want to inform you about a new release of my home automation solution “Home.Pi”. First I want to apologize to all those whom I have not yet replied to their questions after the first post....

View Article


Image may be NSFW.
Clik here to view.

Spring Boot Admin – First official Release!

Today we are happy to announce the first official release of Spring Boot Admin. My colleague Thomas has created this Admin Application for Spring Boot a few weeks ago. Basically it gives you an...

View Article

Testing JavaScript on various platforms with Karma and SauceLabs

The web can be a brutal environment with various combinations of browsers and operating systems (platforms). It is quite likely that your continuous integration setup only covers a small portion of...

View Article


Image may be NSFW.
Clik here to view.

Ionic: An AngularJS based framework on the rise

Ionic is one of those frameworks that you hear about from time to time. It is barely a year old and falls in line with other web-based hybrid app frameworks like Sencha Touch and jQuery mobile. This...

View Article

Image may be NSFW.
Clik here to view.

Cancelable Asynchronous Operations with Promises in JavaScript

Last week my colleague Bastian Krol put up an interesting question on Twitter about JavaScript Promises and the ability to cancel asynchronous (async) operations. What's the idiomatic way (API) to give...

View Article


Image may be NSFW.
Clik here to view.

What are Angular HTTP interceptors anyway?

Sometimes it takes more time or words to describe a concept in natural language, than to express it in code. Angular’s HTTP interceptors are such an example. The implementation is about half the size...

View Article

5 Ways to Write Better Angular Services

Angular services are singleton objects that can be used to organize and share code. Services are typically used to interact with REST endpoints, to organize common UI logic or even for business logic....

View Article

Working with Same-Origin Policy Restrictions

The Same-Origin Policy (SOP) is a security model that almost everyone gets in touch with when developing websites or web applications. Often, this first experience leads to frustration,...

View Article
Browsing all 70 articles
Browse latest View live