����ե��������˳ؤ�Ajax���ܼ��ʤ����ƥӥ��ͥ���β��͡�

by tanabe on June 13, 2005

�񤷤��⡢Ʊ��������Ʊ���ơ��ޤΥ���ȥ꤬�����äƤ�����

��Ĥϡ�Adam Bosworth's Weblog��"Ajax reconsidered".

�����Ƥ⤦��Ĥϡ�Life is beautiful����Ρ�Ajax���ܼ�������Ʊ����å������������֡����ץꥱ�������פΥ�������

�ʤ�

�¤ϡ������ƹ� Google �dz������Ƥ��� Adam Bosworth �� Gary Burd �Ȼ�ϡ��ޥ��������եȤ� Internet Explorer 4.0 ����˳�ȯ���Ƥ�����Ǥ����ޥ��������եȤ� XML �� DHTML �ε�ǽ�����Ƴ�������֥饦�����Ǥ��������������顢���Ȥϡּ����奦���֡����ץꥱ�������פ��äФ��ꤷ�Ƥ��ޤ�������Ʊ���̿����äȤ����գɤ�֥��å����ʤ����Ȥ���XML over HTTP ���äϤ��λ��˻Ϥޤä��äǤ��������̣�ǡ�Adam ���⡢����ǯ�᤯Ʊ�����Ȥ����³���Ƥ���櫓�Ǥ��͡�

�ʤΤ����顢���ζ����������Ǥ���ˤ򴶤��Ƥ��ޤ��ڤ�����

 

�ޤ���"Ajax reconsidered"�������ɤ�Ǥߤ褦��

�ɤ���äʤΤ��ϡ�del.icio.us�Υ������Ǥ��줤�ʾҲ�ʸ�����ä��Τǰ��ѡ�

Adam Bosworth describes why Ajax is a succes now, as opposed to DHTML in the 90's, and what is required for it to become truly successful.

Adam Bosworth������90ǯ���DHTML�������Ǥ��ʤ��ä��Τ����椷�ơˤɤ�����Ajax��ή�ԤäƤ��뤫����������Ajax���������������뤿��ˤϲ���ɬ�פȤʤ�Τ�������⤷�Ƥ���櫓�Ǥ���

�ޤ���1997ǯ��DHTML��XML over HTTP control ����������ʤ��ä��طʤ���⡣

They saw the web as a two edged sword. One the one hand it offered instant and universal access to all their customers which was an opportunity they couldn't afford to resist. On the other hand, they were terrified by the support costs of having millions or tens of millions of customers using their software. Accordingly, they wanted applications (aka web sites) that were as simple to figure out how to use as possible.

Web�ˤ���Ĥ��̤����ꡢ�ȤƤ������Ƕ��Ϥʥͥåȥ������äƤ���ȿ�̡����ѼԤο�������ǥ��ݡ��ȤΥ����Ȥ��Ȥ�Ǥ�ʤ����Ȥˤʤ�Ȥ��������⤢�롣�����顢web�ص�����ΤϤȤˤ����Ȥ�����ʬ����䤹�����ץꥱ�������ʤΤ����ʡɤ��ä��ɡˤȤ�����Ŧ��

Web�ϸܵҤإ����������뤿��ΰ���ʤǤ����ʤ������ޤˤ����Ȥ��ʤ�web���ץ��ǽ˭�٤ʥ��󥿡��ե��������Ȥ�Ω�Ƥơ�̵�̤˥��ݡ��ȥ����Ȥ򤫤���Τ��򤱤����Ȥ����Τ�97ǯ�����δ�Ȥιͤ����ä��褦����

�����Ƹ��ߡ�Ajax���礭�����ܤ򽸤�Ƥ��롣���ơ��ʤ����������Ȥ����Τ�����������á�

Adam�ϻ��Ĥ���ͳ������ȸ��äƤ��롣

First, the applications that are taking off today in Ajax aren't customer support applications per se. They are more personal applications like mail or maps or schedules which often are used daily. Also people are a lot more familiar with the web and so slowly extending the idiom for things like expand/collapse is a lot less threatening than it was then. Google Maps for example uses panning to move around the map and people seem to love it.

����ܤ���ͳ�ϡ����⤽��ܵҥ��ݡ��Ȥ�ɬ�פȤʤ�ʤ��褦������Ū�ǰ���Ū�ʥ��ץꥱ��������Ajax���Ȥ��Ƥ���Ȥ������ȡ��᡼����Ͽޡ��������塼��Ȥ��ä����ʤ���������Ǥ��륽�եȤȤ����󶡤���Ƥ��뤿�ᡢľ��Ū�˻Ȥ�����ʬ���ꡢ���ҤΥ��ݡ��ȥ����Ȥ������Ȥ����äˤϤʤ��񤤤Ȥ�����Ŧ���ޤ����桼�������Ȥ�����ԥ塼����UI�˴���Ƥ��Ƥ�������Ȥʤ�ˤ����Ȥ����Τ���ͳ�������ȽҤ٤Ƥ��롣

Secondly, the physics didn't work in 1997. A lot of Ajax applications have a lot of script (often 10 or 20,000 lines) and without broadband, the download of this can be extremely painful. With broadband and standard tricks for compressing the script, it is a breeze. Even if you could download this much script in 1997, it ran too slowly. Javascript wasn't fast enough to respond in real time to user actions let alone to fetch some related data over HTTP. But Moore's law has come to its rescue and what was sluggish in 1997 is often lightning quick today.

����ܤ���ͳ�Ȥ��ơ�1997ǯ�ˤϥͥåȥ���䥯�饤����ȤΥ���ե餬����­���ä��Τ�����ǯ��������Ƥ���Ȥ������ȡ�ưŪ�˸ƤӽФ���륳���ɤ�ޤ���ڡ������ɤ߹���Ǥ����������ɤ��٤�������⤻����ưŪ�˰����Υ���ƥ�Ĥ�ƤӽФ��Ƥ⤽�줬���ȥ쥹�Ȥʤ뤳�ȤϤʤ��ʤä������줬���äơ�����Ajax������β�Ŭ��UI�μ¸��˹׸��Ǥ���褦�ˤʤä��櫓����

Finally, in 1997 or even in 1999 there wasn't a practical way to write these applications to run on all browsers. Today, with work, this is doable. It would be nice if the same code ran identically on Firefox, IE, Opera, and Safari, and in fact, even when it does, it doesn't run optimally on all of them requiring some custom coding for each one. This isn't ideal, but it is manageable.

�Ǹ����ͳ�Ȥ��ơ��֥饦���֤θߴ������ݤä��ޤ�web���ץꥱ��������񤯤��Ȥ��Ǥ���褦�ˤʤä������󤲤��Ƥ��롣Ʊ�������ɤ�ư���Ф�����ɤ����⤷ư���ʤ��ä����Ǥ⤽�줾��˥������ॳ���ɤ�񤯤Ȥ����������򤹤뤳�ȤϤǤ���褦�ˤʤä����Ĥޤꡢ�֥饦���ˤ�餺���Ȥꤢ��������Ω��ʪ�ˤʤ�櫓�����ʥ֥饦�����̤˥����ɤ�񤯤Τ������������ǤϤʤ����⤷��ʤ����ɡ��桼���������꤬ɽ�̲����뤳�ȤˤϤʤ�ʤ���

�ʹߤϡ�Adam��©�ҡ�Alex Bosworth��Ajax�ؤΥ���Ф�����ȥ�����ϳ��Ƥ���Ajax�μ����ˤĤ��Ƥιͻ����Ҥ٤��Ƥ��롣

�����ϰ�Ĥ��������Ѥ��Ƥ�����

Third, if you want the application to run offline, you are essentially out of luck. I've written about this at length before in this blog and don't need to repeat what is required in detail. To summarize what I said earlier, a local cache, a smart template model, and a synchronization protocol are required to build applications that run equally well connected and disconnected and the way that the Blackberry works is a role model for all of us here.

Web���ץꥱ��������ɤ��äƸ����ΤϤ狼�ä����ɡ����ե饤����ä���ɤ�����Ρ��ä��äǤ��롣ï�Ǥⵤ�դ�����������ɡ�ï�Ǥⵤ�դ��Ƥ��ޤ����椨�˺������������Web¦�Ǿ����ɥ饤�֤��褦�Ȥ����Ȥ��˺Ǹ�ޤǤ��֤Ȥ��Ĥ�����Τ褦�ʵ������롣���ڤ��ؤ����ʤ��ͤ��֤����ˤ���äƤ�����⤢�뤱�ɡ�

 

�����ơ������Ǥ⤦���Life is beautiful����Ρ�Ajax���ܼ�������Ʊ����å������������֡����ץꥱ�������פΥ������פ������ɤ�Ǥߤ褦�����졢�Ƕ�ǰ��ִ�ư��������ȥ�Ǥ��������ǥ��ޡ��ȡ�

Google�ʤɤ��ʤ�Ƥ�����������Υ����֡����ץꥱ�������Υ������ƥ����㡼���ܼ��ϡ�XHTML��XML��Javascript�ˤ���ΤǤϤʤ��������ܼ��ϡ�

�ʣ��˥��ץꥱ������������Ū�ʥ��󥹥ȡ��뤬ɬ�פʤ���
�ʣ��˥����С��Ȥ��̿�����Ʊ���˼¹Ԥ��뤳�Ȥˤ�ꡢ�̿��ٱ�ˤ��գɤ�֥��å����ʤ���
�ʣ��˥����С��ȤΤ����ϡ��ңУäǤϤʤ�����å������ǹԤ���
�ʣ��˥ǡ������Х���ǥ��󥰤ϥ����С�¦�ǤϤʤ������饤�����¦�ǹԤ���
�ʣ��ˣգɤ˥���ƥꥸ���󥹤����ꡢ�������٤ϥ����С�����餺�˥桼�����Ȥ����򤹤롣

�Σ����ˤ��롣

���ܸ�ʤΤǡ��ɤ���ޤޡ��Ǥ����ƹ��ܤ���­��������Ѹ��ˤ���Τ�̤�ɤ����Ϥ��Ҥ����ɤ򡣻�Τ���ʥ���ȥ����Ϥ뤫�˲��ͤΤ���ǻ��ʸ�ϤǤ���

 

����ξ����ȥ���ɤ��Ƭ���椬���ä�����������줿�������ơ�Ajax�Ϥ�äѤ���ü���Ѥʤ����ʤ��Ȼפ�������Ū�ˤ����򤤤Τ����ɡ����켫�Τ��Ϥ���Ĥ褦�ʤ�Ρ��㤨��Open Source Paradigm Shift�ǻ�Ŧ�����褦�����ơˤǤϤʤ��Ȥ������ȡ��ʤ󤻽м������ߤ�Web���ץꥱ�������μ����Ȥʤ���ʬ�����ˤ��뤿��Ρɤ�����ɤǤ����ʤ��櫓�����ɤ�����ɤ��פ��Ĥ��줿���Ȥϰ�����������줬�¸��Ǥ���褦�ˤʤä����Ȥ����˽��פʤ��ȤǤ��뤱��ɡ����ٻפ��Ĥ��졢�¸���ˡ�����Τ��줿�餽��Ϥ⤦�����ϤˤϤʤ����ʤ���

�Ĥޤꡢ���򤤤����ܼ�Ū�˶���ͥ�������ݤĤ褦�ʶ��Ϥʤ�ΤǤϤʤ���äƤ��Ȥ��������绨�Ĥʸ������򤷤Ƥ��ޤ��ȡ��ӥ��ͥ���ϡ�UI���������͡�����ɤ���Τ��󶡤��褦�פȤ���������������碌�Ƥ����Ф�����Ŭ�ڤʻ��ˤ�Ajax�Ȥ������ɤ��ġ���ɤ�Ȥ����Ȥ�Ǥ��롣����äȤ��������װ���Ajax�Ϥޤä���ɬ�פʤ��ʤ뤫�⤷��ʤ����͡����餤��ǧ���Ǥ����Τ��⤷��ʤ����ʤȤϤ��������ߤδĶ����Ǥ�UI���ɤ����붯�Ϥʼ��ʤǤ��뤳�Ȥˤϲ��ΰ۵Ĥ�ʤ����ϤƤ�RSS�Ρ֤�ä��ɤ���ʤ󤫡�ư�������ǵ����������Ȼפ�������