Welcome! Log In Create A New Profile

Advanced

Re: Best Practice Behaviour of Body Handler

Piotr Sikora
January 09, 2012 04:58PM
Hi,

> Will it accept/output BSON or JSON (or something else)? I know mine
> outputs JSON at the moment, but I was thinking it would be better for
> it to accept/output BSON instead, with a JSON filter as a separate
> module. This allows for post-processing the BSON with another module
> and interchanging the *final* format delivered to the client, as well
> as separating the business logic from the display logic physically.

Output: BSON and JSON (via BSON-JSON output filter).

Input: currently it's JSON, but since it's converted to BSON before being
passed to mongodb, I don't see a reason why it shouldn't accept BSON as well
;)

> As a side note, is there a way of controlling the order filters are
> loaded? If so, can you point me towards some docs?

Order of 3rd-party filter is the same as order of --add-module directives
passed to the ./configure script.

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Best Practice Behaviour of Body Handler

Alex Chamberlain 1820 January 06, 2012 11:12AM

Re: Best Practice Behaviour of Body Handler

agentzh 507 January 07, 2012 06:44AM

Re: Best Practice Behaviour of Body Handler

Piotr Sikora 517 January 09, 2012 09:18AM

Re: Best Practice Behaviour of Body Handler

Alex Chamberlain 553 January 09, 2012 10:02AM

Re: Best Practice Behaviour of Body Handler

Piotr Sikora 547 January 09, 2012 10:10AM

Re: Best Practice Behaviour of Body Handler

Alex Chamberlain 482 January 09, 2012 03:10PM

Re: Best Practice Behaviour of Body Handler

Piotr Sikora 567 January 09, 2012 04:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready