Backbone Patterns Building apps with Backbone.js Here, I try to document the good practices that our team has learned along the way building Backbone applications. This document assumes that you already have some knowledge of Backbone.js, jQuery, and of course, JavaScript itself. Table of contents Model patterns Bootstrapping data View patterns Inline templates JST templates Partials Animation buf
Motivation Regular expressions are used in every language, every programmer is familiar with them. Regex can be used to easily express complex strings. What better way to generate a random data than with a tool you can easily describe what string you want? Thanks to String-Random for giving me the idea to make this in the first place and randexp for the nifty little `.gen` syntax. Install For node
Rickshaw is a JavaScript toolkit for creating interactive time series graphs. Rickshaw on GitHub Graphing Toolkit Rickshaw provides the elements you need to create interactive graphs: renderers, legends, hovers, range selectors, etc. You put the pieces together. See Demo → Built on d3.js It's all based on d3 underneath, so graphs are drawn with standard SVG and styled with CSS. Customize all you l
Here it is at last! Knockout 2.0.0 contains a huge set of improvements since the 1.2.x line. If you’re using KO already, see below for some of the highlights. Published Dec 21, 2011 New to all this? Now’s a great time to check it out. Knockout is an MVVM library for JavaScript – it makes rich dynamic web UIs easier and cleaner to build. The best place to start learning is with the interactive tuto
Getting started Hogan.js is a 3.4k JS templating engine developed at Twitter. Use it as a part of your asset packager to compile templates ahead of time or include it in your browser to handle dynamic templates. If you're developing with Node.js, just use NPM to add the Hogan package. $ npm install hogan.js Alternatively, drop hogan.js in your browser by adding the following script. <script src="h
1.3.0 のベータかと思ったら 2.0.0 の RC がリリースされていましたが、ついに 2.0.0 の正式版がリリースされたようです。 NuGet でも 2.0.0 が配布されているので、急いで以下のコマンドを Package Manager Console に打ち込みましょう。 Install-Package knockoutjsまずは作者である Steven Sandarson さんのブログエントリを確認しておきましょう。 ちなみに 1.3.0 から 2.0.0 になった理由もしっかりと説明されていますね。 Why is it called 2.0.0? Why not 1.3.0? For a long time, we were planning this next version to be called 1.3.0. However, Quite a few communi
We’re happy to announce Dojo 1.7.1 is now available for download. Review the list of issues resolved in this release. Please report any new issues you find in your testing with your Dojo Foundation account. Links to CDN, and an updated reference guide, web site, and tutorials for 1.7 will be available soon. And special thanks to Colin Snover and Ken Franqueiro for managing this release! About Dyla
JSer.info #47 - IE10pp4が公開されて、Typed arrayなどがサポートされました。 また、Sinon.JS、Test-Driven JavaScript Developmentの著者による新たなテストフレームワークBuster.JSが公開されました。 まだbetaな感じですが結構期待しています。 『HTML5 for Applications: The Fourth IE10 Platform Preview - IEBlog - Site Home - MSDN Blogs』 http://blogs.msdn.com/b/ie/archive/2011/11/29/html5-for-applications-the-fourth-ie10-platform-preview.aspx Internet Explorer 10 Platform Preview
Leon Casino Ελλάδας Leon Casino Ελλάδας άνοιξε πέρυσι στην Αθήνα, όταν παρέες με φραπέ στο χέρι ζητούσαν λίγη τρέλα στα φρουτάκια. Η αρχική έκδοση είχε απλούς κουλοχέρηδες και ρουλέτα, αλλά γρήγορα φούντωσε σαν σούπα στο τζάκι. Παίκτες από Θεσσαλονίκη, Πάτρα και Ηράκλειο μπήκαν στην πρίζα, δοκίμασαν ζωντανούς ντίλερ και σηκώθηκαν τρελοί με τζακ ποτ. Στην τωρινή φάση, Leon Casino Ελλάδας προσφέρει
umekon とは なんだろう 単純な文字列置き換えでのオートリンクはXSSの原因となる。 そこで、テキストノードを走査して安全なオートリンクを行う umekon を使おう! autolink $("p") .umekon(/http:\/\/\S+/, function (url) { return $("<a />").attr("href", url).text(url); }) .umekon(/@(\w+)/, function (text, screen_name) { return $("<a />").attr("href", "http://twitter.com/" + screen_name).text(text); }); highlight $("body").umekon("KEYWORD", function (w) { return $("<mark />"
■Backbone.js ●"Backbone.js" 公式サイト:最近ロゴが変わりましたねえ。 メソッド一覧見れる。が、その辺はソースコードを見るのがよいです。 ●"社内でbackbone.js with Rails勉強会を開催しました blog.mah-lab.com" だいたいの雰囲気はつかめる感じ 今のプロジェクトでは hamljs 使ってるなあ ■Rails ●"meleyal/backbone-on-rails GitHub" Railsエンジニアなら、これの Scaffold やればだいたいわかるはず ■全体的 ●"Single Page Web Applications with CoffeeScript, Backbone and Jasmine" coffee いいよ coffee 全体的になんとなくの使い方がわかる感じ ●"『Backbone.jsの1番良いリファ
A little over a year ago, I got my first serious glimpse at SproutCore, the JavaScript framework Apple used to build MobileMe (now iCloud). At the time, I had worked extensively with jQuery and Rails on client-side projects, and I had never found the arguments for the "solutions for big apps" very compelling. At the time, most of the arguments (at least within the jQuery community) focused on brin
Moving to Dojo 1.7 and the path to 2.0AI-enhanced description The document discusses the updates and features in Dojo version 1.7, including support for AMD module format, improved mobile support, and a new loader system. It highlights the benefits of asynchronous module definition (AMD) for loading modules and managing dependencies efficiently. The document also provides examples of how to define
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. It allows you to bind key combos easily, and switch those bindings for different parts of your application using contexts. KeyboardJS can support any locale, however out of the box it just comes with the US locale (for now). Adding a new locale is easy. Map your keyboard to an object and pass it
the definitive JavaScript type testing library API is value ... ? a (value, type) arguments (value) array (value) array.empty (value) arraylike (value) boolean (value) date (value) decimal (value) defined (value) divisibleBy (value) element (value) empty (value) error (value) equal (value) even (value) false (value) function (value) hosted (value, host) ge (value) gt (value) instanceof (value, con
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く