Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe Dreamweaver

This chapter is from the book

What Is Involved in the Database Design Process?

After you are familiar with how a relational database works, you're ready to look specifically at the project at hand and determine what your database should look like and how it should behave. There are many ways to approach the development of a new database, but over the years, I have developed a six-step process that allows me to think through the database one step at a time. I have found that if I follow this process from beginning to end, I usually end up with a good database that functions as expected.

To see how well this process works, let's build a scenario and walk through the steps to see how they work. Suppose that you and I own a small consulting firm that specializes in developing database-driven Web applications for the business sector. Recently, we have been contacted by KrystalClear Technologies, a local startup company that is entering the telecommunications industry and offering residential and commercial telephone services. The company does not currently have a budget to hire an in-house database administrator and Web developer, so they have contacted our firm to explore the possibility of contracting for the development of a corporate intranet.

Although the decision makers at KrystalClear know that the functionality of the intranet must grow over time, they would like to start by having us develop four modules that would serve as the foundation for future developments. Those elements are the following:

  • A Human Resources employee management system. This system would allow the Human Resources staff to manage information about each employee hired by KrystalClear.

  • An Information Services asset management system. This element would allow the Information Technology staff to maintain information about the computer hardware, software, and peripherals owned by KrystalClear.

  • A departmental intranet management system. This system would allow a liaison in each department to update his individual departmental information page. This reduces the need to have staff from Information Services make updates to the intranet any time a department needs to make a change.

  • The front-end user interface for the intranet. This is the look and feel of the pages that the employees of KrystalClear will use on a daily basis. Although the management at KrystalClear has left this element up to your creative suggestions, they would like to be sure that the KrystalClear corporate logo is present on every page.

With that scenario in mind, let's proceed through the database design process and see what we can do.

Step 1—Think/Talk

The first step in designing a database is to consider the project you are working on and the features that your future users might want to have access to. I have found that during this step, it is extremely helpful to talk to both the management that is supervising the project and the end users who will work with the system on a daily basis to determine what they expect from the end-result and what issues they are trying to resolve.

Obviously, this is a hypothetical situation and we cannot sit down and talk with the managers and employees of KrystalClear. However, let's suppose we emailed a list of eight questions to an Intranet Coordinating Committee (a select group of employees and managers who have volunteered to work with us on the intranet project) and they have provided us with the following answers. In response to their answers, I have added some issues that we might need to consider (this is the thinking and talking part).

Q1: What reason or reasons do you have for developing this application?

A1: The purpose of developing our corporate intranet is to provide our employees with a single point of contact for information pertaining to our organization. Our intention is for any employee to be able to find directory information about other employees, learn about the internal activities of any department, and engage in activities such as requesting computer support, filling out employee benefit forms, or a variety of other activities that have previously been done via the telephone or in writing.

Thoughts about the answer: These all appear to be very good reasons for building an intranet. It appears that communication between users and departments is the highest priority.

Q2: Who are the anticipated users of the application?

A2: All employees located at our corporate offices should have access to the intranet via our local area network (LAN). Eventually, as we develop a wide area network (WAN), we would like employees at our outlying offices to be able to access the intranet as well.

Thoughts about the answer: Because the user of the intranet will currently be restricted to the LAN and not available to the outside world, external security is less of a concern than internal security. We should focus our efforts on ensuring that only the appropriate users have access to restricted areas of the system.

Q3: Are there any areas of the application that need to be secured? If so, how do you plan to designate which users are allowed to view those areas?

A3: Each departmental site will be secured in that editing it will only be allowed by the departmental manager and another departmental employee authorized by the manager. In addition, some departments, such as Human Resources, should have access to edit information that pertains to their jobs. This means that there will be sections of the Human Resources intranet site that only employees of HR will be able to access.

Thoughts about the answer: The Human Resources table that stores user details will need to have a field that specifies what department the user works for. From this, we can grant or deny access to restricted departmental information.

Q4: How many users do you anticipate accessing the system at the same time?

A4: At this time, all 125 employees should have access. We anticipate that 15 to 20 employees would be viewing information on the intranet at the same time.

Thoughts about the answer: Having 15 to 20 employees at a time viewing the data would probably result in at most 3 to 4 concurrent connections. This falls well within the restrictions on Microsoft Access, so we can use Access as our back-end database.

Q5: What is the projected growth for your company over the next five years with respect to employees?

A5: Over the next five years, we project having 400 to 500 employees; however, only 250 of those would be at the corporate office.

Thoughts about the answer: This projected growth would probably still be within the restrictions of an Access database, but we might want to recommend expansion to a SQL Server database should the company grow beyond these numbers.

Q6: If your company grows more quickly than anticipated, would be you open to upgrading the database?

A6: Yes. Unanticipated growth would most likely be caused by entrance into new markets, so we would be more than willing to fund software and hardware upgrades to meet our corporate needs.

Thoughts about the answer: An upsize to SQL Server would be relatively easy, however, the company should be notified of the hardware and licensing costs of SQL Server long before they reach the time to upsize.

Q7: You mentioned that you want each departmental manager and an additional liaison to be able to update their pages. What will be the procedure for indicating that an employee is allowed to make those changes?

A7: The departmental manager will email the Human Resources department the name of the employee selected to maintain their information. HR will then update the employee's record to indicate that she has permission.

Thoughts about the answer: The Human Resources table will need to have a field specifying whether the user is permitted to update the departmental site.

Q8: How will employees access the corporate intranet?

A8: Employees will access the intranet using their work computers. Our machines come configured with Microsoft Internet Explorer so users will use that browser to view the intranet.

Thoughts about the answer: Because all users will be on Internet Explorer, cross-browser compatibility is less of an issue than with a typical Web application. However, the company is anticipating a WAN in its future and it is not possible to project what browser remote offices might be using so we still need to code for all browsers.

As you can see, interacting with the Intranet Coordinating Committee has provided us with a wealth of information and has sparked questions of our own. After we feel our questions have been answered and we are satisfied with the amount of information that we have, it's time to move on to the next step.

Practice "Active Listening"

When talking with the people who will be using your new Web applications, it's a good idea to use a skill known as active listening where you not only listen to what they have to say, but respond to their statements with additional questions, comments, or observations. More often than not, your responses will generate more feedback on their part and provide you with additional information. Although this may sound like a no-brainer, you'd be surprised how often I have sat in on meetings where a technologist would sit quietly, listen, and take notes only to get back to his office and wonder about an issue that could have easily been asked and answered in the meeting.

Step 2—Anticipate

The second step that I use in designing a database is to put myself in the place of the end user and try to anticipate any functionality that she might need that has not already been expressed. This process is often based on the conversations from the previous step and usually draws from my experience developing similar applications for other organizations.

For instance, with regard to the departmental updates of their own pages, the committee stated that the manager of the department would send an email to a member of the human resources staff indicating which employees should have permission to update the departmental site. From this, we can anticipate that the database table that stores the employee information should have a field that indicates whether the employee has access to update the page.

By anticipating these types of features, we can build our database in a manner that will better suit the application and we can forecast potential issues and address them with the committee.

Step 3—Build

Now that you have an understanding of what the organization is seeking and have used your past experiences to anticipate additional functionality, it's time to start building the application. We'll take a detailed look at the steps of building our intranet application for KrystalClear a little later in the chapter.

Step 4—Analyze

After the database has been developed, it is a very good idea to do some testing to ensure that it behaves as performed. Even though the KrystalClear employees won't directly interact with our intranet database through the use of Access, we can use Access to test some of the functionality that we know will be part of the application.

For instance, we know that our intranet application will be using queries based on the Structured Query Language (SQL) to add, edit, and modify data located in the database. Using the SQL View of Microsoft Access, shown in Figure 3.1, we can test those queries before we ever write a line of code for our Web pages.

Figure 3.1Figure 3.1 The SQL View of Microsoft Access is just one tool that helps us test our application.

By running these tests, we can ensure that the data our database returns in response to the query is the information that we expected.

Step 5—Restructure

Unless you are really (and I mean really) good it's likely that the Analyze phase of the design process turned up some issues in your database that need to be resolved. Don't worry. No matter how long you build databases, you will probably always catch something that doesn't work correctly or needs some tweaking. During the Restructure phase, you can go back to make adjustments and resolve any issues that arise. After you make a change, however, it is important that you return to the Analyze phase and ensure that the changes you made did not cause problems with any other element of your database. After three or four iterations through the Analyze/Restructure phases, your database will be functioning properly and you'll be ready to move on to the last step.

Testing Your Changes

Be sure you test every change that is made during the Restructuring phase. Any modifications to the system require that you go back to Step 4 and restart until you are able to get through Step 5 with no changes.

Step 6—Deploy

Much like soldiers who are prepared for battle, at this point, your database should be ready to be deployed into action. This usually means the database structure and relationships have been thoroughly tested and everything functions as anticipated to begin the development of the Web pages that will interact with it.

Because we haven't begun developing our intranet database yet, let's take a few steps back to the Build phase and get cracking on our development.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020