サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
peter.michaux.ca
Smalltalk MVC Translated to JavaScript Published January 3, 2015 in JavaScript, MVC The original Smalltalk MVC is an elegant way to structure an application. Unfortunately, the JavaScript community takes more inspiration from Dr. Frankenstein than from Smalltalk. The community appears to have done its best to saw off many good parts from MVC and bolt on unnecessary ugly bits to create framework mo
The MVC framework for javascript applications The real MVC. The Smalltalk MVC. The Gang of Four MVC. Model - View - Controller A model contains domain data. When a model changes, it informs its observers. A view observes a model and represents its model's current state. A view has a controller. A view can have child views. A controller decides what happens when a user interacts with the controller
JavaScript is Dead. Long Live JavaScript! Published June 25, 2011 in JavaScript, editorial For 16 years, JavaScript has been the language of the web browser. This language has enabled the building of compelling web applications and contributed to the success of the web. Other scripting languages could have filled the role JavaScript does but JavaScript was in the right place at the right time. Mic
MVC Architecture for JavaScript Applications Published February 24, 2011 in JavaScript, MVC, design patterns There isn’t enough discussion to read about using the model-view-controller architecture for client-side JavaScript web application development and it’s a shame. History When I first ventured into client-side web development, “graceful degradation” or “progressive enhancements” were all the
This page features articles that may be of more long-term interest. A complete list of all articles is in the archives. Recent iOS AppDelegate and Programmatic Views with Swift JavaScript Language JavaScript is Dead. Long Live JavaScript! Early Mixins, Late Mixins Mixins and Constructor Functions SICP Classes for JavaScript Class-Based Inheritance in JavaScript Anonymous events - extremely loose c
Scheme from Scratch - Introduction Published January 1, 2010 in Scheme The design and implementation of programming languages fascinates me. A programming language enables a text file to both accurately communicate to another person a problem’s solution and control a computer’s execution. The influence a language’s feature set has on the way a programmer thinks about problems and their solutions i
Feature Detection: State of the Art Browser Scripting Published February 16, 2008 in Feature Detection, JavaScript The goal of feature detection in browser scripting with JavaScript is straight forward. Before our code uses an object or object reference we want to know that our use of it will execute without error and behavior as we are expecting. If we don't know these things before we use the ob
Lazy Function Definition Pattern Published August 11, 2007 in JavaScript This article examines a functional-programming design pattern I've been calling Lazy Function Definition. I've repeatedly found this pattern useful in JavaScript especially when writing cross-browser libraries that are efficient at runtime. Warm-Up Problem Write a function foo that returns a Date object that holds the time th
Compiling Down to JavaScript 1.5 Published August 5, 2007 in JavaScript, Compilation New period of JavaScript instability. Firefox 2 implements JavaScript 1.7. Firefox 3 with JavaScript 1.8 is soon. JavaScript 2.0 in Firefox by end of 2008? Internet Explorer 7 has JavaScript 1.5. No hint that Internet Explorer 8 will be moving forward. Microsoft has interest in slowing down JavaScript progression.
Server-Side JavaScript with Rhino, Jetty and MySQL written by peter on July 11th, 2007 @ 11:10 PM Today I continued developing a chicken scratch version of a server-side web framework in JavaScript. Yesterday I joined the Jetty Server to the Rhino JavaScript engine to create a simple HTTP response. That was the front end. Today the back end and the last of the three main pieces joins in the fun: t
The window.onload Problem (Still) Published January 30, 2007 in JavaScript, Unobtrusive, window.onload The goal of unobtrusive JavaScript programming it to separate the JavaScript behavior from from the HTML content and is analogous to the goal of unobtrusive CSS design to separate the CSS presentation from the HTML content. Separation of presentation and content has been possible for years but th
このページを最初にブックマークしてみませんか?
『peter.michaux.ca - Contents』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く