john1598360627 wrote:what is before/after hook?
No, this is pre- and post import.
So when deploying a .war file or .servoy file, first the pre-import hook is triggered before anything else happens.
The pre-import hook module will (can only) run completely on its own, so no modules allowed here.
Simple reason for running on its own, is that at this point of importing, no other solutions exist on your server (at least when deploying a .war file)
After finishing pre-import, your solution will be imported, Servoy takes care of any incremental updates to your DB etc.
Now the post-import will be triggered, the post-import module may contain other modules.
john1598360627 wrote:so Web Client and Smart Client those are clearly deprecated.
Yes
john1598360627 wrote:is the Login & Authenticator deprecated too?
Basically, yes.
In a smart-client solution these were useful, because it was easy to get around a login page which was part of the main solution. Besides at that point you would have full access to the connected datasources.
So the login-module could only consist of forms without a connection to your datasource (so completely based on variables)
The authenticator-module could be called, which would then be spawned as a headless client and simply return a result like an object of data that you could then process in the login-module.
NG, lacking any Java UI, can not move away from the login page neither it's possible to execute client-side code that will gain access to datasources.
Therefor the login and authenticator module are no longer necessary.
As NG can not leave the form you setup as login form without being authenticated, you will need to use a tabpanel and navigate through different pages in case you need more.
Usecase could be a separate 'forgot password' page or '2FA verification' page after you initially entered correct credentials.
Hope this explains it.