2009-08-11

jQuery 操作 scrollbar

語法
$(window).scrollTop(100);
$(window).scrollLeft(100);

這樣可以去控制 scrollbar 的數值

若需要使用 animate 可以這樣使用

$('html, body').animate({
  scrollLeft : 1000},
  {quenu : false,
  step : function () {
  alert('正在移動中...');
},
  duration : 3000,
  complete : function () {
    alert('移動完畢!');
  }
);

animate 参數說明

http://docs.jquery.com/Effects/animate

2009-08-09

dojo



Dojo

1. Dojo Base

1.1 Data

1.2 Drag And Drop

1.3 FX

1.4 IO

1.5 Query

2. Dijit

2.1 Color Palette

2.2 Declaration

2.3 Dialog

2.4 Editor

2.5 From Controls

2.6 Inline Edit box

2.7 Layout

2.8 Mail

2.9 Menu

2.10 Progress Bar

2.11 Tree

3. DojoX

3.1 Carting

3.2 DTL

3.3 FX

3.4 Gfx

3.5 Gfx3D

3.6 Grid

3.7 Highlight

3.8 Image

3.9 Layout

3.10 Presentation

3.11 Wiggets


2009-08-06

MVC components work together to server a web page



MVC components work together to server a web page.


補充說明 :

1. Request from brower
2. Router
3. Dispatcher
4. Controller
5. View
6. Model
7. Response to browser

2009-08-05

ZF, CakePHP, Codelgniter, Solar and Symfony 比較


ZF, CakePHP, Codelgnite, Sp;ar and Symfony




ZF 基本元件圖

ZF 元件圖

Components in ZF


Components in ZF





Why use ZF ?

選用 ZF 的優點, 有哪些!?




1. It has full documention.

具備完善的文件說明

2. Development is simple.

豐富的開發範例

3. Development is rapid.

具有快速開發, 簡化複雜度的優勢

4. Everything is in the box.

將複雜的資訊整理與封裝

5. It has a modern design.

模組化設計, 可以輕易的找出你所需要的模組

6. It is easy to learn.

簡易上手

MVC flow in ZF




ZF : MVC Flow