I have a good first draft of my app written now. The "baby" is a course management website. Clearly, writing websites is not my comparative advantage, but I got carried away. Besides, after a few frustrations understanding how M works, it was sort of addictive. and took far longer than I had anticipated. I think the code is fairly clean.
It is running in a virtual machine on http://syllabus.space/ (though I will replace the VM in which it runs every once in a while). the source is at https://github.com/iwelch/syllabus.space. The app uses Mojolyst, and demonstrates many basic facilities that many basic websites would need. (Sebastian---feel free to add it to the list of examples of M use.) Alas, I am a decent programmer, but neither a perl nor a M guru. So some of the coding I am using will look quaint to the experts. then again, I want this site to follow the KISS principle, so that non-M experts can run and maintain it. of course, any bug reports are welcome ;-). there will be quite a few as I iron them out. I need a few more basic fixes before I can declare victory, however. 1. I am still running in morbo development mode. My error messages are deliberately worded for end users, and rely on "die ...". When I switch to production and/or hypnotoad, how can I show these errors to the user? is there a standard route I can use for this? (Any other aspects to hypnotoad that I should become aware of at this stage?) 2. I have good tests for my Model (which also build a sample site). Alas, I don't have automated tests for the web controller. I don't want to learn fancy tools like selenium. I really only want to send URLs, click on buttons, enter into form elements, maybe go forward-backward-browser, and test that the resulting page has a certain display. the easier the scripting the better. does anyone have a good suggestion without much learning curve? thanks to everybody for the help, especially stefan adams. sincerely, /iaw -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
