You should always consider using the Object provided by the MV* framework. If the JS framework doesn't have a built-in support for communicating with the server (which I highly doubt), you can opt to work directly with the low-level methods of the XMLHttpRequest object itself or use a general utility library such as JQuery. On … Continue reading HTTP request in Node.js or other JavaScript framework
Author: Eric
The trillion dollar tech war between Amazon, Google, and Microsoft
For months and months, as Google's brain trust searched for the ideal candidate to lead the company’s come-from-behind bid for its biggest new opportunity since Larry Page and Sergey Brin began putting ads on their search engine, one name kept coming up: Diane Greene. Little known outside Silicon Valley, Greene is a legend in tech … Continue reading The trillion dollar tech war between Amazon, Google, and Microsoft
Module in JavaScript
A short personal note: var dayName = function() {}(); is equivalent to var dayName = function() {}; dayName(); You define a function first then invoke it. Modules A beginning programmer writes her programs like an ant builds her hill, one piece at a time, without thought for the bigger structure. Her programs will be like … Continue reading Module in JavaScript
D3.js – A JavaScript library to manipulate graph using HTML5
D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation. Download … Continue reading D3.js – A JavaScript library to manipulate graph using HTML5
The secret to Silicon Valley’s success is mass delusion, says ‘Chaos Monkeys’ author
Antonio García-Martinez knows that his new book about Silicon Valley, "Chaos Monkeys," is making some people mad. The tell-all tale about his stab at the startup world, including a $10 million acquisition by Twitter and high drama inside the walls of Facebook, was conceived and written to be meaner than most books by techies. "The … Continue reading The secret to Silicon Valley’s success is mass delusion, says ‘Chaos Monkeys’ author
NIST declares the age of SMS-based 2-factor authentication over
2-factor authentication is a great thing to have, and more and more services are making it a standard feature. But one of the go-to methods for sending 2FA notifications, SMS, is being left in the dust by the National Institute of Standards and Technology. NIST creates national-level guidelines and rules for measurements, and among the … Continue reading NIST declares the age of SMS-based 2-factor authentication over
产品经理的末路,交互设计的穷途
2016年上半年我跟进了几个项目,“开始众筹”、“finger”、“分答”和“袋鼠云”,“袋鼠云”是企业级服务,前面三个是toC的服务,在为这些老板提供支持的时候,问他们需要什么人才,都说需要技术大牛和运营大神,没有一个提到产品经理或者交互设计师。我留意到微博上那些产品经理和交互设计师的声音也越来越小,那么,这个世界发生了什么事? 在2009年左右的时候,“产品经理”是一个非常火热的职位,人人都梦想着要做出一款伟大的产品,再往后来,“人人都是产品经理”,到现在“人人都不需要产品经理”了。我想一方面是在移动互联网刚刚兴起的时候,苹果定义的产品的标准是一个完整的应用、一个完善的闭环,在一个有限的空间内搭建一个全面的体系。这需要精雕细琢,需要匠心独运,这样激发了很多人创造的欲望。 但时过境迁,iPhone 问世已经9年,用户下载应用的热情已经荡然无存,手机上的电量90%都贡献给了BAT三家的应用,这三家实际上承担起了PC时代的“浏览器”的作用,在这种情况下,“做内容”比“做产品”更容易获取用户的青睐。“开始众筹”的流量80%来自微信,“分答”一开始连自己的客户端都不做,可以说“产品经理”和“交互设计师”基本上已经没有用武之地了。杭州有一位很好的产品经理,和开始众筹的CEO徐建军是朋友,徐多次邀请他入伙,可是他说“你们内容做这么强,产品上真没多少发挥的余地了,我过去也是浪费”。我的朋友冯大辉甚至做了一个更加彻底的实验,他做了一个“小道通讯”,用的产品是20年前的“邮件组”,然而效果出奇的好。 时至今日,AppStore上面已经有200万的应用,而一个用户平均在手机上只会装45款应用,每个月平均尝试的新应用达到1款之多,靠产品的优秀而被用户认可已经越来越难。我曾经在朋友圈里面痛心疾首的呼吁:“很多老板会有一个误区,我的业务上不去是因为产品没做好,产品没做好体现在APP的界面不够高端大气上档次,体现在不能三步点击找到主功能……这是中了乔布斯和张小龙的毒。你一个卖货的不去上街吆喝,怪货架长得不好看有个毛用?” 内容即产品。
Fixing the Back Button: A Simple SPA Behavior using Location Hash
Introduction Using a SPA framework, like AngularJS, is overkill for a simple one-page website. But, suppose that single web page has pseudo-navigation needs, like a dialog that opens in response to the user clicking a button. This represents a state transition, and clicking the back button in the browser (or on an Android or Windows Phone) … Continue reading Fixing the Back Button: A Simple SPA Behavior using Location Hash
We wanted flying cars instead we got 140 characters
Founders Fund, the VC firm whose highest-profile investment is Facebook, has published a manifesto of sorts, called "What Happened To The Future?" The content will be familiar to anyone who's been following Founders Fund co-founder Peter Thiel: it complains that the rate of technological innovation is slowing, and that we need more ambitious entrepreneurs solving … Continue reading We wanted flying cars instead we got 140 characters
2 Twitter Acquisitions That Paid Off and Will Be Key to Its Future
In 2015, Twitter (NYSE:TWTR) made a couple of key acquisitions that have had a major impact on the company and could play an even bigger role in the future. The first one -- Periscope -- most people have heard about. The live-streaming platform has quickly gained momentum since launching, and Twitter has taken steps to … Continue reading 2 Twitter Acquisitions That Paid Off and Will Be Key to Its Future