Database Implementationfor  NOMO Auto GroupteamSOLUTIONSMartin Castner, Bryant Crone, Mike Holden, Brianna Malcolmson, & Josh Wentz1December 7, 2009
teamSOLUTIONS2teamSOLUTIONS
project managerJosh Wentz3teamSOLUTIONS
scope of workSCALABILITYNOMO Auto Groups is a growing successful organizationOur solution will allow for the four existing location to expand even fartherMAXIMUM EFFICIENCYThe current database system needs to be updated improved to guarantee peak efficiencyTECHNOLOGICAL EDGEMaintain a technological edge on competitors through use of a cloud computing type accessible & collaborative databaseProblems Recap & teamSOLUTIONS…teamSOLUTIONS
database lifecycleteamSOLUTIONS5
existingPROBLEMS6projectSOLUTIONSINITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
projectSOLUTIONSCENTRALIZEDdatabase housed in one locationeach of the dealer's inventorylisting of all automobiles currently owned by NOMO & dealership locationACCESSIBLEmany people can access the database at the same timeemployees from each location can access the same databaseREAL-TIMEdatabase is automatically updated throughout each location as soon as someone inputs informationup to date inventoryup to date sales informationSECUREkeep each individual’s commission privatenone of the salespeople know what other salespeople are making in terms of commissionSAFEGUARDS INPUT ERRORScheck in the system to maintain data integrity if employee enter a wrong amount for a car we receiveUSER-FRIENDLYstreamlined & integrated:  login, input, compiled7INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
personnel resourcesINITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION  8
database administratorBryant Crone9teamSOLUTIONS
existingPROBLEMSpreadsheets = Limited AccessFour Dealerships10INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
existingPROBLEM11UPDATESUPDATESINITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
existingPROBLEM12SPREADSHEETASPREADSHEETBCompare&UpdateSPREADSHEETASPREADSHEETBINITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
databaseSOLUTIONCentralizedMultiple User Access13INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION  DBMS selection14
database design15INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
16Entity-Relationship Diagram
SQL coding17CREATING THE DATABASECREATE TABLE Invoice( invoice_id NUMERIC PRIMARY KEY,customer_id NUMERIC NOT NULL,vin VARCHAR(20) NOT NULL,sale_date DATE NOT NULL,sale_price INTEGER NOT NULL,gross INTEGER NOT NULL,commission INTEGER NOT NULL,employee_id VARCHAR(255) NOT NULL,FOREIGN KEY (customer_id) REFERENCES Customers(customer_id),FOREIGN KEY (vin) REFERENCES Inventory(vin),FOREIGN KEY (employee_id) REFERENCES Employees(employee_id) );COMPILING THE DATABASEINSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (107689, 154012, '1HGFA553XJA126793', 06-05-2009, 8055, 3555, 1422, 'jb1390');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (206956, 154013, '3KRFA733NVX128535', 06-22-2009, 6000, 1600, 640, 'lg3370');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (107690, 154014, '5CMET196OWS475683', 07-13-2009, 18100, 5100, 2040, 'bt2336');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (303981, 154015, '7HGHA553ASR267431', 09-25-2009, 13330, 4130, 1652, 'mp4243');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (405643, 154016, '7IYRW553QOJ012504', 11-30-2009, 10390, 2990, 1196, 'tk1348');INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
web developerMartin Castner18teamSOLUTIONS
web interface19INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
PHP queries20INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
live demoONLINE WEB DATABASEhttp://php.scripts.psu.edu/mic5145/ist210/index.php21INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
security directorBrianna Malcolmson22teamSOLUTIONS
audience analysisINFORMATION NEEDSSales Commission Monthly Sales Reports Dealership Contacts InventoryASSOCIATED USERSCEOManager of salesGeneral managers and operations managers Sales people 23INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
organizational structure24INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
data analysisNomo employees and owners requireSimple and fast access to Relevant business information that can allow them  Greater efficiency and  Higher accuracy ensuring smarter business decisions25INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
security needsEach employee of NOMO Auto Group needs access to different parts of the database  Data needs to be protected from employees who do not need to access itData needs to be protected from outsiders trying to attack the system and alter data. 26INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
USER TYPECONTACT INFOCOMMISSIONSSALES REPORTSINDIVIDUAL/ PERSONAL SALESINVENTORYDBAYYYYYCEO/MANAGER OF SALESYYYYYGENERAL MANAGER/ OPERATIONS MANAGERYYYYYSALES PERSONYNNYYUSER DATA READ AND WRITE PERMISSIONS: Y/N?securitySOLUTION27INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
data access & securityLimitations to access the data and data SecurityUsers must have account and password created by the DBAWebsite is not accessible unless user ID and password are validatedRestricted Pages such as Commissions and Sales Reports are not accessible to users without permission.  This was achieved using PHP code to check the user trying to view the page then allow or deny access.28INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
business relations directorMike Holden29teamSOLUTIONS
business need & impactChange Management issuesChange management issues with moving to a new systemAnticipated employee reactions How the new database changes NOMO's current processes: Inventory control Tracking sales Salesperson contact information30INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
organizational planningWe will update the system with all previous information kept in spreadsheetsWeekly employee training sessionsMandatory for all employeesEach session is 1 hourEmployees must attend 4 sessions total before go live dateAnticipated "go live" date:January 11th 2010Ongoing tech support31INITIAL STUDY   DATABASE DESIGN   CODING   TESTING & EVALUATION
the X factorteam  SOLUTIONS32
theXfactor STRAIGHTFORWARD DESIGNUser-FriendlyVisually Appealing Interface ACCESSIBILITY & COLLABORATIONAccess the car inventory database from any web browserReal-time view of summary for board to view at any timeONGOING SUPPORTBusiness Relations Director is there for youLiason: Client to Company Software update checking dailyOn going tech support (24hr/day)33What makes us unique?teamSOLUTIONS
"MySQL vs. SQL Server." Custom Software Development.          Tometa Software. Web. 26 Oct. 2009. http://www.tometa           software.com/mysql_vs_sqlserver.asp.> "MySQL or SQL Server: Look beyond politics and hype when           deciding which to use." TechRepublic Articles. CBS          Interactive Inc., 18 Mar. 2003. Web. 26 Oct. 2009.            <http://articles.techrepublic.com.com/5100-10878_11-           1054385.html>.references34teamSOLUTIONS
QUESTIONS?teamSOLUTIONSMartin Castner, Bryant Crone, Mike Holden, Brianna Malcolmson, & Josh Wentz35

Nomo2 Final Product Presentation Final

  • 1.
    Database Implementationfor  NOMO AutoGroupteamSOLUTIONSMartin Castner, Bryant Crone, Mike Holden, Brianna Malcolmson, & Josh Wentz1December 7, 2009
  • 2.
  • 3.
  • 4.
    scope of workSCALABILITYNOMOAuto Groups is a growing successful organizationOur solution will allow for the four existing location to expand even fartherMAXIMUM EFFICIENCYThe current database system needs to be updated improved to guarantee peak efficiencyTECHNOLOGICAL EDGEMaintain a technological edge on competitors through use of a cloud computing type accessible & collaborative databaseProblems Recap & teamSOLUTIONS…teamSOLUTIONS
  • 5.
  • 6.
    existingPROBLEMS6projectSOLUTIONSINITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 7.
    projectSOLUTIONSCENTRALIZEDdatabase housed inone locationeach of the dealer's inventorylisting of all automobiles currently owned by NOMO & dealership locationACCESSIBLEmany people can access the database at the same timeemployees from each location can access the same databaseREAL-TIMEdatabase is automatically updated throughout each location as soon as someone inputs informationup to date inventoryup to date sales informationSECUREkeep each individual’s commission privatenone of the salespeople know what other salespeople are making in terms of commissionSAFEGUARDS INPUT ERRORScheck in the system to maintain data integrity if employee enter a wrong amount for a car we receiveUSER-FRIENDLYstreamlined & integrated: login, input, compiled7INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 8.
    personnel resourcesINITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION 8
  • 9.
  • 10.
    existingPROBLEMSpreadsheets = LimitedAccessFour Dealerships10INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 11.
    existingPROBLEM11UPDATESUPDATESINITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 12.
  • 13.
    databaseSOLUTIONCentralizedMultiple User Access13INITIALSTUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 14.
    INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION DBMS selection14
  • 15.
    database design15INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 16.
  • 17.
    SQL coding17CREATING THEDATABASECREATE TABLE Invoice( invoice_id NUMERIC PRIMARY KEY,customer_id NUMERIC NOT NULL,vin VARCHAR(20) NOT NULL,sale_date DATE NOT NULL,sale_price INTEGER NOT NULL,gross INTEGER NOT NULL,commission INTEGER NOT NULL,employee_id VARCHAR(255) NOT NULL,FOREIGN KEY (customer_id) REFERENCES Customers(customer_id),FOREIGN KEY (vin) REFERENCES Inventory(vin),FOREIGN KEY (employee_id) REFERENCES Employees(employee_id) );COMPILING THE DATABASEINSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (107689, 154012, '1HGFA553XJA126793', 06-05-2009, 8055, 3555, 1422, 'jb1390');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (206956, 154013, '3KRFA733NVX128535', 06-22-2009, 6000, 1600, 640, 'lg3370');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (107690, 154014, '5CMET196OWS475683', 07-13-2009, 18100, 5100, 2040, 'bt2336');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (303981, 154015, '7HGHA553ASR267431', 09-25-2009, 13330, 4130, 1652, 'mp4243');INSERT INTO Invoice (invoice_id, customer_id, vin, sale_date, sale_price, gross, commission, employee_id)VALUES (405643, 154016, '7IYRW553QOJ012504', 11-30-2009, 10390, 2990, 1196, 'tk1348');INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 18.
  • 19.
    web interface19INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 20.
    PHP queries20INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 21.
    live demoONLINE WEBDATABASEhttp://php.scripts.psu.edu/mic5145/ist210/index.php21INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 22.
  • 23.
    audience analysisINFORMATION NEEDSSalesCommission Monthly Sales Reports Dealership Contacts InventoryASSOCIATED USERSCEOManager of salesGeneral managers and operations managers Sales people 23INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 24.
    organizational structure24INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 25.
    data analysisNomo employeesand owners requireSimple and fast access to Relevant business information that can allow them  Greater efficiency and  Higher accuracy ensuring smarter business decisions25INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 26.
    security needsEach employeeof NOMO Auto Group needs access to different parts of the database  Data needs to be protected from employees who do not need to access itData needs to be protected from outsiders trying to attack the system and alter data. 26INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 27.
    USER TYPECONTACT INFOCOMMISSIONSSALESREPORTSINDIVIDUAL/ PERSONAL SALESINVENTORYDBAYYYYYCEO/MANAGER OF SALESYYYYYGENERAL MANAGER/ OPERATIONS MANAGERYYYYYSALES PERSONYNNYYUSER DATA READ AND WRITE PERMISSIONS: Y/N?securitySOLUTION27INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 28.
    data access &securityLimitations to access the data and data SecurityUsers must have account and password created by the DBAWebsite is not accessible unless user ID and password are validatedRestricted Pages such as Commissions and Sales Reports are not accessible to users without permission.  This was achieved using PHP code to check the user trying to view the page then allow or deny access.28INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 29.
    business relations directorMikeHolden29teamSOLUTIONS
  • 30.
    business need &impactChange Management issuesChange management issues with moving to a new systemAnticipated employee reactions How the new database changes NOMO's current processes: Inventory control Tracking sales Salesperson contact information30INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 31.
    organizational planningWe willupdate the system with all previous information kept in spreadsheetsWeekly employee training sessionsMandatory for all employeesEach session is 1 hourEmployees must attend 4 sessions total before go live dateAnticipated "go live" date:January 11th 2010Ongoing tech support31INITIAL STUDY DATABASE DESIGN CODING TESTING & EVALUATION
  • 32.
    the X factorteam SOLUTIONS32
  • 33.
    theXfactor STRAIGHTFORWARD DESIGNUser-FriendlyVisually AppealingInterface ACCESSIBILITY & COLLABORATIONAccess the car inventory database from any web browserReal-time view of summary for board to view at any timeONGOING SUPPORTBusiness Relations Director is there for youLiason: Client to Company Software update checking dailyOn going tech support (24hr/day)33What makes us unique?teamSOLUTIONS
  • 34.
    "MySQL vs. SQLServer." Custom Software Development.          Tometa Software. Web. 26 Oct. 2009. http://www.tometa           software.com/mysql_vs_sqlserver.asp.> "MySQL or SQL Server: Look beyond politics and hype when           deciding which to use." TechRepublic Articles. CBS          Interactive Inc., 18 Mar. 2003. Web. 26 Oct. 2009.            <http://articles.techrepublic.com.com/5100-10878_11-           1054385.html>.references34teamSOLUTIONS
  • 35.
    QUESTIONS?teamSOLUTIONSMartin Castner, BryantCrone, Mike Holden, Brianna Malcolmson, & Josh Wentz35

Editor's Notes

  • #6 Initial studyThrough interviews & NOMO Autogroups meetingsDatabase designDatabase accessed through the internetAccording to NOMO’s specificationsCodingMakes queries possibleMakes additional cars possible Testing & EvaluationWe’ve extensively tested our database accessed through the internet Today we will be demonstrating the solution that we’ve createdWe will continue to provide support through training
  • #7 WHAT WE KNOWinstructional designer, Stan Tocchet, to interview Byron Nelson, CEO of NOMO Auto GroupDE-CENTRALIZEDeach of the dealer’s inventory information is contained within their own location and is not centrally located for distributionusing an Excel spreadsheet at each dealershipINACCESSIBLE if one person has the spreadsheet open and is entering data, others can’t get access to itpeople will save personal copies of the spreadsheet for their own useSTATICgo and actually find the car to double checkspending too much time and money making phone calls and faxing inventory sheets between dealershipsNot all of the salespeople update the spreadsheets at each location in a timely mannerupdate the main spreadsheet at the end of each monthINSECUREevery employee should not be able to access certain informationSUSCEPTIBLE TO INPUT ERRORSforgetting to go back and enter data into it or entering incorrectly = inaccurate dataCOMPLICATEDdealership doesn’t really have anyone who specializes in the spreadsheets who can show us how to efficiently work with them
  • #9 Without personnel team, the complex task of completing the database design and development could not have been completedPersonnel ResourcesIdentify the resources used to implement the database including the following:·         The personnel used to complete the database design and development, the time spent on the project and job roles·         Anticipated personnel tasks not covered or completed in this SOWPersonnel, database implementation, time