JavaScript Journal

Subscribe to JavaScript Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get JavaScript Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories

WebRTC is the latest superhot topic emerging from Cloud Expo, and emerging from the worlds of open-source development and cloud computing worldwide. The WebRTC mission is deceptively simple: to enable rich, high-quality RTC applications delivered to browsers through JavaScript APIs and HTML5. It is already the result of a few years of dedicated effort by an enthusiastic developer community. In this WebRTC Power Panel being held Nov. 6 at 7:10 pm at the 1st WebRTC Summit, Nov. 6-7, at the Santa Clara Convention Center, Santa Clara, CA, a distinguished lineup of expert speakers will focus on such topics as: WebRTC for telcos - is there a real business opportunity? Is Skype a WebRTC Killer, or is WebRTC a Skype killer? Peer-to-peer use of WebRTC RTCPeerConnection Integrating WebRTC with Web Audio The Voice-Enabled Web P2P communication in the browser The monetization o... (more)

WebRTC Summit | WebRTC and the Codec War

Slide Deck: WebRTC & the Codec War The codec war is raging now more than ever before. The increased popularity of the proposed WebRTC protocol and the implied royalty costs make this a hot topic. Google, Cisco, Microsoft and now finally Apple are promoting their preferred technology and attempting to influence the choice to be made for WebRTC. The choice is far from clear especially in light of the latest technology advances, the transcoding infrastructure costs involved and the impact on mobile devices. In his session at 1st WebRTC Summit, Soufiane Houri shared Weemo's multi-year experience developing on top of the leading video and voice codecs. He provided some perspective on the advantages of each across devices taking into account hardware and software-based video acceleration and the impact each have on the end user. Click here to follow ▸@WebRTCSummit WebRTC... (more)

Inheritance Patterns in JavaScript

Inheritance Patterns in JavaScript Interesting points on using pseudo-classical inheritance pattern vs the functional pattern.  SproutCore is pseudo-classical based, just like Closure, primarily because of memory concerns.  Nice to see folks at Google went down the same direction. ... (more)

A Comparison of the Programming APIs Available in SAP Mobile Platform 2.3

When Sybase first released the Unwired Platform in 2008, it was intended to be a complete end-to-end development environment for mobile applications.  SUP developers would create the middle tier components (a.k.a. Mobile Business Objects), and the client application executables from a single, integrated Eclipse-based toolset.  There was a "PowerBuilder-like" 4GL screen painter, called the Device Application Designer (or DAD), that compiled down to native Blackberry 5/6 or Windows Mobile 6.5 applications.  (Yes, it's hard to imagine, but there was a time when iOS devices were not allowed to play in the Enterprise Mobile Application playground...) Several market forces emerged around that time and started to cast doubts on the wisdom of the "complete end-to-end" strategy.  Those were (in no particular order or importance): The release of the iPad, and overall growth o... (more)

WebRTC Summit | The WebRTC Data Channel

Slide Deck: The WebRTC Data Channel The WebRTC Data Channel is the next big thing in browser real-time communication. In his session at WebRTC Summit, Dan Ristic, a developer evangelist for PubNub, explored the specification of what the data channel is, the potential road blocks to using it, and where to use it in production today. He also explored the future of the data channel and how it will change the browser landscape in the years to come. Click here to follow ▸@WebRTCSummit WebRTC Journal ▸Home Speaker Bio Dan Ristic is a developer evangelist for PubNub, the leading provider of real-time technologies. He is passionate about front-end engineering and looks to push the web to its limits every day. His goal is to map the future of the web and how it will change the future of the world. A Rock Star Faculty, Top Keynotes, Sessions, and Top Delegates! Cloud Expo® 201... (more)

WebRTC Summit | Interoperable WebRTC and Why It Is Important

Slide Deck: Interoperable WebRTC and Why It Is Important There are many potential applications for WebRTC and for many interoperability is not a requirement. However, this does not mean that there is not a need for interoperability, particularly at the signaling level, for other applications. Many people have dismissed interoperability as a consideration when using WebRTC - often due to the fact that their favored use cases do not require it (and in some cases are even hampered by it). In his session at WebRTC Summit, Peter Dunkley, Technical Director at Crocodile RCS, looked at the other side and discussed the case for interoperability and explained how WebRTC can be used to enhance and extend existing services in a way provides benefits to service providers and their customers. He concluded with a look at some of the open-source options available today for buildi... (more)

The Website Performance Mistakes of Mobile Shopping Sites in 2013

Our new survey tells us that up to 50% of online shoppers this year will use their mobile device. Good news is that most retail stores that have an online store now also offer a mobile version, e.g., http://m.gap.com, http://m.jcpenney.com, http://m.bestbuy.com. In the past years we have done a deep dive web performance analysis on the desktop versions of these sites and blogged about it. This year we took a look at the mobile sites and found some "terrible" website performance mistakes that will most likely frustrate the mobile shopper. The "highlights" (or lowlights) that we found are: 87 roundtrips from 25 different domains for a single mobile page 28 redirects from the mobile site to the desktop site for downloading JS and CSS 2.5MB of page size for the shopping cart Some pages are already optimized for mobile - but some critical pages are overloaded, have too m... (more)

Idiomatic ES6 | @CloudExpo #Cloud #JavaScript

Idiomatic ES6 by Darien Maillet Valentine There are a billion articles on ES6 at this point. What's one more? Here we discuss some emerging patterns and issues related to real world use of ES6 as well as how one can go about using it now via Babel. If you aren't yet familiar with the features and changes of ES6 itself, you'll probably want to check out the following links first: MDN is invaluable. It provides systematic coverage of all JS, including ES6. ②ality isn't organized like MDN, but it boasts the finest collection of deep articles covering specific features and edge cases. The online Babel REPL. This is fantastically useful to answer quick questions like ‘does this work?' and of course, ‘how?' The final draft. Dry reading, but sometimes it's the only way to get an authoritative answer. Edifying if you stare at it long enough. Table of Contents ES6 Where We... (more)

Angular 2 Overview By @YFain | @ThingsExpo #DevOps #IoT #Microservices

This article was excerpted from the book “Angular Development With TypeScript” (see http://bit.ly/1QYeqL0). The Angular 2 framework is a re-write of popular framework AngularJS. In short, the newer version has the following advantages over AngularJS. The code is simpler to write and read It performs better  than AngularJS It’s easier to learn The application architecture is simplified as it’s component-based This article contains a high-level overview of Angular highlighting improvements comparing to AngularJS. For a more detailed architecture overview of Angular visit product documentation at http://bit.ly/1TQJmwG. Code Simplification First of all, an Angular application consists of standard ES6 modules. Typically one module is one file. There is no need to use a framework-specific syntax for loading and using modules. Just use the universal module loader SystemJS (... (more)

Angular 2 Workshop at @ThingsExpo | #IoT #Angular2 #TypeScript #JavaScript

SYS-CON Events announced today the How to Create Angular 2 Clients for the Cloud Workshop, being held June 7, 2016, in conjunction with 18th Cloud Expo | @ThingsExpo, at the Javits Center in New York, NY. Register for 'Angular 2 Cloud Workshop' Here! Angular 2 is a complete re-write of the popular framework AngularJS. Programming in Angular 2 is greatly simplified. Now it's a component-based well-performing framework. The immersive one-day workshop led by Yakov Fain, a Java Champion and a co-founder of the IT consultancy Farata Systems and the product company SuranceBay, will provide you with everything you wanted to know about Angular 2. Workshop will include: Overview of the Angular 2 architecture Intro to Typescript Getting familiar with a sample Auction application. Angular 2 project setup with npm. Angular 2 data binding, dependency injection, and routing. Rea... (more)

JavaScript: The Good Parts

JavaScript is a language with more than its share of bad parts. It went from non-existence to global adoption in an alarmingly short period of time. It never had an interval in the lab when it could be tried out and polished. JavaScript has some extraordinarily good parts. In JavaScript there is a beautiful, highly expressive language that is buried under a steaming pile of good intentions and blunders. The best nature of JavaScript was so effectively hidden that for many years the prevailing opinion of JavaScript was that it was an unsightly, incompetent abomination. My intention here is to expose the goodness in JavaScript, an outstanding dynamic programming language. Within the language is an elegant subset that is vastly superior to the language as a whole, being more reliable, readable, and maintainable.  Speaker Bio: Douglas Crockford is a product of our publi... (more)