Hello all,
as I knew a little bit of PHP, I accepted a project from a friend !
This project is all about developing a tool to make calculations based on a lot of variables.
Unfortunately, at this moment I’m stuck and I just need some logical thinking help to know what is the best way to advance.
I don’t know how to explain all in detail, but let me give a try :
- The user can open, edit, delete, create a lot of new items, all in different tables
- At the moment all data is entered, they will open a “start calculation” page
- In that page, they first select 1 kind/type of calculation to make
- Based on that selection, a new page is opened, showing a list of items that belong to that kind of calculation. The list shows the name and a numeric field (with a spinner)
- The user can delete items off the list, add items to the list, change the number for each item. This is like a kind of “cart” in the memory.
Stage on which I’m blocked:
- Once all items are selected, a next screen should come available, showing the selected items, but with data from the table of each item separately. The user should be able to enter extra data for each item, select materials for each item and check checkboxes depending on their choice. At the end, they should come in a calculation page showing the calculations based on all the selections in the former screen.
Why am I blocked ? Because I don’t know how to continue from here.
Is it best to keep on working with the cart ? If yes, how can I make the cart contain all the extra data ?
Should I start working with classes ? Importing all data from the table and start using them as objects?
Use another way ?
I’m really stuck as I’m missing the next logical step, and off course the best way to continue in next steps.
I was hoping to find some help here… And I would be very thankfull…
Greetings and thanks in advance,
Davy