You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
[Video] http://www.youtube.com/watch?v=JjqKQ8ezwKQ&list=SPSIUOFhnxEiCODb8XQB-RUQ0RGNZ2yW7d&index=13 [Slide] http://goo.gl/E1v14 GoogleのMark Trostlerが、テストしやすいJavaScriptプログラムの書き方についてプレゼンしています。オライリーから日本語版の本もでてます。 データを隠したいとか、privateにしたいとか、protectedにしたいとか、モジュルパターンやクロージャ使おうとか、「何を隠して、何をみえるようにするか」という発想をしている時点で、テストしやすい効率的なプログラミングからは逸脱してしまう。「implementationでなくinterface」という意味が分かれば、implementationはリプレースできるし、コーデ
Posted at October 7, 2013 by Nicholas C. Zakas Tags: Architecture, JavaScript, Node.js, Web Server Front-end engineers have a rather long and complicated history in software engineering. For the longest time, that stuff you sent to the browser was “easy enough” that anyone could do it and there was no real need for specialization. Many claimed that so-called web developers were nothing more than g
諸事情により研究で使うシミュレータを変更せざるを得なくなってしまった森です.心が折れたので,気分転換に昨夏某所で少しだけ弄ったNode.jsを勉強がてら一年ぶりに触っています.一年も経つと様々な新しいモジュールも公開されており,やはりこの界隈は発展が目覚ましいなと感じています.なかでもテスト環境はかなり整えやすくなっているのではと個人的に思いました.そこで今回はJavaScriptでの簡単なテストやその自動化の方法について紹介したいと思います. テストツールの紹介 見て分かるように,主要なものだけでも色々な選択肢があります.ここで挙げられているJasmineやMocha, BusterJSなどがいわゆるxUnitとよばれるようなテスティングフレームワークになります.もちろん全て紹介するわけにはいかないので,今回は MochaやChaiなどを使ってテストを行いたいと思います. node.js
Acorn is a JavaScript parser written in JavaScript. See the Github page for the code and documentation. Test suite Speed comparison
Tern is a stand-alone code-analysis engine for JavaScript. It is intended to be used with a code editor plugin to enhance the editor's support for intelligent JavaScript editing. Features provided are: Autocompletion on variables and properties Function argument hints Querying the type of an expression Finding the definition of something Automatic refactoring Tern is open-source (MIT license), wri
TernはJavaScript解析エンジンで、特定のエディタに依存する事なくインテリジェンスなJavaScript開発をサポートしてくれるものです。node.jsで作られており、クラウドファウンディングを利用して開発された。。みたいです。
Bookmarkify.it allows you to create bookmarklets from your own javascript code. Launch your code from your bookmarks toolbar!
Shumway is an HTML5 technology experiment that explores building a faithful and efficient renderer for the SWF file format without native code assistance. Try it out! Install the latest Shumway extension. (Read more about configuring the extension). Examples (via Shumway Inspector): Racing (AS2) (as in live demo) and Racing (AS3) Tiger (AS3) Pacman (AS2) and Pacman (AS3) Box2D (AS3) MP3 Player (AS
In most JavaScript engines, there is a global object console with methods for logging and debugging. That object is not part of the language proper, but has become a de facto standard, since being pioneered by the Firebug debugger. Since their main purpose is debugging, the console methods will most frequently be used during development and rarely in deployed code. This blog post gives an overview
Rea10 たとえBackbone.jsのような優れたライブラリを使っていたとしても、Observerを実装しようと思ったらそれなりに面倒な記述をしなければなりません。怠惰な私にはそれが耐えられません。 なので、そういう事をする前提のAlt.jsを作ってしまえばいいんじゃないかと思いました。 というわけで、Rea10という言語を作りました。 https://github.com/jinjor/rea10 リアクティブプログラミング リアクティブプログラミングについては、以下の記事でとても分かりやすく説明されているので、ここで説明する必要はないでしょう。 なぜリアクティブプログラミングは重要か。 関数型の文脈で語られるときはFRP(Functional Reactive Programming)と言ったりするそうです。 pegjs JavaScript製の構文解析器です。 構文定義を書いて文
Participate: GitHub whatwg/encoding (new issue, open issues) Chat on Matrix Commits: GitHub whatwg/encoding/commits Snapshot as of this commit @encodings Tests: web-platform-tests encoding/ (ongoing work) Translations (non-normative): 日本語 简体中文 한국어 1. Preface The UTF-8 encoding is the most appropriate encoding for interchange of Unicode, the universal coded character set. Therefore, for new protoco
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く