2

My friend runs a small herbal remedies business and doesn't have any software to help him do anything. I created him some spreadsheets that work in the short term, but ideally he needs a database with some forms.

He needs a basic system for inputting and tracking his orders/inventory, grouping that inventory together into herbal formulas (which are ratios of the herbs), a bit of math using the formulas, etc. It's not very complicated and all inputs could be done using basic forms.

I have drawn the basic database scheme and forms that are required, but I'm wondering what the best way to implement this is. I was thinking about using a framework like Django because it's so easy to create basic forms and has good object-relational mapping. But if I do it this way, I will have to install Django on his computer, and he'll run it through a web browser. I'd do this because HTML forms seem simple, compared to making something like a Swing GUI.

Does anybody have any suggestions? It just needs to be simple and done quickly.

Thanks.

4

14 回答 14

7

I'm kinda scared to suggest it, but if it's just a simple system, and they already have microsoft office, why not just use access? I'd shy away from it if you think it would grow beyond the capabilities of access, but if it's a pretty basic DB app, sounds like the easiest approach (especially if they already have the software)

于 2008-10-29T21:20:28.383 回答
2

早在过去,这就是人们一直使用 Hypercard 的目的。

诚实的事实是,任何小型数据库程序(如 Access、FileMaker 或 Bento)都应该足以满足您朋友的需求,并且可能比任何针对 Web 开发的程序(如 Django)更易于维护或带有 Active Record 的 Ruby-on-Rails。

如果他使用的是 Mac,我会快速看一下Bento(有一个免费演示),它不是超级复杂,但它便宜、简单、更好地与他习惯的集成,并且可能更容易他要长期维持。

于 2008-10-29T21:33:16.237 回答
2

考虑到 OP 对此答案的评论,为什么不是 FileMaker Pro?诚然,它会让你或你的朋友花费大约 300 美元,但它是一个桌面级数据库,(我上次检查过)并不完全糟糕,而且肯定会让你很快离开。

于 2008-10-29T21:36:21.300 回答
1

A web application will do nicely for this kind of job. Installing a framework such as Django shouldn't be at all difficult. In fact, it's a matter of copying the file. Setting up a web server is the main problem and there are already some pretty neat configurations for this (e.g. XAMPP for general purpose), some even don't need any installing and can be run from a USB drive.

Now, I don't really know Django but I know that Ruby on Rails ships with an own web server that can be launched via a simple script command. Installing here is really a matter of copying the files and launching one script.

于 2008-10-29T21:20:48.303 回答
1

对于小型企业用户来说,作为有天赋的技术朋友,最好的做法是支持和现实。企业主拥有固定数量的资源,相当于现金储备和时间。他们的业务是在他们的商店里运送货物,而不是浪费宝贵的时间来建设基础设施。

如果他有 Quickbooks,我会建议以象征性的成本(而不是那些花费大量资金)的库存管理插件。如果他没有 Quickbooks……我希望上帝他有其他一些 SOLID 会计软件。

此外,还有一些资源可用于使用 MSAccess 连接到这样的专有系统,您可能无需购买额外的软件就可以开发这些系统,但之前已经提到过。如果您走这条路,则必须在发布之前、期间和之后建立坚实的文档基础,以便您、业务所有者或未来的 PS 可以帮助业务迁移,如果业务飞速发展并且需要更多需要强大的库存控制系统。

于 2008-10-29T21:51:44.483 回答
1

这真的取决于你知道什么框架/平台,听起来你知道 Django。

此外,您可能希望考虑将其构建(如果您真的需要构建自定义的东西)作为 Web 应用程序,这样他就不必安装任何东西;只需从网络浏览器使用它。而且,有很多非常实惠的托管服务提供商可供选择。例如:GoDaddy.com 托管

请记住,购买一些满足他需要的现有软件包可能会更便宜。

于 2008-10-29T21:52:32.937 回答
0

Hmm .. why not just a desktop DB (Access or OpenOffice equivalent)?

If there's something wrong with that, then PythonCard was originally conceived of for doing this kind of application. (Python + PythonCard (which wraps wxWindows) + SQLite )

Or even just use the browser as UI as you intended (here's an example : http://www.mindview.net/WebLog/log-0045 )

于 2008-10-29T21:25:50.743 回答
0

Well, you will have to decide what suits you/him best. Django is nice, you may also want to check out codeigniter php framework, or even .NET that may run as a standalone application.

于 2008-10-29T21:29:25.150 回答
0

我没用过,不过DabbleDB的功能看起来不错。 http://www.dabbledb.com/

于 2008-10-29T21:32:58.093 回答
0

看来您需要一个简单的客户端服务器解决方案。

带有 MS Access DB 的 Visual Basic 将是一个不错的选择。

然而,随着系统开始呼吸,软件需求变得雄心勃勃的情况并不少见。[特别是当业务增长时]

我会推荐 3 层基于 Web 的解决方案。为了保持可扩展性,这是我的建议

HTML/JavaScript ]-----[ ApacheTomcat(JSP) / IIS(ASP) ]-----[ MS Access

于 2008-10-29T22:00:25.370 回答
0

带有 SQLite 数据库的 .NET Windows 窗体应用程序。使用 subsonic 或类似的东西来生成数据库访问代码(subsonic 支持 SQLite)。通常,.NET 为您提供了一些快速的开发和强大的功能。SQLite 是一个不需要安装的数据库引擎,并且有提供完整 ADO 支持的 .NET 项目。

我不会将 Access 用于任何事情。最终,假设您朋友的业务增长,应用程序的需求也会增长。维护了一些旧的 Access 97 应用程序后,我不推荐它。

对我来说,Access 只适合作为报告/查询工具——不适用于应用程序开发。

于 2008-10-29T22:02:55.207 回答
0

记住这一点 - 如果它已经很好,为什么还要建造一个更好的捕鼠器。并建造!?Saleesforce.com, SugarCRM, Compiere CRM (over kill IMO), Goldmine, 等等...

如果有现成的东西有效,而你又不想竞争,为什么不提供呢!?

于 2008-10-29T22:12:07.640 回答
0

为什么不直接买现成的东西?周围有很多便宜的订单、库存、库存控制类型的系统。

于 2008-10-29T22:51:48.480 回答
0

我建议你看看Viravis。它可以帮助您快速轻松地开发您想要的应用程序。

于 2010-08-20T18:12:09.587 回答