InfoQ Software Architects' Newsletter A monthly overview of things you need to know as an architect or aspiring architect. View an example
Alon Zakai / Mozilla Compiling to JavaScript JavaScript is standards-based and the only language that runs in all web browsers You can run only JavaScript in browsers, but you can write in another language - if you compile it to JavaScript First set of demos BananaBread Qt Ruby Compiling to JavaScript: Nothing New! 2006: Google Web Toolkit (GWT), Java to JS 2007: pyjamas, Python into JS Adoption J
(ε・◇・)з o O ( (ミ・◇・ミ) o O ( あたし。ずっと思ってた… (ミ・◇・ミ) o O ( あたしの脳みそだと Deferred/Promises は、ちょっと難しすぎるって… (ミ・◇・ミ) o O ( jQuery.Deferred 解説記事をいくつかみたけど、すごく… モジモジしてて、ちょっと縦長すぎるんですもの… (ミ・◇・ミ) o O ( だから作っちゃった… ).done(); 非同期処理をシンプルに書ける、とても小さなライブラリをリリースしました。 Deferred/Promises は既存の構造や, そもそもの考え方を大きく改変する必要がありますが、 flow.js はあまり大きな違和感もなく、現在の流れを維持したまま導入できると思います。 使い方はこちらをごらんください http://www.slideshare.net/uupaa/flowjs リポジ
今日話さないこと JavaScriptの基礎知識、jQueryの導入 気持ちいいUIやUXがうんちゃら CanvasやWebGLを使ったリッチでイケてるゲームの作り方
Javascript tests No manual interaction or rendering Sync tests Simple Synchronous Test Run test localStorage Example From the spec: The getItem(key) method must return the current value associated with the given key. If the given key does not exist in the list associated with the object then this method must return null. localStorage getItem Test Run test Async tests Structure of async tests Simpl
As applications get more complex, the underlying systems will get harder and harder to maintain and manage. JavaScript's tools aren't keeping pace, and that's a problem. Ariya Hidayat spoke to the San Francisco HTML5 Usergroup about this highly performant, extensible JavaScript parser with features designed to improve code inspection, static and dynamic analysis, and source transformation. Working
オフラインWebアプリの再到来で今、再び注目されるAPIの本命 ーJavaScript SQL-like database
# 概要 画面遷移を行わず、1枚の html 上で対話的に操作するような web アプリケーションを目にする機会が増えてきました。 そんなアプリケーションを開発する際、jQuery 主体だったこれまでの開発スタイルだと画面表示と機能が切り離せなくなってしまい、変更に弱い作りになってしまうことになるでしょう。 この問題に対処するにはどうすればよいでしょう? そんなときは先人の知恵を参考に、その解決策を探してみるのはいかがでしょうか。 ユーザからのインタラクションを受け付けるアプリケーションを上手く構築していく際のやり方として、MVC パターンが広く知られています。 本セッションでは、ブラウザ上での JavaScript の MVC の原点を辿り、その実装のひとつである Backbone.js を例にとって、整理されたコードについて考えてみたいと思います。 SaCSS vol40 ( http
Learning To Love JavaScript Past, Present, and Future Alex Russell (slightlyoff@google.com) May 11, 2011 Feedback: http://goo.gl/GSdOE Twitter: #Chrome Agenda JavaScript: what's really in there? Where are we now? What to expect when you're expecting progress The little functional language that could JavaScript is everywhere your app wants to be Every PC since Windows 98 Every browser Firefox: Spid
ECMAScript tools composable modules and transpiler infrastructure Yusuke Suzuki (a.k.a Constellation) self introduction ECMAScript engine iv / lv5 (written in C++) owner Esprima committer Escodegen owner Esmangle owner background ECMAScript everywhere ECMAScript is now widely used client side server side databases And ECMAScript tools are also developed widely ECMAScript tools tools UglifyJS closu
げりんぐすたーてっど うぃず りくわぃあーじぇーぇす ということで、社内勉強会でRequireJSの入門資料をこさえたのでシェア。 利用したデモファイルセット http://d.aho.mu/S4mh なんとなくRequireJSが動くセットです。スライド中のr.jsによるビルドコマンドや、gruntを利用したビルドも試せるようになっています。 おさえるべき要点 いくつかの要点だけ記事内に文字列でおこしておきまする。 モジュラーと依存関係 Webサイト → Webアプリ への流れが明確になってきてフロントエンドが複雑化してきている今、1つのJSファイルにつらつらとCSSのようなノリで書き連ねる時代は終わりつつあります。 ParisJS #10 : RequireJS このあたりについては、上記の素晴らしいスライドから、Figureを拝借しました。個々のJavaScriptの粒度が揃えてモジ
Sinon.JSってなんぞ テストに使うライブラリ スタブやモック、フェイクオブジェクトを提供する QUnitとかと組み合わせて使う 現在時刻が指定の期間内かチェックする関数 function isWithinDate(start, end) { var now = Date.now(); var start = +new Date(start); var end = +new Date(end); return start < now && now < end; } // こんな感じで使う isWithinDate('2012/05/10', '2012/05/30'); //=> true
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く