年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - wallimn
- vipbooks
- gashero
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- javashop
- tanling8334
- sam123456gz
- zysnba
- arpenker
- kaizi1992
- xpenxpen
- lemonhandsome
- xiangjie88
- ganxueyun
- xyuma
- wangchen.ily
- Xeden
- zhanjia
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- ajinn
- daizj
- wjianwei666
- ranbuijj
- 喧嚣求静
- silverend
- kingwell.leng
- lchb139128
- kristy_yy
- lich0079
- jveqi
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- lxguy
- zhangjijun
- lyndon.lin
最新文章列表
JS中 提取form内容生成json格式
function FindById(parent,id)
{
var objFromChild = null ;
for (var i = 0 ; i < parent.childNodes.length ; ++i)
{
if (parent.childNodes[i].id == id)
{
return parent.childNodes[i];
}
ob ...
A Simple XML State Machine Accepting SAX Events to Build xmerl Compitable XML Tree: icalendar demo
xmerl is a full XML functionality in Erlang, with a lot of features like XPATH, XSLT, event_function, acc_function etc. Well, now I just want to get icalendar to be parsed to form of xmerl tree, which ...
A Simple XML State Machine Accepting SAX Events to Build xmerl Compitable XML Tree: icalendar demo
xmerl is a full XML functionality in Erlang, with a lot of features like XPATH, XSLT, event_function, acc_function etc. Well, now I just want to get icalendar to be parsed to form of xmerl tree, which ...
prototype.js解读
/*
* 定义一个全局对象, 属性 Version 在发布的时候会替换为当前版本号
*/
var Prototype = {
Version: '1.5.0_rc0',
ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',
emptyFunction: function()
...
Dojo的高级运用:Widget的制作
在上一篇 使用Dojo和JSON构建Ajax应用 中,我初步介绍了一下Dojo和JSON,并提供了简单的例子。在这篇文章中,将涉及到Dojo的高级运用之一,利用Dojo的高可扩展性框架来制作widget。在某种意义上来说,widget的模块化开发可以大大的简化我们的工作。什么是Dojo WidgetWidget是一个比较抽象的概念,就我们实际遇到的UI页面来说,按钮、文本框以及滚动条等都是一个个Do ...
使用Dojo和JSON构建Ajax应用
简单意义上来说,Ajax可以用来在服务器端和WEB客户端之间交换数据,它是利用JavaScript来装载WEB页面的。更深一层来讲,它可以利用异步JavaScript脚本来避免页面请求刷新,让Request/Response过程更加明了。实现Ajax的方法有很多,最原始的办法是用JavaScript脚本来实现这个过程,此外,我们还可以用比较成熟的功能库,比如说Dojo.Dojo是什么Dojo是一个强 ...
GeoJSON and GeoJSON Plugin for GeoServer
Chris Holmes今天在GeoServer的blog上贴出了一则新闻,GeoServer的新插件Geojson发布了。所谓GeoJSON本是一个酝酿中的新标准,旨在为WFS请求提供JSON格式的输出。http://localhost:8181/geoserver/wfs?request=GetFeature&typename=topp:states&maxfeatures=1& ...
用 AjaxMessaging 在五分鐘內造一個 chat room
English version: Using AjaxMessaging to create a chatroom in 5 mins
把之前一篇的源碼重整理了一下,作了這個 plugin。由於有重大的線程問題 (下文詳述) 這 plugins 仍不能實用,但且記下來當作個筆記吧。
1. 準備
下載和安裝 Ruby on Rails
下載和安裝 Apache ActiveMQ
安裝 Mongr ...
Using AjaxMessaging to create a chatroom in 5 mins
中文版: 用 AjaxMessaging 在五分鐘內造一個 chat room
1. Preparation
Download and install Ruby on Rails
Download and install Apache ActiveMQ
Install Mongrel ( sudo gem install mongrel )
Install json (sudo gem inst ...
Struts2与ajax的组合
Struts2与ajax的组合
在当今——Web 2.0概念铺天盖地的Internet环境下,简易的AJAX集成对于一个成功的WEB框架来说是不可或缺的。因此,Struts 2其中的一个重要的功能(Feature)就是“First-class AJAX support - Add interactivity and flexibility with AJAX t ...
Rails源码研究之ActionView:六,scriptaculous_helper
scriptaculous_helper主要是对scriptaculous的controls和effects相关方法调用的封装
require File.dirname(__FILE__) + '/javascript_helper'
module ActionView
module Helpers
module ScriptaculousHelper
u ...