This is the first web app that i am building by myself.
Before coding i like to organize my ideas, do class and requiriments diagrams.
So i have to do this in my software
-Add users. -Add buy orders.
I am thinking my classes in two different ways.
Like this:
class User{
function add()
function edit()
}
class BuyOrder{
function add()
function edit()
}
Or
class Add{
function user()
function buyOrder()
}
class Edit{
function user()
function buyOrder()
}
As you can see they will do the same but with different writting.
Any ideas?
thanks