JADE-like template engine FTW!!!!
I'm not sure if some module already covers this, but directly passing messages/events between all worker forks would be nice to gather various information.
Also non-blocking rw file access for obvious reasons if it is possible.
--
You received this message because you are subscribed to a topic in the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mojolicious/JLZlJwkm0Ho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
--
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...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
What about validation on json params?
Or have the possibility to have multiple configuration files? This way,
we could override the default configuration file by writing in the
second file the way we want, without need for the plugin to handle the
write thing.
May be a good idea to add ability to set password for encrypted private key in Mojo::IOLoop::Client and appropriate property in Mojo::UserAgent?
1. JSON validation would be nice.
2. Some helpers for streaming JSON to simplify render large JSON without creating whole object in memory. (now this possible (ex. http://pastie.org/10875893), but it is not convenient)
3. "resolv" event in Mojo::IOLoop::Client, after resolving domains.
4. Make easy log rotation in prefork servers. For example passthrough some signals (like USR1) from manager to each worker, that the workers can reopen log files. Or may be add new event "reopen" to Mojo::Log.
3. "resolv" event in Mojo::IOLoop::Client, after resolving domains.Are there use cases for this? Especially considering that Net::DNS::Native is optional?
How about JSON::Schema or Config::Model to handle the validation ?
> > 1. JSON validation would be nice.
> >
>
> Yes, this has come up before, but we don't know how to get the validator to
> validate nested data structures.
I use this in many of my projects ...
http://search.cpan.org/dist/Data-Processor/
Not pure Mojolicious wish, but could it be possible to have Minion
reloading itself if files changed in development mode? Just like morbo.
Making Minion development more fun is something i wanted to do for a long time, but sadly won't be able to until i find new sponsors.
Would it be possible to tweak the headers for static files?
Adding Expires and Cache-Control headers could be really useful.
And… done[1]. You can see the patch at
https://github.com/ldidry/mojo/commit/0a2dfb096d4f4b3096f27ae10ee7eb5832b2ad99
Tell me if it's ok to you and I'll submit a pull request :-)
Should this discussion continue in a separate thread or even in an issue on Github?
Hey everyone, it's that time of the year again! :)
In this thread you can post changes or features you would like to see in Mojolicious, no rules, just say what's on your mind.P.S.: You're welcome to take a look at previous threads (https://groups.google.com/d/msg/mojolicious/hZu18SdEmbc/pEzv8diuA-gJ) to get an idea for what has already been discussed before.
--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...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
What do you think about default router like "otherwise" in angularjs?
But no ability to authenticate (get email from CN param for example) users by their certificates, because it is not possible to access any information about the client's certificate in controller (may be i don't know something?).
So, will be good if programmer could get info about client's certificate and obtain information on the validity of the certificate from controller.
What about validation on json params?my $params = $s->req->json;like this:my $validation = $s->validation;
$validation->output;:)
суббота, 11 июня 2016 г., 22:12:28 UTC+3 пользователь sri написал:
<h1>
Mojolicious
</h1>
$ua->get_ok(...)->text_is('h1', 'Mojolicious');
# got: '
# Mojolicious
# '
# expected: 'Mojolicious'
$ua->get_ok(...)->text_resemble('h1', 'Mojolicious');
package Test::Mojo
sub text_resemble {
my ($self, $selector, $value, $desc) = @_;
$desc ||= encode 'UTF-8', qq{exact match for selector "$selector"};
return $self->_test('is', trim($self->_text($selector)), $value, $desc);
}
Isn't it a good idea to provide a test method which performs trim and compare at once?
It also makes upgrading to v7.0 easier.
Hey everyone, it's that time of the year again! :)
In this thread you can post changes or features you would like to see in Mojolicious, no rules, just say what's on your mind.
P.S.: You're welcome to take a look at previous threads (https://groups.google.com/d/msg/mojolicious/hZu18SdEmbc/pEzv8diuA-gJ) to get an idea for what has already been discussed before.
--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...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.