ink database management system
DESCRIPTION
Graduate presentationTRANSCRIPT
1
Ink Database Management System
Zhanbolat Raimbekov02/29/2012
Rochester Institute of TechnologyGolisano College of Computing and Information
Sciences
2
PAL at RIT provides various solutions for the printing and imaging industries.
It deals with:◦ Certification Programs◦ Print trials◦ Print and material analysis◦ Quality control◦ Training◦ Ink production for digital presses manufactured by HP.
Printing Applications Laboratory (PAL)
3
Introduction◦ Overview of ink production process
Current situation/Problems Why develop new system?/Benefits Project goals & objectives
◦ Technologies used◦ Demo
Conclusion
Agenda
4
Ink:◦ Press type (series 1, 2, 3)◦ Substrate/paper type (coated, uncoated, matte)◦ Thickness type (regular, increased, double hit)◦ Color type (pantone library, custom)
PAL:◦ Fullfilled more than 5000 orders◦ Formulated more than 1000 colors
Ink Production
5
Overview of ink productionprocess
Slide 11
6
Data is maintained across several Excel sheets.◦ Ineffective.◦ Inefficient.
Work with several applications and files.◦ Formula stored in Excel or OSM◦ Formulation history is kept on paper and stored in racks.◦ Customer data, mixing information, and reports are separate.
Tracking each step individually causes more difficulties during formulation. Redundancy Prone to errors Manual entry Takes time Any investigation or reporting is difficult. No customer interaction.
Single ink data management system.
Current situation/Problems
7
Automation No redundancy A lot more control (better control) Centralized management Clarity Reports Abbreviates processing time
◦ Orders◦ Mixing
Control of data -> influences the time. Customer interaction
Why develop new system?/Benefits
8
Simplest workflow for the Hewlett Packard Ink Mixing System (HP IMS).
Build Web-based data management system. Assist in providing information related to complaints and
requests. Develop a unified access to orders and colors. Manage customer inventories and requests. Get rid of extra paperwork. Process PDF orders. Record mixing data and report data points. Integrate packaging materials with the system (burning
CDs, printing labels, and shipping via Fedex). Lower the overall time of ink production.
Goals & objectives
9
PHP/MySQL OOP Site template -> CMS Web-services:
◦ REST◦ SOAP
Fedex Web-services v10, WSDL Reporting (TCPDF)
Technologies used
10
Groups:◦ Mixers: mix ink◦ Proofers: proof color◦ IMS Administrators: full access◦ Order Administrators: manage orders◦ PAL Administrators: view reports
User roles/groups
11
Order processing
Slide 5
12
Entity relationship model
13
Header, footer, sidebars Same files, reusable (ex:
template.color.php)
Site template
header
left rightfootercenterleft
14
OOPclass.color.php Collection of variables and methods related to a color and its formulation.
class.company.php Contains collection of variables and methods related to HP’s customer.
class.config.php Contains methods related to retrieving and updating the settings on site (configuration).
class.contact.php Contains collection of variables and methods related to a contact of a company. This information is used in orders.
class.customer.php Collection of variables and methods related to a contact. This information is used when is logging in on the Web-site.
class.customersession.php Inherited by class.customer.php. Contains collection of variables and methods related to a contact’s session on the Web-site.
class.fedex.php Collection of methods related to preparing and shipping via FedEx API.
class.format.php Contains collection of variables and methods related to formatting the data on the Web-site and also retrieving and putting data into the database.
class.guestsession.php Collection of variables and methods related to guest session on the Web-site (when no one is logged in).
class.misc.php Collection of helpful methods that are used often. For example, breadcrumb, pagination, etc.
class.mix.php Contains collection of variables and methods related to mixing an ink.
class.mypdf.php Inherited by tcpdf (open-source). Used to generate custom PDF reports.
class.order.php Collection of variables and methods related to an order.class.orderink.php Contains collection of variables and methods related to a color in an order.
class.proof.php Contains collection of variables and methods related to a proof of a color.
class.sys.php Collection of core methods used in the Web-application. For ex: notification by email, etc.
class.user.php Collection of variables and methods related to a site user.
class.usersession.php Inherited by class.user.php. Contains collection of variables and methods related to a site user’s session on the Web-site.
mysql.php Contains useful methods to work with MySQL database including loading, retrieving, and cleaning from SQL-injections, etc.
PDF2Text.php This class is used to convert PDF orders to ASCII text.tcpdf.php Generates PDF files.
15
Administrator functions
POST imsAdminFunctions/addContact
POST imsAdminFunctions/updateContact
POST imsAdminFunctions/deleteContact
POST imsAdminFunctions/addCustomer
POST imsAdminFunctions/updateCustomer
POST imsAdminFunctions/deleteCustomer
POST imsAdminFunctions/addUser
POST imsAdminFunctions/updateUser
POST imsAdminFunctions/deleteUser
POST imsAdminFunctions/addGroup
POST imsAdminFunctions/updateGroup
POST imsAdminFunctions/deleteGroup
POST imsAdminFunctions/addArticle
POST imsAdminFunctions/updateArticle
POST imsAdminFunctions/deleteArticle
POST imsAdminFunctions/resetUserPassword
POST imsAdminFunctions/calendarChangeDay
POST imsAdminFunctions/deleteOldOrders
POST imsAdminFunctions/newFormulation
POST imsAdminFunctions/defineAsDoubleHit
POST imsAdminFunctions/newColor
POST imsAdminFunctions/updateColor
POST imsAdminFunctions/deleteColor
POST imsAdminFunctions/deleteColorFile
POST imsAdminFunctions/addDnuColor
POST imsAdminFunctions/deleteDnuColor
POST imsAdminFunctions/addNote
POST imsAdminFunctions/deleteNote
List of RESTful functions (API) Order Administrator functions
POST orderFunctions/getNewOrdersPOST orderFunctions/newOrderPOST orderFunctions/updateOrderPOST orderFunctions/deleteOrderPOST orderFunctions/deleteOrderPOST orderFunctions/updateStatusPOST orderFunctions/addOrderInkPOST orderFunctions/updateOrderInkPOST orderFunctions/deleteOrderInkPOST orderFunctions/getOrderInkInfoPOST orderFunctions/getMixInfoPOST orderFunctions/getLeftCansInfoPOST orderFunctions/addMixPOST orderFunctions/editMixPOST orderFunctions/deleteMixPOST orderFunctions/moveToOrRemoveFromAdminQueuePOST orderFunctions/doSelectedOrders
Ink Proofer functionsPOST proofFunctions/addProofPOST proofFunctions/updateProofPOST proofFunctions/deleteProof
Mixer functionsPOST mixFunctions/initMixPOST mixFunctions/completeOrderInkPOST mixFunctions/cancelMixingPOST mixFunctions/startMixingPOST mixFunctions/pauseMixingPOST mixFunctions/unpauseMixingPOST mixFunctions/stopMixingPOST mixFunctions/getNotesPOST mixFunctions/saveNotes
Customer functionsPOST customerFunctions/addNote
Additional functionsGET ajax/autocomplete
Server
API (REST)
Client
16
REST Example colorNumber required
Specifies the pantone number of a color. Example values: “0123”
colorName optional
Specifies the custom name of a color. Example values: “Warm Gray 7”
colorType required
Specifies the type of a color. Example values: “PANTONE”
hpPartNumber required
Specifies the HP part number. Example values: “PC2-0123-01”
ritPartNumber required
Specifies the RIT part number. Example values: “P 0123 C R 5000”
substrate required
Specifies the substrate of a color. Example values: “COATED”
thickness required
Specifies the thickness of a color. Example values: “REGULAR”
series required
Specifies the series of a color. Example values: 2
readyMix optional
Specifies whether is ready mix or not. Example values: “Y”
metameric optional
Specifies whether metameric or not. Example values: “N”
notes optional
Specifies the note about a color. Example values: “some notes”
Example request:http://www....../newColor.php
Example response:
POST imsAdminFunctions/newColor
17
Session edf2572b15220c2b4a0872991d11fc5e:1330450625:1b761
534a1cf1b2149dcd489f5c9923c:9f93c5b352622da0abe809c3bdd1a20a:22cf34ccae84c54e300a7f304bb56885
Password (SHA-512) $6$rounds=5000$secretSaltHere$EpYv7z4acofw5a6hlRnCf
Zi4K5xLNKeJqYMwh/1QsyTsF6vLq085LrGV0IIhp4jzmnb2bXYuENF.dLpZ96eDJ0
Security userId+secret salt timestamp
timestamp+secret salt
ip addressuseragent
18
Develop from scratch. Flash problem.
Entering 6 year of real customer data.
Difficulties
19
http://www.
Demo
20
What I learned Expectations
Thank you
Conclusion