How joaorbfernandes/ciclopinhal works
This Django application provides product catalog browsing and administration, plus configurable homepage product slots. The main customer path is browsing a filtered, sorted, paginated product listing; catalog administration manages products and categories, including confirmation when deactivating a product assigned to a homepage slot. Homepage administration selects eligible products and manages slot assignments, which the homepage presents. The graph reflects the supplied source excerpts and SOURCE INDEX; web wiring and several services are not sampled, so those connections are omitted or marked unverified.
Main entry points: confirmable_product_deactivation_service.py Confirmed deactivation · create_homepage_slot_service.py Slot management services · django_homepage_product_slot_repository.py Slot repository · update_category_service.py Category update
Components 25
Catalog domain and services
- Product listing service
apps/catalog/application/services/product/get_product_listing_page_service.py - Listing query
apps/catalog/application/queries/product_listing_query.py - Product and category
apps/catalog/domain/entities/product.py - Category update
apps/catalog/application/services/category/update_category_service.py - Category deactivation validation
apps/catalog/application/services/category/validate_category_deactivation.py - Product update
apps/catalog/application/services/product/update_product_service.py - Confirmed deactivation
apps/catalog/application/services/product/confirmable_product_deactivation_service.py
Catalog interfaces and persistence
- Catalog web interface
apps/catalog/interfaces/web - Listing read repository
apps/catalog/infrastructure/repositories/product/django_product_listing_read_repository.py - Catalog models
apps/catalog/infrastructure/models.py - Category repository
apps/catalog/infrastructure/repositories/category/django_category_repository.py - Product repository
apps/catalog/infrastructure/repositories/product/django_product_repository.py - Pending update store
apps/catalog/interfaces/admin/session_pending_product_update_store.py - Catalog administration
apps/catalog/interfaces/admin
Homepage slots
- Homepage administration
apps/homepage/interfaces/admin - Slot management services
apps/homepage/application/services/create_homepage_slot_service.py - Homepage slot entity
apps/homepage/domain/entities/homepage_product_slot.py - Slot repository
apps/homepage/infrastructure/repositories/django_homepage_product_slot_repository.py - Homepage slot models
apps/homepage/infrastructure/models.py - Eligible product search
apps/homepage/application/services/search_eligible_homepage_products_service.py - Eligible product reader
apps/homepage/infrastructure/repositories/django_eligible_homepage_product_read_repository.py - Homepage web interface
apps/homepage/interfaces/web
Shared application services
- Transaction manager
apps/shared/infrastructure/django_transaction_manager.py - Search result paging
apps/shared/application/search.py
Other components
- Shopper
Connections 26
- Shopper → Catalog web interface: browses
- Catalog web interface → Product listing service: requests listings
- Product listing service → Listing query: uses query
- Product listing service → Listing read repository: reads listings
- Listing read repository → Catalog models: queries
apps/catalog/infrastructure/repositories/product/django_product_listing_read_repository.py - Category update → Category deactivation validation: validates deactivation
apps/catalog/application/services/category/update_category_service.py - Category update → Category repository: loads and saves
apps/catalog/application/services/category/update_category_service.py - Category update → Product and category: builds category
apps/catalog/application/services/category/update_category_service.py - Category repository → Catalog models: persists through
apps/catalog/infrastructure/repositories/category/django_category_repository.py - Product update → Product repository: updates product
apps/catalog/application/services/product/update_product_service.py - Product update → Product and category: uses entities
apps/catalog/application/services/product/update_product_service.py - Confirmed deactivation → Product update: executes update
apps/catalog/application/services/product/confirmable_product_deactivation_service.py - Confirmed deactivation → Product repository: checks product
apps/catalog/application/services/product/confirmable_product_deactivation_service.py - Confirmed deactivation → Pending update store: stores pending update
apps/catalog/application/services/product/confirmable_product_deactivation_service.py - Confirmed deactivation → Transaction manager: runs atomically
apps/catalog/application/services/product/confirmable_product_deactivation_service.py - Catalog administration → Confirmed deactivation: confirms deactivation
- Homepage administration → Slot management services: manages slots
- Slot management services → Homepage slot entity: creates slots
apps/homepage/application/services/create_homepage_slot_service.py - Slot management services → Slot repository: saves slots
apps/homepage/application/services/create_homepage_slot_service.py - Slot repository → Homepage slot entity: maps slots
apps/homepage/infrastructure/repositories/django_homepage_product_slot_repository.py - Slot repository → Homepage slot models: persists slots
apps/homepage/infrastructure/repositories/django_homepage_product_slot_repository.py - Eligible product search → Eligible product reader: searches through
apps/homepage/application/services/search_eligible_homepage_products_service.py - Eligible product search → Search result paging: returns page
apps/homepage/application/services/search_eligible_homepage_products_service.py - Eligible product reader → Catalog models: reads products
apps/homepage/infrastructure/repositories/django_eligible_homepage_product_read_repository.py - Homepage web interface → Slot repository: reads displayed slots
- Confirmed deactivation → Slot management services: clears assigned slots