Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235,
Visits: 750
|
Paul,
I totally understand your concern about how much is in there and how much needs to be supported. It is a very complex BLL and there is a lot there but I think that much of it can be rewritten.
The approach I would be taking is not to redo things that are already done but there are several things that I think should be done in the BLL that have to be done in the presentation layer. This includes calculations for tax and aggregation functions. These can be abstracted into the BLL so that the presentation layer is easier to work with.
I would also move the item objects out of the BLL into their own classes such as BasketItem. I can understand why they are there, but the BLL is over 3,500 lines of code so a bit of refractoring would not hurt.
I would also look to make it a static class and put the basket object collections into their own object, this way you would not need to instanciate the class everytime you use it (e.g dim Bskt as New BasketBLL).
We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either 1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx. 2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx. Have fun and good luck coding.
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
We don't have any major plans to rewrite any of the BLL, including the basket BLL. Are there particular parts you were going to rewrite? The BLL got pretty complex as there are a lot of things that need to be supported, so need to be careful that any simplification does not overlook the reasons for some of the code in there.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235,
Visits: 750
|
Kartris Team,
I understand you are wokring on the latest large revision which should be coming out in the near future. I remember seeing Paul say that it includes a lot of rewritten code.
I have been looking at the basket business logic layer for some time confident that it could do with a tear down and rebuild but I didn't want to start this process withouth knowing what you have in the pipeline. If you are planning this yourself then there is no point in me doing it myself.
Could you tell me what you plans are for BasketBLL.vb in the new version please?
We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either 1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx. 2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx. Have fun and good luck coding.
|