°×»° Ajax ¼°ÆäÈëÃÅ»ù´¡(1)
Ò»¡¢°×»°AjaxµÄÔÀí
Õâ¸öÆäʵҪ´ÓC/SºÍB/SµÄÔÀí˵Æð¡£Windows²Ù×÷ϵͳµÄµ®Éú£¬Îªµ¥»úͨÐÅÌṩÁ˺ܴóµÄÖ§³Ö£¬³ÌÐòÉè¼ÆÒ²´ÓDOSÔçÆڵĵ¥ÈÎÎñµ¥Óû§ÏòÍøÂçµÄ·Ö²¼Ê½Ó¦Óùý¶È¡£C/SÌṩµÄ¿Í»§/·þÎñÆ÷±à³ÌģʽΪÍøÂçÓ¦ÓÃÌṩÁËÒ»¸öÓÐЧµÄͨÐÅÊֶΡ£ä¯ÀÀÆ÷ÓëWeb·þÎñÆ÷Ö®¼äµÄÇëÇó/ ·þÎñ£¬¾ÍÊÇÒ»¸öµäÐ͵ÄC/SÓ¦Óá£
ÓÐÈË˵£¬ÔõôÊÇC/S£¿ÕâÓ¦¸ÃÊÇB/Sѽ£¡ÆäʵÊÇÕâÑùÀí½âµÄ£ºä¯ÀÀÆ÷/Web·þÎñÆ÷×÷ΪÎÒÃÇʵÏÖÍøÒ³·¢²¼µÄÒ»¸öƽ̨£¬¶ÔÓÚÎÒÃÇÔÚÕâ¸öƽ̨ÉÏ¿ª·¢µÄÓ¦Óã¬ÎÒÃǵÄÓ¦ÓÃÊÇÓÉä¯ÀÀÆ÷´ÓWeb·þÎñÆ÷ÉÏÏÂÔØÏÂÀ´È»ºóչʾÔÚä¯ÀÀÆ÷µÄ“ÈÝÆ÷”ÀïµÄ£¬ÎÒÃǵÄÓ¦ÓÃÊÇB/SģʽµÄ¡£µ«ÊÇä¯ÀÀÆ÷ÓëWeb·þÎñÆ÷µÄͨÐÅ£¬È´ÊÇC/SģʽµÄ¡£¿ÉÒÔ˵£¬B/SģʽÊǽ¨Á¢ÔÚC/Sģʽ֮Éϵġ£
WindowsÔçÆÚµÄ×ÀÃæÓ¦ÓóÌÐò(°üÀ¨µ¥»ú³ÌÐòºÍC/S½á¹¹µÄÍøÂçÓ¦ÓóÌÐò)£¬Æä½çÃæÊǵ÷ÓÃWindowsµÄAPIÀ´ÊµÏֵģ¬ºóÀ´£¬³öÏÖÁËVB¡¢Delph(VCL)¡¢VC++(MFC)µÈÓ¦ÓóÌÐò¿ò¼Ü£¬°Ñ·±ÔÓµÄAPI°ü×°ÆðÀ´£¬Ê¹Windows³ÌÐò¿ª·¢ÄѶȴó´ó½µµÍ¡¢Ð§ÂÊ´ó´óÌá¸ß¡£
½øÈëB/S±à³Ì½×¶Îºó£¬ÎÒÃÇÖ»ÐèÒªÃæÏòWeb·þÎñÆ÷ºÍä¯ÀÀÆ÷±à³Ì£¬²»ÐèÒª¿¼ÂÇÍøÂçͨÐźͲ¢·¢µÈ¸´ÔÓµÄÎÊÌâ¡£µ«ÊÇÔÚä¯ÀÀÆ÷ºÍWeb·þÎñÆ÷Ö®¼ä£¬ÎªÁ˽øÐÐÊý¾Ý½»»¥£¬ä¯ÀÀÆ÷¾³£Æµ·±µÄÏòWeb·þÎñÆ÷ÌύһЩÐÅÏ¢£¬ÏÖÔÚµÄÍøÂç»·¾³ÓÖ¼«²î£¬Ê¹ÎÒÃǾ³£µÈ´ýÓÚä¯ÀÀÆ÷ÓëWeb·þÎñÆ÷µÄͨÐÅ״̬£¬Óû§ÌåÑéºÜ²î¡£¶ø´«Í³µÄ×ÀÃæ³ÌÐòûÓÐÕâ¸öȱÏÝ¡£
ÔõÑù¼ÈÄÜÀûÓÃB/S³ÌÐò¼«Ç¿µÄ½çÃæ±íÏÖÁ¦£¬ÓÖÄܱÜÃâÆäÌá½»ºóµÄÄÇÒ»¶ÎÑ£ÔεēÕæ¿Õ”״̬ÄØ£¿
Æäʵ£¬ÔÚä¯ÀÀÆ÷µÄÉè¼Æ½×¶Î£¬Éè¼ÆʦÒѾΪÎÒÃÇ¿¼Âǵ½ÁËÕâ¸öÎÊÌâ¡£Õâ¾ÍÊÇÎÒÃÇҪ˵µ½µÄAjax£¡AjaxÓ¢ÎÄÊÇAsynchronous JavaScript and XML£¬¾ÍÊÇÔÚä¯ÀÀÆ÷Àïͨ¹ýÒ»¸ö»úÖÆ£¬ÊµÏÖä¯ÀÀÆ÷¶ËÓëWeb·þÎñÆ÷¶ËµÄÒ»¸öÒ첽ͨÐÅ£¬²ÎÓëÕâ¸ö¹ý³ÌµÄÓÐjavascript¡¢XMLµÈ¼¼Êõ¡£AjaxµÄÒýÈ룬ʹB/SÐÅÏ¢´«µÝµÄÁ¿¼õÉÙÁË£¬ä¯ÀÀÆ÷½çÃæ²»ÔÙÉÁ˸ÁË£¬ä¯ÀÀÕߵĸоõºÃ¶àÁË¡£
Ajax²¢²»ÊÇÒ»Ïîм¼Êõ£¬¶øÊǼ¸¸öÏÖÓм¼ÊõµÄÐÂ×éºÏ£¬¶øÇÒËüµÄ·¢Õ¹Ò²µÃÒæÓÚ¼¸¼Ò´óµÄ»¥ÁªÍøÆóÒµµÄÂÊÏÈÓ¦ÓÃ(´ó¼Ò³£ÄÃGoogleµÄÔÚÏßMapsÀ´¾ÙÀý)¡£Á¬ä¯ÀÀÆ÷¹Ñͷ΢Èíµ±³õ¶¼Ã»Ôõô¿´µÃÆðÕâÏî¼¼Êõ£¬ºóÀ´²ÅÔÚVS.NET2.0ʱ´úÍæÃüµÄ¸Ïѽ׷¡£
¶þ¡¢AjaxµÄʵÏÖ
AjaxÊÇÓÉä¯ÀÀÆ÷ͨ¹ýÄÚ²¿µÄÒ»¸ö×é¼þʵÏֵģ¬Õâ¸ö×é¼þ¸ºÔð
Ïà¹ØÎĵµ£º
jsÎļþ:
var where=" where pd_Isjifen=0 and pd_Isok=1"; //²éѯÌõ¼þ
var psize=16; //²éѯÊý¾ÝÊýÄ¿
var pindex=0;//µ±Ç°Ò³Êý
var order=" order by pd_Update desc,type_sort,pd_brand,pd_typeid"; //ÅÅÐòÌõ¼þ
var temp=0; //Ä£°åÃû³Æ
var Pcount=0;
//»ñÈ¡²ÎÊý
function getUrlPara(p ......
ÏîÄ¿ÖÐÏëÓÃajax£¬ÓÚÊÇÔÚÍøÉÏ°ÇÁËn¶à×ÊÁÏ£¬·¸ÁËn¶à´íÎ󣬴ӽñÌìÉϰൽÏÖÔÚÒ»Ö±ÔÚ´¦ÀíÕâ¸öÎÊÌ⣬ÖÕÓÚ»¹ÊÇ°ÑËü½â¾öÁË¡£
µ±ÎÒ¿´µ½Ò³ÃæµÄajaxÏÔʾºó£¬ÎÒÐË·ÜÒì³££¬ÎªÁ˼Ǽ×Ô¼ºÑ§Ï°µÄajaxÀú³Ì£¬Ò²ÎªÁËÈøü¶àµÄÈËÉÙ×ßÍä·£¬ÌØд´ËÒ»ÎÄÒÔ¼ÇÖ®£¡
·Ï»°²»ËµÁË£¬ÎªÁ˸üºÃµÄÀí½â£¬ÎÒÖØ×öÁËÒ»¸öСµÄÏîÄ¿£¬ÒÔ¼ÓÉîÓ¡Ïó¡£ÏÖÔÚ¾ÍÒÔÕâ¸öСÏî ......
xmlHttpÐÎʽµÄAjax£ºXmlHttpÐÎʽµÄAjax IBM¼¼ÊõÎĵµ¿â
ÒÔÏÂÊÇÀûÓÃÒþ²ØiframeʵÏÖµÄajax:
index.htm
<html>
<head>
</head>
<body>
<iframe id="testFrame" frameborder="0" style="width:0px; height:0px;">
</ifra ......
Ç°ÑÔ
×î½ü³¢ÊÔÔÚGoogle App Engine£¨GAE£©Æ½Ì¨ÉϹ¹½¨Ò»¸öblog£¬Ä¿Ç°½ø¶ÈÒѾÍê³É½«½ü50%£¬ÆäÖÐCssºÍDIV²¼¾ÖÕÛÌÚµÃÎÒ¹»Çº£¬¶ÔUIÒ»ÏòÊǸöÍâÐУ¬É«¸ÐÄÃÄóʵÔÚûÆ×£¬Ö»ºÃ·ÂÔìWordpressÁË--_--||£»
ΪºÎ²ÉÓÃAJAX£º
»Ø¸´ÊÇÔÚblogÎÄÕÂÔĶÁÖеÄÒ»¸ö³£¼ûµÄ¹¦ÄÜ£¬ÈçCSDNµÄ»Ø¸´µÈµÈ£¬µ«ÊÇÒòΪ»Ø¸´ÄÚÈݲ»¶à£¬ÉõÖÁ´ó¶àÊýʱ¼äÓ ......
Asynchronous JavaScript + XML£¨Ajax£©ÎÞÒÉÊÇ 2006 Äê×îÈÈÃŵļ¼ÊõÊõÓÇÒÓÐÍûÔÚ
2007 µÃµ½½øÒ»²½·¢Õ¹¡£µ«ÊǶÔÄúµÄÓ¦ÓóÌÐòÀ´ËµËü¾¿¾¹ÓÐʲôÒâÒåÄØ£¿Ajax Ó¦ÓóÌÐòÖÐÄÄÒ»ÖÖ³£¼û¼Ü¹¹Ä£Ê½Ó¦ÓÃ×î¹ã·ºÄØ£¿±¾ÎĽ«½éÉÜÎåÖÖ³£¼û
Ajax Éè¼Æģʽ£¬¿ÉÒÔʹÓÃËüÃÇ×÷Ϊ¹¤×÷µÄ»ù´¡¡£
µÄÈ·£¬Ajax
ÊÇ Web 2.0
ÈÈÃÅÊõÓËùÓÐÈ˶¼Ï£Íû ......