jvs
76 views | +0 today
Follow
jvs
Curated by zim
Your new post is loading...
Your new post is loading...
Scooped by zim
Scoop.it!

Google's JavaScript-slaying-improving Dart lets fly with version 1.0 - Register

Google's JavaScript-slaying-improving Dart lets fly with version 1.0 - Register | jvs | Scoop.it
Google's JavaScript-slaying-improving Dart lets fly with version 1.0
Register
Perhaps most notably, Microsoft has been working on TypeScript, its own JavaScript alternative that's more a superset of the language than an outright replacement.
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

Towards Responsiveness with d3chartjs

Towards Responsiveness with d3chartjs | jvs | Scoop.it

While data visualization is growing as a medium on the Open Web, practitioners of the field still struggle to make data visualization “work” on different screens. The question “how do I render at different sizes?” is an important one, but only tackles a portion of the greater challenge of “what does it mean to create data visualization on a smaller screen?” Understanding how to best target a mobile audience (possibly on the go) and how to do the data & narrative justice when rendering complex graphics, is a fascinating question that we hope to explore in the coming months here in Bocoup’s Data Vis Central.

To accomplish this we added a new concept to our d3.chart.base: modes. Conceptually, a mode is a way to describe the environment that the chart is in. In practice, mode is simply a combination of a name (such as “mobile”) and a function that can test to see whether a chart is in this mode or not. To demonstrate this functionality, we could define screen-size based modes such as “web”, “tablet” and “mobile” and utlize media queries and the chart width to determine the correct mode, like so...


Via Jan Hesse
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

A Look Into How Parameters Are Passed In JavaScript

A Look Into How Parameters Are Passed In JavaScript | jvs | Scoop.it

I recently came across a question on StackOverflow about how JavaScript handles parameters, if they are passed by value or by reference. There seemed to be a lot of confusion and misinformation about what is actually happening behind the scenes.

TLDR; All arguments are passed by value in JavaScript, however, when dealing with non-primitive datatypes like objects and arrays a variable is created that points to the location of the object memory that is then is passed into the function. This means that changes to the variable inside the function will affect the original object's values. Once the argument is reassigned (e.g. arg = {} ) the variable now has the location of the new object in it so the original variable is no longer changed when the value changes.


Via Jan Hesse
more...
No comment yet.
Scooped by zim
Scoop.it!

So far, GoPass sounds like a DART success story - Dallas Morning News (blog)

So far, GoPass sounds like a DART success story - Dallas Morning News (blog) | jvs | Scoop.it
So far, GoPass sounds like a DART success story
Dallas Morning News (blog)
“Tickets and passes, please.
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

A Simple Visual Model for Promises

A Simple Visual Model for Promises | jvs | Scoop.it

Promises are significantly taking ground as a programming construct for asynchronous systems such as web applications. In its simplest form, a promise represents the state of the result of some future computation.

I was introduced recently to this construct when studying jQuery and AngularJS. At the beginning, I was not able to wrap my head around it. While I understood the basic callback mechanism — allowing to be notified when the computation is finished — I struggled a lot capturing the efficiency with which promises allow to easily compose asynchronous programs.


Via Jan Hesse
more...
No comment yet.
Scooped by zim
Scoop.it!

Manipulating browser URL using Javascript without refreshing the page

In modern browsers, one of the most interesting feature is that you can change the browser url without refreshing the page. During this process you can store the state of the history so that you ca...
more...
No comment yet.
Scooped by zim
Scoop.it!

HTML5 Browser Storage: the Past, Present and Future - SitePoint

HTML5 Browser Storage: the Past, Present and Future - SitePoint | jvs | Scoop.it
A round up of all browser storage options available to client-side HTML5 developers.
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

Building a tag editor with Ember.js

Building a tag editor with Ember.js | jvs | Scoop.it

I’m often still amazed at just how well Ember deals with complexity.

Ember Components are one of many reasons for this, they very neatly allow us to create decoupled views which can be reused throughout our application. Below tag editor component which consists of 30 lines of clean JavaScript. (view the source on jsbin)


Via Jan Hesse
more...
No comment yet.
Scooped by zim
Scoop.it!

Karma - a Javascript Test Runner

Karma - a Javascript Test Runner | jvs | Scoop.it
Karma is an open source software testing tool for JavaScript, Node.js and AngularJS (Karma - a Javascript Test Runner http://t.co/7JJA4mcKJS)
more...
No comment yet.
Scooped by zim
Scoop.it!

JSDB.io - The Database of JavaScript Libraries

A collection of the world's best client-side javascript libraries (RT @gpuberos: JSDB.io : The Database of JavaScript Libraries (frameworks, plugins, and tools) http://t.co/7ajznw7RQk #javascript...
more...
No comment yet.
Scooped by zim
Scoop.it!

Google: Dart will rescue browsers from JavaScript - CNET

Google: Dart will rescue browsers from JavaScript - CNET | jvs | Scoop.it
U.S. News & World Report Google: Dart will rescue browsers from JavaScript CNET But Microsoft and Mozilla, which make the other two of the top three browsers, don't care for Dart, and when Bak tried to drum up support for Dart in Chrome, the Google...
more...
No comment yet.
Scooped by zim
Scoop.it!

PhoneGap: Build a Feed Reader – Project Structure

PhoneGap: Build a Feed Reader – Project Structure | jvs | Scoop.it
Although not specifically created to work together, jQuery Mobile and Cordova (also known as PhoneGap) are a very powerful duo to create hybrid, mobile apps.
more...
No comment yet.
Scooped by zim
Scoop.it!

PhoneGap Build and PhoneGap 3.0 - Raymond Camden

PhoneGap Build and PhoneGap 3.0 - Raymond Camden | jvs | Scoop.it
Raymond Camden's personal blog covering jQuery, Mobile, ColdFusion, and Web Development. PhoneGap Build and PhoneGap 3.0.
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

Atmosphere and AngularJS

Atmosphere and AngularJS | jvs | Scoop.it

Atmosphere framework is the The Asynchronous WebSocket/Comet Framework for building asynchronous web applications.

You code your asynchronous web application using one codebase and deploy it on any Servlet container or straight to the cloud. There's no need to think about WebSocket support or hardcode specific vendor implementations.

Sounds too good to be true, doesn't it? Let me show you that it is true, indeed.

The tutorial is based on the excellent example from the Atmosphere examples project and modified to use AngularJS for the front end.

Let's analyze requirement more thoroughly.

* There must be a front-end allowing user to submit the name.

* There must be a way to connect and listen for the incoming messages asynchronously from the front end.

* The server must asynchronously process incoming chat messages and notify all users in the chat.

As it will become clear after completion of this tutorial, Atmospheres framework makes it incredibly easy to deal with the server side asynchronous processing. You'll find that most of time you are spending building nice front-ends instead of dealing with complexities of asynchronous request processing.


Via Jan Hesse
more...
No comment yet.
Scooped by zim
Scoop.it!

jQuery Mobile/PhoneGap Apps on Appery.io at Chicago HTML5 Meetup - SYS-CON Media (press release)

jQuery Mobile/PhoneGap Apps on Appery.io at Chicago HTML5 Meetup
SYS-CON Media (press release)
jQuery Mobile/PhoneGap Apps on Appery.io at Chicago HTML5 Meetup. By Max Katz.
more...
No comment yet.
Rescooped by zim from Web Apps
Scoop.it!

Plight Of The Butterfly - Everything You Wanted To Know About Object.observe() – Addy Osmani

Plight Of The Butterfly - Everything You Wanted To Know About Object.observe() – Addy Osmani | jvs | Scoop.it
Some people say that when a butterfly lands on you it means good luck. However, in parts of England, people would traditionally rush around to kill the first butterfly of the year that they see, or else face a year of bad luck.

Via Srdjan Strbanovic
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

AngularJS Directive Design Made Easy

AngularJS Directive Design Made Easy | jvs | Scoop.it

Directives make our lives easier when you can reuse them without needing to read or edit the source code. Then we can forget how they work, and just remember what they do.

If you’re coming from a view-centric framework, like Backbone, you may be tempted to separate your application into view-like directive chunks. For example, if you want to display a list of users, you might create a directive that reads $scope.users and prints them all out:

<user-list/>

The user-list directive works. I mean, look how DRY it is! However, contrast it withng-repeat, which handles only the repetition. Which one could be used in more places? What if you need to display users differently in two places?


Via Jan Hesse
more...
No comment yet.
Scooped by zim
Scoop.it!

JSTween - JavaScript Animation Library

JSTween - JavaScript Animation Library | jvs | Scoop.it
High performance JavaScript animation library, built for developers looking for more than canned effects.
more...
No comment yet.
Rescooped by zim from JavaScript for Line of Business Applications
Scoop.it!

Unit Testing Best Practices in AngularJS

Unit Testing Best Practices in AngularJS | jvs | Scoop.it

What should I be testing and when should I be writing tests?

I think it's essential that you learn to love the feeling of having a water-tight app. One which you know is not going to, you know, suddenly die the moment someone else starts making changes.

It might just be me, but when you've written a nice function, and you've verified it works the way it should, it feels solid. You see green ticks on a command line, all tests passed. BOOM! You've just written some of the most solid, reliable code that's ever been written!

Level 1. Unit TestingLevel 2. Integration Testing

Level 3. Mocking


Via Jan Hesse
more...
No comment yet.
Scooped by zim
Scoop.it!

Darts & Pats - The Breeze

Darts & Pats - The Breeze | jvs | Scoop.it
Darts & Pats
The Breeze
A “you-had-one-job” dart to the Health Center for refusing to take me for multiple ailments. From a senior who has bronchitis and a fractured toe that you failed to diagnose.
more...
No comment yet.
Scooped by zim
Scoop.it!

7 Months with TypeScript

7 Months with TypeScript | jvs | Scoop.it
Since December 2012, I have used TypeScript as my primary language while working on a large scale enterprise project due to ship next month. I want to share the details on how we are using TypeScri...
more...
No comment yet.
Scooped by zim
Scoop.it!

Dart Room Escape

Dart Room Escape | jvs | Scoop.it
Trouvez divers objets aidant a sortir.          (Nouvelle note sur mon blog : Dart Room Escape walkthrough http://t.co/vJQyyNhIzf)
more...
No comment yet.
Scooped by zim
Scoop.it!

ArcGIS API for JavaScript Version 3.7 Released | ArcGIS Resources

ArcGIS API for JavaScript Version 3.7 Released | ArcGIS Resources | jvs | Scoop.it
Version 3.7 of the ArcGIS API for JavaScript is now available! Below is a complete listing of new features, enhancements and bug fixes included in this release. The same information is available in the What's New in 3.7 page ...
more...
No comment yet.