S
S
Splite2014-09-06 14:42:31
PHP
Splite, 2014-09-06 14:42:31

How to implement an online store with different types of goods?

Hello! There is something like an online store where there are many types of electronic goods. All of them are issued in different ways, some require connecting to a remote database, others require commands to be entered via ssh, in general they are different.
What is the correct architecture of such a project?
I want to create a model for each type of product with the give () method, when creating an order, this model with the necessary data will be serialized and saved in the database. And after payment, recreate with a call to the give () method.
How correct is this approach?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question