【前端Mvc】mvc behind-alphatown
Upcoming SlideShare
Loading in...5
×
 

【前端Mvc】mvc behind-alphatown

on

  • 6,193 views

 

Statistics

Views

Total Views
6,193
Views on SlideShare
2,025
Embed Views
4,168

Actions

Likes
8
Downloads
100
Comments
1

14 Embeds 4,168

http://www.d2forum.org 4137
http://www.itfeed.cn 10
http://cache.baidu.com 7
http://www.chengxuyuans.com 2
http://getpocket.com 2
http://reader.youdao.com 2
http://www.d2forum.org} {931818739|||pingback 1
http://www.d2forum.org} {931818778|||pingback 1
http://www.techgig.com 1
http://www.d2forum.org} {635097131|||pingback 1
http://www.d2forum.org} {1273366593|||pingback 1
http://www.d2forum.org} {1477548310|||pingback 1
http://10.150.200.57 1
http://www.d2forum.org} {1083064386|||pingback 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • frontEnd-MVC
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

【前端Mvc】mvc behind-alphatown 【前端Mvc】mvc behind-alphatown Presentation Transcript

  • Practice MVC as features, not frameworks MVC DexterYy @
  • http://site.douban.com/118836/
  • )• “ ” LBS• “ ” 3D• “AJAX ”• web app Flash•
  • XD
  • XD• MVC• MVC
  • “ ”• “ ” —— WASD• —— vs Graph• —— “ ”
  • “ ”• Bring real-life to software, rethought for the web Google+ slogan XX• 3D• GUI Metaphor
  • “AJAX ”• / viewport google maps• JSON• —— web• “ ” overlap widget
  • “ ” web app• Single Page App wiki• GUI —— layout• —— layout
  • “ ”• View CouchDB• “ ”•• “ ”
  • zhuangbility...
  • •• URL•••• webapp
  • MVC
  • MVC
  • MVC• MVC• MVC
  • MVC• MVC• MVC MVC
  • MVC• MVC• MVC MVC MVC
  • MVC• MVC• MVC MVC MVC
  • •••
  • MVC &
  • 1.• OzJS• CommonJS module••• JS
  • •• Model View• “MVC ”
  • • “ ” micro-framework• Thomas Fuchs: Zepto and the rise of the JavaScript Micro-Frameworks• Dustin Diaz: Ender.js - The open submodule library
  • 2. message passing• Alan Kay: "OOP to me means only messaging, ..."• PubSub / EventEmitter / CustomEvent / ...• Observer• MVC
  • • Observer• View Controller•
  • • Observer• reset
  • • Observer event / /“ ”“ ”==
  • 3. URL Router• web• Single-page WebApp URL SEO• URL DOM• URL• URL• UNIX Plan 9• “Plan 9 ”• URL WebApp “ ”
  • • url• router 30
  • 4. UI delegate • uiproxy • UI • DOM
  • • className• class• UI View View DOM• View UI• ——> ——> ——>
  • 5. Render• 1 2• 1 2 DOM• API DOM SVG Canvas
  • 5. Render• 1 2• 1 2 DOM• API DOM SVG Canvas• API
  • HTML4
  • • template• format python• convertTpl micro-templating John Resig/Underscore
  • • DomCanvas layout• DOM Canvas API• ie6• SVG raphael.js
  • 6. DataSource• Model•
  • module M V C XD MVC
  • Model• Model URL• Model View Controller Model• Model Model make Controller•
  • View• + UI View widget/ View• View Model Controller / Martin Fowler Passive View• View web MVC web GUI UI DOM View View DOM
  • View• View UI Controller • UI DOM • web UI / • Google+ circle• Cocoa UI View View DOM View
  • Controller• URL routing API widget• View Model• App MVC
  • MVC Server Model Pluggable Server Contorller Widgets http/ / Model Controller / View / App / URL UI/DOM HTML / /
  • MVCSmalltalk-80 Ruby On Rails ASP.NET Cocoa Model View Controller: History, theory and usage
  • We need SMART Models, THINControllers, and DUMB Views
  • MVC Its no big deal
  • MVC Its no big deal Thanks• http://www.douban.com/people/Dexter_Yy/• blog http://www.limboy.com• http://site.douban.com/118836/• MVC module https://github.com/dexteryy/OzJS/tree/master/ mod