JavaScript Journal

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


Top Stories

The Impact of JavaScript Errors These days we are moving more and more logic towards the user into the browser to achieve higher performance and better user experience. There are Single Page Application frameworks like AngularJS, React, Ember and others supporting this trend. If it works, everything is fine. But with this trend a JavaScript error can become a website killer. What does this mean? Below you can see the same page twice, but depending on the browser used, you get a product list from which you can make a selection…or NOT! The difference is the result of a simple JavaScript error. Figure 1: JavaScript error causing a product search to return no result Here is another example of an online email interface showing a list of contacts, or in this case NONE, due again to a simple JavaScript error. JavaScript errors today can ruin the user experience of a web ap... (more)

SYS-CON Announces WebRTC Summit

Click here to follow ▸@WebRTCSummit SYS-CON Events announced today that the "First International WebRTC Summit" (@WebRTCSummit) will take place Nov 6-7, 2013, at the Santa Clara Convention Center, Santa Clara, CA. WebRTC (Web Real-Time Communication) is an open source project supported by Google, Mozilla and Opera that aims to enable browser-to-browser applications for voice calling, video chat, and P2P file sharing without plugins. Its mission is "To enable rich, high quality, RTC applications to be developed in the browser via simple Javascript APIs and HTML5." Register FREE for WebRTC Summit here ▸ http://bit.ly/1exOL9h WebRTC Journal ▸Home A survey by TokBox found that the WebRTC adoption rate among small organizations is growing quickly where over 25% of developers say it is important for their work. Register FREE for WebRTC Summit here ▸ http://bit.ly/1exOL9h ... (more)

WebPerf 101: #JavaScript | @CloudExpo #Catchpoint #DevOps #CD #WebPerf

Web Performance 101: Optimizing JavaScript By Kameerath Kareem JavaScript redefined web applications ushering in a new era of dynamic websites with fluid responsive designs. It has gained a strong following among developers, popular libraries and frameworks like JQuery and Angular JS are all built with JavaScript. The endless design possibilities that JavaScript provides coupled with the numerous libraries available today makes it an indispensable part of web application development. Why JavaScript? Today, almost every website uses JavaScript to provide an interactive digital experience. JavaScript made it possible to refresh/load sections of the page without having to reload the entire page every time the user clicks on a button or submits a form. Since scripts can manipulate DOM elements, it gave the developers more flexibility in designing and coding applications. ... (more)

WebRTC Summit | WebRTC Business Models: Building a Web-Based Telecom Co

What if you could re-invent the telephone company and/or OTT (over-the-top) services using WebRTC? Do you remember all of their service upgrades on top of basic phone services? Here are some of the services from telecoms of yesteryear and even Skype from a decade ago: In/Outbound minutes Phone numbers (DIDs) Vanity phone numbers Tollfree numbers Premium Rate 900 numbers Hunt group ringing Caller ID Voice messaging Three-way and conference calling Collaboration, i.e., web-ex, gotomeeting, livemeeting Basic routing menus (IVR - sales, tech support, billing) Yellow pages White pages and Unlisted numbers Directory assistance 3-Way Calling (party lines) Multiple lines (personal & business) Emergency breakthroughs Least cost routing Call forwarding Call waiting In his session at WebRTC Summit, Chris Matthieu, founder of Twelephone, will walk you through each of these servi... (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)

JavaScript in TypeScript | @ThingsExpo #IoT #DevOps #InternetOfThings

Why Writing JavaScript Applications in TypeScript JavaScript is the language of the Web. There is no other language that can run literally on any old or new device connected to the Internet. On the other hand, there are dozens of languages that compile (a.k.a. transpile) to JavaScript. Why not just writing JavaScript applications in JavaScript? Let me start with analogy with Assembly. Programs written in the a particular flavor of Assembly language run on any device that have a CPU that understand it. See the shortcoming comparing to JavaScript? An Assembly program can’t run on any device, but on any device with a specific CPU architecture. Still, why not writing all the code for a specific platform in Assembly? Why use Java, C#, Python or C++? We want to be productive. Vast majority of the programmers want to be as far as possible from the bare bone metal. Let compi... (more)

Node.js Performance Metrics | ThingsExpo #IoT #APM #API Microservices

Top 5 Performance Metrics for Node.js Applications By Omed Habib The last couple articles presented an introduction to Application Performance Management (APM) and identified the challenges in effectively implementing an APM strategy. This article builds on these topics by reviewing five of the top performance metrics to capture to assess the health of your enterprise Node.js application. Specifically this article reviews the following: Business Transactions External Dependencies The Event Loop Memory Leaks Application Topology Business Transactions Business Transactions provide insight into real-user behavior: they capture real-time performance that real users are experiencing as they interact with your application. As mentioned in the previous article, measuring the performance of a business transaction involves capturing the response time of a business transaction ... (more)

Uh-Oh, Java Trouble Percolating

Add Java to the list of rebellious Sun properties bucking Oracle hegemony. According to the Register, before Oracle OpenWorld the Java Community Process (JCP), the only entity that's supposed to be able to approve changes to Java, quietly passed a resolution demanding that Oracle spin it out an independent, vendor-neutral legal body like Oracle had demanded Sun do back in late '07. Reportedly only Oracle abstained from the otherwise unanimous vote by such as IBM, Red Hat, Intel, VMware, Nokia, RIM, the Apache Software Foundation and of course Google. Oracle suing Google over Java probably guaranteed this would happen now. The Java executive board apparently discussed a "symbolic vote distancing themselves from Oracle's prosecution" of Google but didn't. Oracle has been taking the same tack Sun did when faced with unrest and that's to offer a bigger executive committe... (more)

Book Review | CSS3: The Missing Manual

This book is both board and deep. Meaning it covers a ton of topics and goes in-depth on all of them. This book is great for the beginner, but also has a lot of advanced material. After a nice introduction that explains the structure of the book the author starts off Part 1 covering the basics. The book starts with the basics and leads us to advanced topics by the end of the book. I have listed the 5 parts of the book below with the chapters they contain to give an idea of all the topics covered. Part 1. CSS Basics 1. HTML for CSS 2. Creating Styles and Style Sheets 3. Selectors: Identifying What to Style 4. Saving Time with Style Inheritance 5. Managing Multiple Styles: The Cascade Part 2. Applied CSS 6. Formatting Text 7. Margins, Padding, and Borders 8. Adding Graphics to Web Pages 9. Sprucing Up Your Site’s Navigation 10. CSS Transforms, Transitions, and Animations 11. Form... (more)

Java Method Size

The Java Virtual Machine specification limits the size of generated Java byte code for each method in a class to the maximum of 64K bytes. This limitation will cause the JVM to throw java.lang.VerifyError at runtime when the method size exceeds this limit. This method size restriction of the JVM seems to be too stringent. A bug is open with the Oracle Java development team (http://bugs.sun.com/view_bug.do?bug_id=4262078). This bug is taken as an enhancement request which is likely to be fixed in the future java versions. That said, the fix for this issue is rather supportive. Application/Container developers need to consider few factors and apply good programming/refactoring techniques to get around this problem. While future versions of JVM might increase the method size limit to a considerable extent, a the size will always be a finite value. In this article, I ... (more)

SYS-CON Launches WebRTC Journal

Click here to follow ▸@WebRTCSummit SYS-CON Media has launched WebRTC Journal on Ulitzer.com featuring over 160 original articles, news stories, features, and blog entries. WebRTC (Web Real-Time Communication) is an open source project supported by Google, Mozilla and Opera that aims to enable browser-to-browser applications for voice calling, video chat, and P2P file sharing without plugins. Register FREE for WebRTC Summit here ▸ http://bit.ly/1exOL9h WebRTC Journal ▸Home Its mission is "To enable rich, high quality, RTC applications to be developed in the browser via simple Javascript APIs and HTML5." Follow WebRTC Journal on Twitter at @WebRTCSummit. Register FREE for WebRTC Summit here ▸ http://bit.ly/1exOL9h WebRTC Journal ▸Home About Ulitzer.com Ulitzer is a "new-media" platform for creating, delivering, and consuming content on the Web. Anyone can create topics,... (more)