[fpc-pascal] HTTPRoute.pas and TRouteObject
Marcos Douglas B. Santos
md at delfire.net
Mon Jun 4 04:21:32 CEST 2018
On Sun, Feb 11, 2018 at 4:24 AM, Kevin Jesshope <kevinofoz at gmail.com> wrote:
>
> Thanks Michael,
>
> I did consider putting everything in the HandleRequest but I prefer
> the virtual constructor.
I would like to suggest you do not use inherited classes from
TRouteObject as its business classes.
Inside HandleRequest you can instantiate any business classes that you
want and your code won't need fpWeb to test it. Make them separated.
Best regards,
Marcos Douglas
More information about the fpc-pascal
mailing list