What's the best approach to building a lightweight database app?
December 20, 2006 3:13 PM
Subscribe
I have been asked to write a database application that will be running in a storefront situation and will allow the user to enter data on what is sold (in this case, bicycles and bicycle accessories and parts) and generate basic bookkeeping reports (i.e. end-of-day sales, quarterly sales, that sort of thing.)
The application will have to run on an old (~P2 266 mhz) Windows 98 box. I've considered a few different approaches, such as a PHP/SQLite/Apache deal (with which I have no experience, but I feel I can pick up) or a Java app with a Swing GUI wrapped in an .exe, probably using Hibernate to handle the backend. I do have Java experience, so that would be a plus for the second approach; however, because of the machine's slowness, I'm not so sure Java is a good idea. I do my development in OS X, so anything requiring proprietary Windows tools may be problematic. Also, no remote access or any kind of network considerations are required, so the web interface may not be necessary (but could be desirable to avoid GUI development hassles.)
As this is a relatively simple project, I'd like something lightweight without a lot of installation hassle. Any web developers out there have any thoughts? Thanks.
posted by evisceratordeath to computers & internet (8 comments total)
The micro-webserver implementation could be done very simply either in PHP or any other web framework (Rails is great for rapid development, Django is good too, camping if you want a brainfsck in the process). I'd recommend skipping firefox as the browser-end and looking at something like Gaelon or whatever they're calling it today, much lighter weight.
I'm sort of assuming that you're doing this on either a pro-bono basis or as a favor, because otherwise the labor costs would dwarf what even the cheapeste Dell would cost. If this isn't the case, it's probably cheaper and certainly easier to just go with a Dell and QuickBooks or similar.
posted by Skorgu at 3:19 PM on December 20, 2006