A long-time mORMot user and contributor just made a proposal on our
Today, he sent to me some of his source code, which sounds ready to be included in the main trunk!
This is a great contribution, and Pavel's goal is nothing less than
Delphi based, FAST multithreaded server with ORM and node.js modules compatible.
- Client layer,to validate input and create custom UI or reports (could be AJAX or even Delphi client);
- Application layer, to adapt the common business model to one customer or a given application (e.g. custom behavior, reporting);
- Business layer, to define the business logic using the domain objects (e.g. to adapt to a given change of policy).
Therefore, in addition to Pavel's proposal, I would like to make available two features of mORMot (in addition to other cross-cutting elements of the framework, like logging, security, session handling, reporting, pdf generation, cache):
Both of these features do make sense in a business model, to customize your
project according to customer expectations, and even let the customer create or
adapt its own application layer to its needs.
My only concern, spending a lot of time in Delphi and C# source code, is
This is why I'm looking (since months) at DWS script / SmartMobileStudio and TypeScript.
types, classes and modules. It is published by Microsoft, but is open
It comes with full source code of its compiler in TypeScript, so can be embedded very easily to our SpiderMonkey modules.
And our little mORMot likes interfaces, efficient and small solutions.
option for us (sorry Eric).
I suspect TypeScript could be a great optional syntax for our mORMot business layer.
Do not forget that Anders Hejlsberg, lead architect of Delphi and C#, has worked on development of TypeScript!
Feedback is welcome on our forum.