[erlang-questions] Re: Process Dictionary vs Proplist in Web Frameworks

Ngoc Dao <>
Fri Oct 30 08:07:16 CET 2009


In order to intercept, I think the explicit thing you need to know is
the processing flow. For example:
browser -> yaws -> front controller -> app-wide filter ->
controller-wide filter -> action -> view -> layout -> front controller
-> yaws -> browser

The environment may be transfered implicitly inside the PD along the way.

I don't know if this is relevant to this discussion, but I am creating
this app which uses Ale which uses Yaws which uses PD:
http://github.com/ngocdaothanh/khale

Nitrogen is another example of the (successful?) use of PD.

Ngoc


On Fri, Oct 30, 2009 at 3:51 PM, Max Lapshin <> wrote:
> This bad practice prevents from any clean way of injecting into chain
> of rendering HTML.
> When all data, required for rendering, is passed explicitly, it is
> possible to intercept it in filters
> and change.
>


More information about the erlang-questions mailing list