I must urge you to continue your work on this excellent resource. It is far superior to anything available on the offical site - both in the layout and content.
In particular, I really like your approach with starting from scratch by removing both session manager and authentication manager from the Application.hs. It serves to confuse me to this day!
If I can ask you for one thing however, it would be an explanation for the reasoning behind dividing the application's code into separate files: Application.hs, Site.hs, etc... The naming of the files seems confusing to me, and I can never remmember which file I need to look in, to find, for example, the routing info.
It would seem like one could put everything in one file.
Perhaps this can be the official "real" and "up-to-date" tutorial on snap site once it's done (as they do accept pull requests).
I must urge you to continue your work on this excellent resource. It is far superior to anything available on the offical site - both in the layout and content.
In particular, I really like your approach with starting from scratch by removing both session manager and authentication manager from the Application.hs. It serves to confuse me to this day!
If I can ask you for one thing however, it would be an explanation for the reasoning behind dividing the application's code into separate files: Application.hs, Site.hs, etc... The naming of the files seems confusing to me, and I can never remmember which file I need to look in, to find, for example, the routing info.
It would seem like one could put everything in one file.
Perhaps this can be the official "real" and "up-to-date" tutorial on snap site once it's done (as they do accept pull requests).