mojo icon indicating copy to clipboard operation
mojo copied to clipboard

Small introduction to Mojo::Base

Open kraih opened this issue 8 years ago • 4 comments
trafficstars

The documentation in Mojo::Base is very minimalistic and doesn't cover the concepts at all. For a beginner the learning curve can be quite steep here. Especially a little explanation for what use Mojo::Base 'Mojolicious' is actually good for, and what attribute accessors are would be really helpful.

kraih avatar Aug 07 '17 16:08 kraih

I think a small tutorial in the Mojo::Base reference docs, similar to how Mojo::Template explains the template syntax, would make sense.

kraih avatar Nov 05 '17 22:11 kraih

There's already some doc from @jberger's https://mojolicious.io/blog/2017/12/12/day-12-more-than-a-base-class/ so maybe distilling from that would be helpful.

zakame avatar Apr 27 '18 08:04 zakame

Until Mojolicious v7.79, for beginners, the learning curve is still very steep. Need more sample case studies in the Mojo::Base documentation.

yusrideb avatar May 19 '18 17:05 yusrideb

I've started by explaining fluent interfaces. https://github.com/kraih/mojo/commit/7b6bb4e8df21886cbcdff55ba4aaa03bd64af2fc

kraih avatar May 27 '18 13:05 kraih