Tagged articles

JavaScript

2446 articles · Page 25 of 25
21CTO
21CTO
Dec 15, 2015 · Backend Development

Will JavaScript Conquer All Development Platforms? Node.js, Mobile & More

Kevin Lacker argues that JavaScript’s pervasive ecosystem is turning it into the default language for browsers, servers, and even native mobile apps, with Node.js leading backend adoption, React Native pushing cross‑platform native development, and industry surveys confirming its growing dominance across the developer community.

JavaScriptNode.js
0 likes · 10 min read
Will JavaScript Conquer All Development Platforms? Node.js, Mobile & More
Node Underground
Node Underground
Nov 19, 2015 · Backend Development

Mastering yield* in Koa: How Generators and co Simplify Async Flow

This article demystifies the use of yield* in Koa middleware by comparing plain yield with delegating yield, explaining how the co library handles generators and promises, and outlining the practical advantages of native yield* syntax for clarity, performance, and correct this binding.

JavaScriptKoaasync
0 likes · 9 min read
Mastering yield* in Koa: How Generators and co Simplify Async Flow
21CTO
21CTO
Nov 15, 2015 · Frontend Development

Why JavaScript Function Declarations Behave Differently Than Expressions

This article explains the crucial differences between JavaScript function declarations and function expressions, how hoisting affects their availability, and why misunderstanding these concepts can lead to unexpected bugs in your code.

FrontendJavaScriptfunction-declaration
0 likes · 7 min read
Why JavaScript Function Declarations Behave Differently Than Expressions
Node Underground
Node Underground
Oct 27, 2015 · Backend Development

Why Node.js Became the Backbone of Modern Web Development

This article traces Node.js’s evolution from a modest 2009 V8‑based runtime to a dominant backend platform, highlighting npm’s impact, its event‑driven, non‑blocking architecture, real‑world strengths and limitations, and why careful evaluation is essential before adopting it.

Backend DevelopmentJavaScriptNode.js
0 likes · 6 min read
Why Node.js Became the Backbone of Modern Web Development
Java High-Performance Architecture
Java High-Performance Architecture
Oct 13, 2015 · Frontend Development

Understanding JavaScript Hoisting: Why console.log(test) Returns Undefined

JavaScript executes code by first compiling function and var declarations within a scope, then running statements top‑to‑bottom, which explains why accessing a var‑declared variable before its assignment yields undefined while referencing an undeclared variable throws an error, as illustrated through detailed examples.

FunctionJavaScriptScope
0 likes · 4 min read
Understanding JavaScript Hoisting: Why console.log(test) Returns Undefined
21CTO
21CTO
Oct 6, 2015 · Frontend Development

Inside JD.com’s Front‑End: Seajs, Lazy Loading, and Smart Caching

While browsing JD.com with Chrome’s console, the author uncovers the site’s front‑end architecture, revealing the use of Seajs, a custom jQuery build, lazy‑loading modules, localStorage caching, and a modular project structure that together deliver fast page loads and efficient updates.

CachingFrontendJavaScript
0 likes · 8 min read
Inside JD.com’s Front‑End: Seajs, Lazy Loading, and Smart Caching
Java High-Performance Architecture
Java High-Performance Architecture
Sep 29, 2015 · Frontend Development

Which JavaScript Libraries and Tools Do Developers Prefer? Latest Survey Results

A recent developer survey reveals the most popular JavaScript libraries, frameworks, module loaders, and unit testing tools, showing jQuery leading with 91.5% interest overall and 56.53% usage in projects, while other tools like React, AngularJS, webpack, and Mocha capture smaller but notable shares.

JavaScriptUnit Testingframeworks
0 likes · 3 min read
Which JavaScript Libraries and Tools Do Developers Prefer? Latest Survey Results
21CTO
21CTO
Sep 20, 2015 · Frontend Development

10 Common Web Development Mistakes and How to Fix Them

This article outlines ten frequent web developer pitfalls—from outdated HTML and browser‑specific code to slow performance and excessive page reloads—explaining their impacts and offering practical solutions such as modern semantic markup, cross‑browser testing, image optimization, responsive design, and automated tooling.

Best PracticesFrontendHTML
0 likes · 15 min read
10 Common Web Development Mistakes and How to Fix Them
Java High-Performance Architecture
Java High-Performance Architecture
Sep 16, 2015 · Frontend Development

Mastering SeaJS: A Quick Guide to CMD‑Based JavaScript Module Loading

SeaJS is a CMD‑compliant JavaScript module loader that enables modular development across all major browsers, and this guide walks you through initializing modules, defining them with the `define` function, understanding factory parameters, and using absolute, relative, and base‑path addressing for seamless module management.

CMDJavaScriptSeaJS
0 likes · 3 min read
Mastering SeaJS: A Quick Guide to CMD‑Based JavaScript Module Loading
21CTO
21CTO
Sep 12, 2015 · Information Security

How Browser Fingerprinting Works and How to Defend Against It

This article explains the many data points browsers expose—such as IP, cookies, language, hardware, and HTML5 APIs—that enable device fingerprinting, describes how fingerprinting scripts operate, and outlines practical countermeasures like disabling JavaScript, using privacy extensions, and configuring browser settings.

Browser FingerprintingHTML5 APIsJavaScript
0 likes · 10 min read
How Browser Fingerprinting Works and How to Defend Against It
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jul 29, 2015 · Frontend Development

An Overview of Backbone.js: Architecture, Core Components, and Practical Use Cases

This article provides a comprehensive introduction to Backbone.js, describing its lightweight MVC architecture, core components such as Models, Collections, Views, Events, Sync, Router, and History, and discusses its advantages, suitable scenarios, comparisons with other frameworks, and a real‑world implementation in the Wandoujia PC client.

Backbone.jsFrontendJavaScript
0 likes · 15 min read
An Overview of Backbone.js: Architecture, Core Components, and Practical Use Cases
Qunar Tech Salon
Qunar Tech Salon
Jul 27, 2015 · Frontend Development

JavaScript JSON Number Handling and Integer Overflow Issues

The article explains how JavaScript interprets JSON values without quotation marks as numbers, demonstrates the difference between numeric and string representations of the same value, and warns that large numeric literals may overflow a 32‑bit integer during internal conversion.

Data TypesJavaScriptinteger overflow
0 likes · 2 min read
JavaScript JSON Number Handling and Integer Overflow Issues
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 21, 2015 · Information Security

Understanding DDoS Attacks via Malicious JavaScript and Mitigation with HTTPS and Subresource Integrity

The article explains how malicious JavaScript can turn browsers into participants of DDoS attacks through techniques like server hijacking and man‑in‑the‑middle injection, and describes how HTTPS and the emerging Subresource Integrity feature can help protect websites from such threats.

DDoSHTTPSJavaScript
0 likes · 6 min read
Understanding DDoS Attacks via Malicious JavaScript and Mitigation with HTTPS and Subresource Integrity
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Apr 20, 2015 · Frontend Development

A Comprehensive Guide to Modern JavaScript Development: ES2015, Modules, Build Tools, Testing, Automation, and Node

This article provides an extensive overview of modern JavaScript development, covering the transition to ES2015, module systems, build tools like Webpack, testing frameworks, process automation, code quality tools, Git workflows, client‑side templating, and essential Node.js knowledge for frontend engineers.

Build ToolsES2015Frontend
0 likes · 12 min read
A Comprehensive Guide to Modern JavaScript Development: ES2015, Modules, Build Tools, Testing, Automation, and Node
Qunar Tech Salon
Qunar Tech Salon
Mar 6, 2015 · Frontend Development

Key Features of ES6 (ECMAScript 2015)

This article enumerates the major ES6 (ECMAScript 2015) features, including arrow functions, classes, enhanced object literals, template strings, destructuring, default/rest/spread parameters, let/const, iterators, generators, Unicode support, modules, data structures like Map and Set, proxies, symbols, promises, and more.

ECMAScript2015JavaScriptes6
0 likes · 2 min read
Key Features of ES6 (ECMAScript 2015)
Baidu Tech Salon
Baidu Tech Salon
Jan 7, 2015 · Frontend Development

Front‑End vs iOS Development: Languages, Threads, Storage & Performance Compared

This article analytically compares web front‑end development and iOS mobile development, covering language choices, threading models, data storage strategies, framework ecosystems, compatibility challenges, performance optimization, compilation processes, security considerations, and the impact on user interaction and development workflow.

FrontendJavaScriptObjective‑C
0 likes · 13 min read
Front‑End vs iOS Development: Languages, Threads, Storage & Performance Compared
Qunar Tech Salon
Qunar Tech Salon
Dec 17, 2014 · Backend Development

The Origin and Goals of io.js: A Fork of Node.js

The article explains how io.js emerged as a community‑driven fork of Node.js in early 2015 to address release frequency and governance concerns, describing its open management model, weekly release plans, compatibility with the npm ecosystem, and the broader context of Node Forward and community reactions.

JavaScriptNode.jsOpen source
0 likes · 5 min read
The Origin and Goals of io.js: A Fork of Node.js
Baidu Tech Salon
Baidu Tech Salon
Dec 17, 2014 · Frontend Development

Baidu Technical Salon: 25-Year Evolution of Web Design

The Baidu Technical Salon article traces 25 years of web‑design evolution—from text‑only Unix browsers in 1989, through Mosaic’s image tables, JavaScript and Flash, the rise of CSS, the iPhone‑driven shift to responsive and flat design, and looks ahead to tools that will finally free designers from cross‑browser hassles.

FlashJavaScriptcss
0 likes · 4 min read
Baidu Technical Salon: 25-Year Evolution of Web Design
Suning Design
Suning Design
Nov 13, 2014 · Frontend Development

Discover 20+ Lightweight jQuery Plugins to Boost Your Frontend

This guide showcases a curated collection of lightweight jQuery plugins—covering layout, animation, media, sliders, typography, and utility features—each described with its core functionality and visual example to help developers enhance website interactivity and design efficiently.

FrontendJavaScriptUI Components
0 likes · 8 min read
Discover 20+ Lightweight jQuery Plugins to Boost Your Frontend
Baidu Tech Salon
Baidu Tech Salon
Oct 17, 2014 · Information Security

How to Hook and Hide JavaScript APIs to Thwart XSS Attacks

This article explores practical techniques for intercepting and protecting JavaScript APIs—such as setAttribute—using MutationObserver, API hooks, random token naming, property hiding, and recursive iframe monitoring to build a resilient front‑end defense against XSS and other injection attacks.

API interceptionFrontendHook
0 likes · 14 min read
How to Hook and Hide JavaScript APIs to Thwart XSS Attacks
Baidu Tech Salon
Baidu Tech Salon
Oct 13, 2014 · Fundamentals

12 Speculative Futures for the Programming World

Looking ahead, programmers may see GPUs supplant CPUs, databases handle complex analytics, JavaScript dominate browsers and servers, Android power every device, the Internet of Things expand, open‑source ecosystems seek sustainable funding, CMS tools become richer, plugin‑centric development replace monolithic coding, command‑line interfaces endure, education strives for true simplification, outsourcing battles automation, and managers risk growing technically illiterate.

AndroidGPUIoT
0 likes · 10 min read
12 Speculative Futures for the Programming World
Baidu Tech Salon
Baidu Tech Salon
Sep 23, 2014 · Fundamentals

Ten Commonly Cited Quirky Features Across Programming Languages

The article surveys ten frequently cited quirky language features—from JavaScript’s “+” string coercion and automatic semicolon insertion, to Perl’s mandatory true module return and cryptic special variables, C’s interchangeable array indexing, PHP’s mixed case sensitivity, Ruby’s truthy zero, Python’s indentation blocks, C’s pointer arithmetic, and Java’s autoboxing with Integer caching—highlighting their surprising behaviors and community frustrations.

C++JavaScriptPython
0 likes · 10 min read
Ten Commonly Cited Quirky Features Across Programming Languages
Baidu Tech Salon
Baidu Tech Salon
Jun 17, 2014 · Frontend Development

How SIMD Can Supercharge JavaScript Performance Across Browsers

JavaScript’s role in web performance is critical, and Intel’s new SIMD APIs—now being integrated into Chrome and Firefox—enable cross‑platform, plugin‑free acceleration that can boost script execution by 3‑10× on both x86 and ARM CPUs, as demonstrated on multiple hardware platforms.

Browser PerformanceChromeFirefox
0 likes · 4 min read
How SIMD Can Supercharge JavaScript Performance Across Browsers
Baidu Tech Salon
Baidu Tech Salon
May 21, 2014 · Frontend Development

Show‑off JavaScript Techniques to Impress Others

The article showcases a suite of flashy JavaScript tricks—alternative anonymous‑function syntaxes, the void operator for undefined, logical‑operator conditionals, optional semicolons, early ES6 features, AMD wrapping, the Function constructor, and native DOM selectors—while warning that some shortcuts hurt readability and should be used sparingly.

AMDAnonymous FunctionsDOM
0 likes · 6 min read
Show‑off JavaScript Techniques to Impress Others