|
|
 |
|
 |
AJaX for weblogs |
热 ★★★ |
|
|
|
| AJaX for weblogs |
|
|
| 作者:佚名 文章来源:本站整理 更新时间:2008-7-18 17:08:24 |
|
|
|
转:Ajax for weblogs The Asynchronous JavaScript + XML (AJaX) solution is one that can bring happiness and bliss to web designers and web developers alike. However, as with many whiz-bang solutions caution is advised. Google uses it to great effect but personally I think they take it a bit too far. If a page change so much that its context changes then it have switched to a new URI. People often bookmark specific content that’s within a specific context. As soon as this is no longer true it maybe a clue that you’ve gone to far.
The first thing I notice that the solutions is aimed at the heavier web applications. Not surprising. Web applications suffer from constraints that web clients impose on them. This solution gives them a way to check for dynamic content without reloading the current page.
So what does it do?
Well it’s very simple. It uses Javascript to get data from a remote source and then loads that into a specified target. Whatever content you like to wherever you like on the page. Jesse James Garrett of Adaptive Path has written an essay that covers the basics and provides more information on AJaX.
But lets get this sucker running, that’s the fun bit. And it’s pretty easy.
Step 1
Check if your web client can actually handle the http requests. We’ll need to use a Javascipt to do this. var ajax=false;/*@cc_on @*//*@if (@_jscript_version >= 5) try { a[1] [2] [3] 下一页
|
|
|
|
| 文章录入:admin 责任编辑:admin |
|
|
上一篇文章: java编辑多语言的福音--推荐一个经典的多语言文件编辑的插件ResourceBundle Editor 下一篇文章: IntelliJ IDEA培训 |
|
|
|
|
|
|
|
|
|
|
|
|