非常非常简单、安全的静态站点数据库
我有一个静态网站,其中有一些页面用于一些自我广告。我想在网上建立一个小型数据库来存储一些客户详细信息,最好与我当前的页面具有相同的布局。我尝试查看一些 PHP 脚本来为 SQLite 数据库提供静态接口,但我对之后页面的安全性有点不确定。我还查看了 Django 应用程序,但我认为它会花费我太多时间来启动和运行。有人知道我可以相对快速地设置安全系统或 CMS 吗?开源会更好,但不是必需的。
非常感谢。
I have static website with a handful of pages for a bit of self-advertising. I'm wanting to put a small database online to store some clients details, preferably with the same layout as my current pages. I've tried looking at some PHP scripts to provide a static interface to a SQLite database but I'm a bit unsure as to the security of the pages afterwards. I also looked at a Django app but I think it would take me too much time to get it up and going. Is anyone aware of a secure system or CMS that I could set up relatively quickly? Open-source would be preferable but not essential.
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您实际上不需要能够动态更新站点(以便重新上传更改的文件就可以了),您可以使用 Python 脚本(甚至可能是 Sphinx 文档生成器?)。
If you don't actually need to be able to dynamically update the site (so that re-uploading changed files is alright), you could just bake dynamic content into static HTML pages with, say, a Python script (maybe even the Sphinx documentation generator?).
此处查看 SQL Express。它免费、功能强大、可以快速部署,并且拥有出色的管理工具和支持文档。
Check out SQL Express here. It's free, powerful, can be deployed quickly, and has great management tools and support documentation.
FileMaker 是一个不错的解决方案,可能就足够了。它为用户提供的服务多于为开发人员提供的服务——当然,这可能是优点,也可能是缺点。
就我个人而言,我认为 PHP 到 MySQL 的解决方案可以满足您的所有目标。不过,如果您尚不具备这方面的技能,FileMaker 或类似的解决方案可能更适合。
关于您需要匹配现有的外观和感觉,PHP/MySQL 解决方案(或 ASP/SQL、或 ColdFusion/SQL 等)本质上可以实现这一点,因为它使用您现有的 HTML 和 CSS。
有关 FileMaker 和数据库 Web 发布的更多信息,请访问以下 URL:
http://www.filemaker.com/products/filemaker-pro/web -publishing.html
FileMaker is a decent solution that would probably suffice. It's made more for users than it is for developers -- that can be a plus or a minus, of course.
Personally, I think a PHP to MySQL solution can meet all of your objectives. If you don't have the skills for it yet, though, FileMaker or a solution like that might be a better fit.
Regarding your need to match the existing look and feel, a PHP/MySQL solution (or ASP/SQL, or ColdFusion/SQL, etc.) inherently achieves that because it uses your existing HTML and CSS.
There is more info on FileMaker and web publishing of databases at the following URL:
http://www.filemaker.com/products/filemaker-pro/web-publishing.html
使用 ExpressionEngine 来做到这一点非常容易,但它不是免费的。您可以使用 Wordpress 创建一些 CRM 类型的功能,但您必须修改模板和默认设置才能删除所有博客内容。也许是 SimpleCMS 或 ModX?
It would be super easy to do this with ExpressionEngine but it is not free. You could create some CRM type functionality with Wordpress but you'd have to hack at the templates and defaults to remove all the blogish stuff. Perhaps SimpleCMS or ModX?