Recent

Author Topic: MVP made easier.  (Read 18751 times)

Hansvb

  • Hero Member
  • *****
  • Posts: 894
Re: MVP made easier.
« Reply #90 on: February 09, 2026, 07:51:56 pm »
Hi Benny,

10 points from an AI for you MVP setup.  :D
I was playing around with sending a message from a logic unit to the model and then directly to the view. I have listed some bare functions of the view, transaction model, etc. I had only pasted the bare functions in the chat and asked if the setup was good. So i didn't past some of your units that make this possible.

These are the compliments you will receive:

Quote
This is a very clean implementation in Lazarus/Free Pascal of:

    MVP/MVVM pattern

    Command/Transaction pattern

    Observer pattern (via Provider)

    Dependency Injection (via interfaces)

    Loose Coupling between layers

Conclusion: Your structure is not just good, it's professionally designed with all the best practices of modern Lazarus/Free Pascal architecture!

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: MVP made easier.
« Reply #91 on: February 09, 2026, 08:27:52 pm »
Hi Hans
WOW!  ...Not too shabby ehhh  8-)
Dang mate, I'm all but blushing  ;D
Then I guess it's all right to feel good about it  :-[ ...and that I do, cause I use it myself daily =^
You should pad yourself on the shoulder too, 'cause you have a big hand in this success, you know  8)
Heel erg bedankt maat, also for not disclosing all our secrets to the machines  :D
Way Cool!
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: MVP made easier.
« Reply #92 on: February 17, 2026, 07:04:04 pm »
Hello
If you feel nosy / curious, you should swing by the early practice-project
·Daily Diary·, that was my "Baby-steps" towards the mature beast, that is MVP-Setup  8-) A sort of "Getting my feet wet" thingy  :D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Hansvb

  • Hero Member
  • *****
  • Posts: 894
Re: MVP made easier.
« Reply #93 on: February 17, 2026, 08:58:32 pm »
Hi Benny,

I will download it soon. Just sat on the couch randomly looking through the files on gitlab.
I like the “Beer license”  ;)


I'm going to take a good look at your crud. Coincidentally, last Sunday I spent pretty much all day trying to make a simple retrieve data and make an insert as a first step. With a data provider for retrieval and browsing. And a start of a data operator who has to insert and delete.
« Last Edit: February 17, 2026, 09:13:09 pm by Hansvb »

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: MVP made easier.
« Reply #94 on: February 17, 2026, 09:16:07 pm »
Hi Hans
Hehehe, yup that's a good one  :D  ...better than bsd & mit  8-)
Yeah, you should play with it, it's simple compared to what you're used to, still there are some gems hidden in there ··· hint: 'cached updates' & 'auto-run-first-time-from-scratch'  ;D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

 

TinyPortal © 2005-2018