I'm looking at various technologies in an effort to build a very
flexible but also very simple application.
A requirement for the application is to take the database table name
(or in this case a view) as a parameter. The database will be Oracle
10.2. The application will simply list (and paginate) records in a
view that is composed from two tables. The tables contain information
about files on the file system of the application server. (filename,
path, title, subject, etc)
The requirement is important because it ensures that one web
application can handle many customers. Customers are all inter-
departmental within an organization and would not care if their data
is inadvertently exposed by a mistyped URL, all of the data will be
publicly available and not restricted.
As an example I'd like it to work something like this, the URL to a
retrieve a given listing would be:
The last bit of the path would be the database to use. From my very
limited knowledge of Rails this would not be practical in Rails. What
do you think?