Page 06 خطأ استخدم علامة التبويب الصفحة الرئيسية لتطب 094737

Pg 06خطأ استخدم علامة التبويب الصفحة الرئيسية لتطبيق Heading 1

The project involves analyzing students’ understanding of scenario analysis and practical skills in building diagrams studied in IT242 (Software Engineering). The scenario describes a WebApp for “Choco Shop”, a chocolate store expanding its business. The system must handle up to 100 users simultaneously, incorporating animations, user registration, login, product viewing, searching, ordering, online payment, and feedback. The WebApp verifies login credentials, processes credit card payments, and manages various user roles such as customers, employees, administrators, and suppliers, each with specific permissions and activities. The shop offers multi-currency payment options. The project is divided into five parts, each requiring analysis and diagramming based on the scenario.

Paper For Above instruction

In addressing the scenario of “Choco Shop,” the development process begins with a clear identification of functional and non-functional requirements. These serve as the foundations for designing an effective web-based system that facilitates seamless user interaction and robust backend operations. Functional requirements specify the core functionalities, such as user registration, login, product browsing, order placement, payment processing, and administrative controls. Non-functional requirements encompass system performance, security, usability, and scalability that ensure the WebApp can handle up to 100 users concurrently with high reliability and security.

For example, functional requirements include allowing customers to register with unique credentials, enabling login authentication, facilitating product searches, order management, credit card payment processing, and feedback submission. Administrative functionalities comprise order management, inventory updates, and supplier management. Non-functional requirements include system responsiveness, security measures for sensitive data like passwords and credit card details, high availability, and user-friendly interface design enhanced by animations.

The primary actors identified from the scenario include Customer, Employee, Administrator, and Supplier. Customers interact with the system primarily to browse products, register, login, place orders, and provide feedback. Employees manage customer orders, modify inventory, and update customer details. Administrators oversee order statuses, inventory, and supplier information, while suppliers add new chocolate products and discounts.

The use case diagram synthesizes these actors and functionalities. It illustrates that Customers can register, login, search products, order, pay online, and submit feedback. Employees log in to manage orders and inventory, while Administrators authenticate to monitor orders and update database records. Suppliers log in to add items or discounts. The diagram highlights the interactions and system responses, such as verification processes and task-specific activities, ensuring clarity of the system’s scope and user roles.

Sample Use Case Diagram Description

  • Actors: Customer, Employee, Administrator, Supplier
  • Use Cases:
    • Register, Login, View Items, Search Items, Place Order, Make Payment, Write Feedback (Customer)
    • Login, Manage Orders, Update Customer Info, Update Inventory (Employee)
    • Login, Check Order Status, Update Inventory, Manage Suppliers (Administrator)
    • Login, Add New Chocolate Items, Add Discounts (Supplier)

Part Two: Swimlane Diagram of Supplier Adding Chocolate Items

The process initiates when a Supplier logs into the system. The system verifies credentials; if valid, the supplier proceeds, otherwise it terminates the process. The supplier then fills out a new-item form with item details and submits. The system validates the information; if correct, it alerts the Administrator. The Administrator updates inventory and confirms to the supplier. The supplier receives confirmation, concluding the process.

Diagram Explanation

The Swimlane diagram involves four actors: Supplier, System, Administrator, and System (for notification). The sequence starts with the supplier login, followed by credential verification. On success, the supplier fills a form, which the system validates. If validation passes, an alert is sent to the Administrator, who updates the inventory and confirms. The supplier then receives confirmation, completing the activity. Each participant's responsibilities are visually segregated, illustrating parallel and sequential flows, essential for understanding process dynamics and roles.

Part Three: Class Diagram for Choco Shop Database

The system's database comprises classes representing entities: Shop, Employee, Customer, Order, Item, Inventory, and Supplier. Attributes include registration details, contact info, and transactional data. Relationships indicate that a Shop has multiple Employees, Customers, and Items; Orders are placed by Customers and involve multiple Items; Employees process Orders; Suppliers add Items and discounts. The class diagram captures these relationships with multiplicities:

  • Shop (1) — (0..*) Employees
  • Shop (1) — (0..*) Customers
  • Customer (0..*) — (1) Order
  • Order (1) — (0..*) Items
  • Shop (1) — (0..*) Inventory
  • Supplier (1) — (0..*) Items

Classes and Attributes

  • Shop: registrationNumber, title, address, phoneNumber
  • Employee: employeeID, firstName, lastName, address, phoneNumber, salary
  • Customer: customerID, firstName, middleName, lastName, title, phoneNumber, address
  • Order: orderID, date, time, discount
  • Item: itemID, description, quantity, unitPrice
  • Inventory: itemID, stockQuantity
  • Supplier: supplierID, name, contactDetails

Part Four: Sequence Diagram for Online Payment

This sequence diagram depicts the interactions during online payment. The main objects include Customer, System, PaymentGateway, Administrator, and System Accounts. The flow begins with the Customer confirming the order and selecting payment. The system prompts for card details, which the Customer enters. The system verifies the card via the Payment Gateway. If successful, the system administrator verifies the transaction details. The system updates account balances and inventory, then sends a confirmation message to the customer, who exits the payment process.

Sequence of Events

  1. Customer confirms order, selects online payment.
  2. System prompts for card number.
  3. Customer enters card number.
  4. System verifies card with PaymentGateway.
  5. System Administrator verifies transaction details.
  6. System adds amount to inventory (optional, based on design).
  7. System updates account balances.
  8. Payment Gateway confirms successful transaction.
  9. System sends confirmation to Customer.
  10. Customer exits payment.

Part Five: Management Suggestion for Choco Shop

To enhance the scalability and security of “Choco Shop,” implementing a comprehensive Customer Relationship Management (CRM) system integrated with the WebApp is recommended. Such a system would facilitate personalized marketing, improve customer engagement, and streamline order history tracking. Additionally, incorporating advanced security measures like multi-factor authentication and encryption for payment data can reduce fraud risks and build customer trust. Implementing analytics tools for real-time sales and inventory monitoring will enable more informed decision-making, optimizing stock levels and promotional strategies. Regular staff training on cybersecurity and customer service best practices will further support successful deployment. This holistic approach can foster customer loyalty, operational efficiency, and sustained growth in the competitive online chocolate retail market.

References

  • Pressman, R. S. (2014). Software Engineering: A Practitioner's Approach. McGraw-Hill Education.
  • Bahill, A. T., & Baldwin, T. (2004). Developing Use Case Diagrams. IEEE Computer Society.
  • Jacobson, I., Christl, M., & Bittner, K. (2012). Use Case 2.0: The Guide to Building Better Software. Rational Press.
  • UML Specification (2017). Object Management Group. Retrieved from https://www.omg.org/spec/UML
  • Fowler, M. (2004). UML Distilled: A Brief Guide to the Standard Object Modeling Language. Addison-Wesley.
  • Rumbaugh, J., Jacobson, I., & Booch, G. (2004). The Unified Modeling Language Reference Manual. Addison-Wesley.
  • Schmidt, R., Lyytinen, K., & Keil, M. (2001). Distributed Cognition and the Design of Cooperative Work. IEEE Software.
  • OOPSLA Conference Proceedings (2010). Best Practices in Software Design and Documentation.
  • ISO/IEC 25010:2011. Systems and software engineering — Systems and software quality models.
  • Sommerville, I. (2015). Software Engineering (10th ed.). Pearson Education.