完成基本功能数据库设计
12月20日(周六):
完成基本功能的数据库设计,并定下了下一个阶段的工作计划。详情见传仁的共享文档。
工作时间:19:00-22:00(共3个小时)
除注明转载的文章外,都是本人原创,转载时请加上原文链接并注明: 转载自品味生活
本文链接地址: 完成基本功能数据库设计
Popularity: 3%
12月20日(周六):
完成基本功能的数据库设计,并定下了下一个阶段的工作计划。详情见传仁的共享文档。
工作时间:19:00-22:00(共3个小时)
除注明转载的文章外,都是本人原创,转载时请加上原文链接并注明: 转载自品味生活
本文链接地址: 完成基本功能数据库设计
Popularity: 3%
今天上午做了一个下载代理,感觉比较有意思,贴出来与大家分享:
我们服务器httpd.conf的配置包括一下部分:
AddType application/vnd.symbian.install .SIS
AddType application/vnd.symbian.install .sis
AddType application/vnd.symbian.install .sisx
AddType application/java-archive .jar
<?php
include_once(“setup.php”);
$url = $_REQUEST['url'];
$path = preg_replace(“{http\://([^/]*)/}i”,”,$url);
$filePath = $root_dir.$path;
$fileName = basename($filePath);
$ext=end(explode(“.”,$filePath));
$contentLength = filesize($filePath);
$contentType = “”;
if(file_exists($filePath))
{
$content = file_get_contents($filePath); } else {
header(“HTTP/1.0 404 Not Found”);
echo ‘<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>&l;thtml<<head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL ‘.$url.’ was not found on this server.</p> <p>Additionally, a
404 Not Found error was encountered while trying to use an ErrorDocument to handle
the request.</p> </body></html> ‘;
die;
}
/*
AddType application/vnd.symbian.install .SIS AddType application/vnd.symbian.install .sis AddType application/vnd.symbian.install .sisx AddType application/java-archive .jar */ $contentType = mime_content_type($filePath); switch ($ext) {
case “SIS”:
$contentType = “application/vnd.symbian.install”;
break;
case “sis”:
$contentType = “application/vnd.symbian.install”;
break;
case “sisx”:
$contentType = “application/vnd.symbian.install”;
break;
case “jar”:
$contentType = “application/java-archive”;
break;
default:
$contentType = mime_content_type($filePath);
break;
}
header(“Content-Length: “.$contentLength);
header(“Content-Disposition: attachment; filename=”.$fileName);
header(“Content-Type: “.$contentType);
echo $content;
?>
今天晚上在紫光大厦完成了NPO软件的功能分析,经过将近三周的调研之后,我们终于把功能基本想全了。然后把基本功能模块中最基础的功能提出来:
(1)捐赠人管理
(2) 捐赠管理
(3) 基金会活动管理
(4)日志管理
并设计了以上部分的数据存储结构。并计划在剩下的时间里大家完善这些表的设计,然后思考一下NPO软件的层次结构,争取在周六的时候能够确定数据结构并且能够有一个概要设计出炉。
今天工作时间: 19:00-22:00(共三个小时)
除注明转载的文章外,都是本人原创,转载时请加上原文链接并注明: 转载自品味生活
本文链接地址: 完成NPO软件的功能分析和数据库简单设计
Popularity: 2%
最新评论