Just a general idea is really all that is needed, when it comes to OO developmen
ID: 3661999 • Letter: J
Question
Just a general idea is really all that is needed, when it comes to OO development I am lost. Thanks!
Overview: In this milestone, you will submit a recommendation for the object-oriented environment that should be used to develop and run the applications a bookstore.
Prompt: You will submit a recommendation for the object-oriented development environment that should be considered by the bookstore. For example, a .Net environment will require a Windows-based server environment; J2EE can use Windows or Linux.
Requirements of submission: The submission for this milestone should consist of a two- to three-page Word document with double spacing, 12-point Times New Roman font, one-inch margins, and discipline-appropriate citations.
Explanation / Answer
Introduction
BookStore is a digital book management system, will be written in C# and targeting the .NET Framework 2.0 on the Windows OS. Using a relational database management system for the storing and querying of books.
The application will allow the user to store all of its digital books (CHM, HTML, DOCX, PDF, EPUB, ODF, RTF, TXT, etc.) in a central single-file database repository, without the need to keep the books as individual files and folders on the disc, thus reducing disc fragmentation and easing content cohesion and portability (by copying the books database to a memory stick, for example).
The books to be imported can be either file-based books (such as a single PDF document) or folder-based books (such as a website offline copy). Books can be loaded one-at-a-time or many-at-once (bulk-load). Once imported, each book can be displayed or deleted.
Each book stored in the system will be characterized by 5 attributes:
· Title
· Set of authors
· Set of tags
· Publishing house
· Year of publishing
The user can then query a particular set of books, based upon a combination of the aforementioned attributes. The querying system contains two layers:
· An inter-category layer - The corresponding query types are AND queries (for which the query result must satisfy each selected category) and OR queries (for which the query result satisfies at least one of the designated categories)
· An intra-category layer - the related query types are AND queries (only in the case of multiple selection availability, meaning the set of authors and set of tags) and OR queries. The semantics for these query types are similar to the inter-category queries.
The application will support multi-user access on the same PC, as each user can have its own database, without any interference with the data of other users. Also, since the user will be able to select the application's working folders, the solution can be run by any user, irrespective of its privileges on the system.
The Underlying DBMS
Object-oriented databases have attracted considerable interest due to their promise to completely remove the disparity between the object-oriented data model and the entity-relationship model, called impedance mismatch.
These databases expose means through which objects can be queried and stored using the same model that it employed by the application’s programming language. Another way of putting it would be saying that an OODBMS extends the programming language with transparently persistent data, concurrency control, data recovery, associative queries and other capabilities. Object-oriented databases have bindings to most modern programming languages and platforms, including C++, Java, .NET, Perl, Python, Objective-C and Visual Basic.
Impedance Mismatch
The impedance mismatch is a collection of technical and conceptual difficulties, often encountered when a relational (SQL) database management system is being used in an object-oriented application.
It relates to aspects of information hiding, inheritance and polymorphism, syntax and semantics, as well as security features.
As the relational databases world does not have an approximate correspondent to the inheritance relation of the object-oriented world, modeling this concept into a SQL-compliant database is a painful, full of compromises experience, as shown next.
The application developed will be a well-chosen example of using the strengths of OODBMS’ in real-world scenarios. It will manage the storage, visualization and tag-based querying of the digital books of the user by allowing the viewing of the content of books already stored, deleting existing books, searching for books based upon a criterion or combination of criteria and adding new books to the application's database. It will benefit from object-oriented persistence features in terms of natural and straightforward development, as well as performance opportunities.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.