タグ

2010年5月28日のブックマーク (2件)

  • animatedalbums

    Volcanic Landforms and Features: A Journey into Earth’s Molten MasterpiecesPicture this: a landscape straight out of a science fiction movie. Towering peaks, bubbling springs, and molten rock flowing like liquid fire. That’s the world of volcanic landforms. They’re like giant sculptures chiseled by the forces of Earth’s molten interior, revealing the power and beauty of nature’s forge. Unlocking t

    animatedalbums
    yosshi
    yosshi 2010/05/28
  • そこそこ規模が大きくても何とかなるjavascriptの設計(URL dispatcherの薦め) | tech.kayac.com - KAYAC engineers' blog

    弁当生活始めました。agoです。 以前のjavascriptの開発はサーバサイドと同じPGが開発することが多く、機能をファイル単位で分割してそのページで必要なファイルのみを読み込むと言うことが行われていました。 ただ、最近はサーバサイドとクライアントサイドの分業が進んだことや表示速度の兼ね合いもあり、単一ファイルに全体を記述しサーバサイドでは全ページでその一ファイルのみを読み込むような形になることが多いです。 単一ファイルの利点としてはサーバサイドの実装に依存せずに任意の機能を追加できることがありますが、欠点として機能毎の切り分けが難しくなると言う点があります。 jQueryを使用して$('.selector')で切り出す方法もありますが、マークアップの全体像を正確に把握できていないと不要なページで間違って実行されてしまう危険性もあります。 そこで、以下のようなJSを先に読み込み、各URL

    そこそこ規模が大きくても何とかなるjavascriptの設計(URL dispatcherの薦め) | tech.kayac.com - KAYAC engineers' blog