今天晚上把jquery的ajax的购物车的例子传上来

这个局部都好了!今天晚上一定弄好例子上传

弄好了,简单的

用的是ajax+json

demo的下载地址:
http://www.uushare.com/user/cukunet/file/2918311
演示
http://www.aixq.com/demo4/index.html

js的代码写在index.html下,下载下来就有!

广告一下:
php+mysql代码生成器下载   
Tags: , , , ,
本文没有全部代码只是思路

在项目中,

产成的json是两个部分组成的代码

一个是分页中的资料集,

另一个是分页的信息,还有一些统计放到里面

[{"id":"2","id":"3"},{"page":"1","pirce":"20"}]

这样返回的数组的长度减一,就是分页的数据

json最后一个就是分页的信息!

这样做的速度很快!
Tags: , ,

JSON-RPC for python 不指定

Else , 2006/06/22 20:56 , 工蚁的忙碌工作 , Comments(0) , Reads(3064) , Via Original
A json-rpc package which implements JSON-RPC.

You can browse the code or check it out using subversion from the svn repository.

This implementation is currently in development.

It provides functionality for making JSON-RPC services available through CGI. In addition it provides a mod_python handler for providing services through mod_python which is more perfomant than CGI. There is also some JSON-RPC over sockets implementation.

http://json-rpc.org/
Tags:
Pages: 1/1 First page 1 Final page [ View by Articles | List ]