Amazon Simple Storage Service(Amazon S3) 之源码下载

Amazon S3 Viewer zGia! wuliuqiba AT gmail.com http://zgia.net/ 简介 采用Amazon S3上提供的perl类库:Amazon S3 Library for REST in Perl,这个 类库完成了PUT,GET,HEAD,DELETE等几乎所有的操作。 地址:http://developer.amazonwebservices.com/connect/entry.jspa?externalID=133&categoryID=47 我所做的仅是用perl写了个web程序,有一个简单的UI,基本无创新,仅供参考。 使用说明 1、linux下,将文件logger.log,文件夹acl设置为777; 2、编辑文件ZWFrameConfig.pm; 3、可能需要安装某些类,请查阅:S3_README; 4、使用md5.pl获得新的$cfg{‘password’}, 5、必需要修改的:$cfg{‘awsAccessKeyID’}、$cfg{‘awsSecretAccessKey’} 和$cfg{‘password’}; 6、可能要修改的:$cfg{‘webName’} 和 $cfg{‘uniqueCookie’},其他的随便。 ...

2007年12月31日 · 2 分钟 · zgia

Amazon Simple Storage Service(Amazon S3) 之三,实战

以下的操作基于REST,官方文档:http://docs.amazonwebservices.com/AmazonS3/2006-03-01/RESTAuthentication.html 我们的程序向http://bucket.s3.amazonaws.com/(或者http://s3.amazonaws.com/bucket/)发送带指定header的HTTP::Request,S3接到请求后,进行处理,将处理结果返回HTTP::Response,程序处理HTTP::Response。 下面以上传一个文件举例说明,程序使用perl实现。 1、假设已经有一个bucket,名字为:buckettest; 2、用HTTP::Request的PUT方法上传文件; 3、使用HTTP标准Authorization头发送验证信息;这个验证的格式为: ...

2007年12月25日 · 4 分钟 · zgia

REST vs. SOAP: The Battle of the Web Service Titans

Picking a winning Web service approach::http://webservices.sys-con.com/read/79282.htm By: Dion Hinchcliffe Apr. 26, 2005 11:00 AM At their most basic level, Web services work well and solve important problems because they are based on standards. However choosing among the available Web service approaches can still be surprisingly difficult. Whether it is correct or incorrect, the choice will have far reaching consequences for any project. A foray in the wrong direction often means having to abandon the initial investment, in terms of development, training, and infrastructure, to retool everything to go another way. Make a good decision though, and Web services become an enabling springboard to enterprise integration, information self-service, and all the attendant benefits of service-oriented architecture. In a highly competitive business environment, the risk of lost time and investment means that making the best decision up front is vital to success. ...

2007年12月11日 · 13 分钟 · zgia

相册开发

Version 2.1.01 2007-12-3 1、+ 大图片载入时,显示一个载入动画提示。 2、o 修正扩展幻灯片演示的bug 3、o 优化显示

2007年12月3日 · 1 分钟 · zgia

相册开发

Version 2.1.00 2007-11-29 1、- 取消数据库中不需要的字段 2、o 删除图片、删除评论、发布评论使用AJAX实现。 3、o Prototype升级为1.6版本。

2007年11月29日 · 1 分钟 · zgia

相册开发

Version 2.0.84 2007-10-10 1、+ 点击图片时,在当前页面打开图片,图片可以拖动; 2、o 调整某些文件夹的位置; 3、o 使用table代替div,解决firefox下查看图片时,图片不居中的问题; 4、o 优化log中,数组的输出 点击此页查看效果: http://www.livebaby.net/album/details.php?image_id=177

2007年10月10日 · 1 分钟 · zgia

相册开发

今天做了大量更改,记录如下。 1、- 取消不需要的功能; 2、o 优化上传处理; 3、o 拆分function.php某些功能到core_function.php; 4、+ 增加将某个图片设置为顶级相册的封面; 5、+ 增加页面输出显示处理; 6、o 将config.php从根目录移动到includes下面; 7、+ 可以选择多个相册的相片幻灯片演示。 8、+ 支持中文文件名,并默认使用中文文件名作为相片描述

2007年9月26日 · 1 分钟 · zgia

为IE浏览器用户增加一些幻灯切换特效

相册URL:http://www.livebaby.net/album/index.php 幻灯片播放时,为IE浏览器(>= IE6)用户增加一些幻灯切换特效。 演示:http://www.livebaby.net/album/slideshow.php?catid=20

2007年9月20日 · 1 分钟 · zgia