Re: [Mojolicious] Mojolicious Web Clients Book
There's also a PDF version of the book now. https://leanpub.com/mojo_web_clients/ -- sebastian -- 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 mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/1eb8f819-ad01-40b6-a255-9e9e8b392f9e%40googlegroups.com.
[Mojolicious] Best practices for dynamic workflows
Dear mojo devs, I want to design and develop a generic framework for documents processing. Basically, a data input, validations, business rules, optional rendering and delivery. So, the data input module might be static but all the other modules would be custom according to the needs. For example, one might want to deliver to a S3 bucket while others might want to deliver via email or SMS. Now the question is: what's the best approach for easily installing and configuring such modules in the framework? The link between modules would be a queue, not sure about the backend for those queues yet, though, perhaps Pg or Celery. Ideally, when you install the framework it comes with default "dummy" modules with some very basic functionality that also serves as template for developing custom modules. Thanks in advance for your suggestions. Alberto Mijares -- 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 mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/CAGZBXN8s_aVkb81mQCnpeMO%2B7wOxyqWEKQ0My43TF3rbjqCDzg%40mail.gmail.com.
Re: [Mojolicious] Best practices for dynamic workflows
For distribution outside of CPAN, a cpanfile can specify "features" that can be requested when installing dependencies like: cpanm --installdeps --with-feature=foo . https://metacpan.org/pod/cpanfile#feature For CPAN distributions, you can use optional features as well, but most people will ignore it because cpanm defaults to non-interactive. I would recommend providing additional distributions as plugins which provide the dependencies needed for their task. -Dan On Fri, Feb 14, 2020 at 8:12 AM Alberto Mijares wrote: > Dear mojo devs, > > I want to design and develop a generic framework for documents > processing. Basically, a data input, validations, business rules, > optional rendering and delivery. So, the data input module might be > static but all the other modules would be custom according to the > needs. For example, one might want to deliver to a S3 bucket while > others might want to deliver via email or SMS. > > Now the question is: what's the best approach for easily installing > and configuring such modules in the framework? The link between > modules would be a queue, not sure about the backend for those queues > yet, though, perhaps Pg or Celery. Ideally, when you install the > framework it comes with default "dummy" modules with some very basic > functionality that also serves as template for developing custom > modules. > > Thanks in advance for your suggestions. > > > Alberto Mijares > > -- > 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 mojolicious+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mojolicious/CAGZBXN8s_aVkb81mQCnpeMO%2B7wOxyqWEKQ0My43TF3rbjqCDzg%40mail.gmail.com > . > -- 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 mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/CABMkAVUpmFiDamB8Ze%3D4d%3DkStTgbADN%3DnnMfiuL-vZKeVk-MJA%40mail.gmail.com.
[Mojolicious] Re: Best practices for dynamic workflows
> > The link between > modules would be a queue, not sure about the backend for those queues > yet, though, perhaps Pg or Celery. > Fyi. Mojolicious has a job queue too. https://github.com/mojolicious/minion -- sebastian -- 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 mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/c59b4bf6-a8f0-4eb8-b156-6ff3fe8fceec%40googlegroups.com.
[Mojolicious] New server status plugin
This week was SUSE HackWeek again. And my main project this time was a rewrite of mojo-status. It got a completely new storage backend based on File::Map, so it should be much more reliable now. And a bit more pretty. https://github.com/mojolicious/mojo-status Since the topic comes up every now and then, i've also made the storage backend reusable as a module. https://metacpan.org/pod/Mojo::MemoryMap It is very fast, and can be safely shared between multiple prefork workers. But has the downside that the maximum size cannot be changed once it has been initialised. So you need to plan a little ahead when configuring the size. -- sebastian -- 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 mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/8c80a9e4-f8bd-40e5-b751-dfb566686866%40googlegroups.com.
[Mojolicious] Re: New server status plugin
Forgot to mention that it will now also show you the slowest requests, with a little smiley indicating the urgency of optimising that part of your code. :) -- sebastian -- 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 mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/cc1a86c7-e6c9-4ef1-9fc3-7d7e85b11b8a%40googlegroups.com.