Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I was asked to make a web application to allow users to query a particular datab

ID: 649312 • Letter: I

Question

I was asked to make a web application to allow users to query a particular database more easily. Simplifying, this database has only two tables, reports and products. The relationship between the two is that one report may refer to one or more products. The web application should allow users to specify in a graphic way (even in a simple form) a list of search criteria to retrieve a subset of reports. For example a user might ask for all reports in a certain period, with "(field1 = value1 and field2 = value2) or (field3 <> value3)", that refer to product A and product B. This is the description of the basic requirements; ideally the web application should also allow users to save and combine their queries (for example with "UNION, EXCEPT, INTERSECT"-like operators) and to dinamically order the results. Moreover, the products ca be grouped into hierarchical levels and a user might ask for all reports that refer to all products in a certain level.

At this moment the reports table has only 114.000 rows but it's growing fast: it has existed for 27 years but 18.000 rows were inserted last year!

So, my question is how to approach the development of this application. First of all, it is necessary to develop a NEW application or there is something I can use out-the-box (with some initial configuration, obviously)? If not, I believe I could write it myself with CodeIgniter and JQuery, but I would know if there are other PHP or JAVA frameworks or components useful to speed up my work.

Finally I'd love to hear your opionion about the critical points I should worry about.

Explanation / Answer

Finally I'd love to hear your opionion about the critical points I should worry about.

The critical point is search.

First, you need to search for "web database framework". Of the hundreds of results, figure out which one seems to handle your requirements. There are a lot. A real lot.

If that doesn't turn up anything, then search for "web-based reporting" and "web-based business intelligence". Of the hundreds of results, figure out which one seems to handle your requirements. There are a lot. A real lot.

This has already been solved hundreds of times. There are hundreds of open source and proprietary products that do this.

It's -- perhaps -- one of the most popular categories of software because it's so commonly used by so many people.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote