Thanks Aparajita, >> Let's say I'd spice up your bicycle online store (the screencast) with a >> categories popup in the left sidebar, build from a 4D database and a right >> sidebar holding two dynamic areas, a condensed view of the shopping cart and >> a related products list, dynamically created depending on the selection you >> make in the main area. Would you incorporate these parts with this >> pseudo-circuit mechanism within the layout file for left:sidebar and >> right_sidebar? > > Probably.
So this give me faith, I'm not on the completely wrong track. ;-) >> Aren't nested circuits always a kind of plugins as long as they create an >> output? > > Yes. > > >> And how can the main page (output of the parent circuit, or output of the >> root circuit ? ) know nothing about that nested circuit. > > It knows nothing other than the fuseaction to call and the attributes it > expects. It's like calling a method and passing parameters. Maybe my question should have been more precisely: "I ask myself, where the real benefit is in nesting LAYOUTS." In case your answer to this is still: >Nesting a circuit is useful if you have a different layout in the other circuit and the other circuit is a kind of plugin that the main page doesn't know anything about. I'd appreciate, if you could could give me a short example, what you mean with this. Otherwise, I'm interested in your answer to this (new) question. On one hand there are no nested layouts in your demo and having searched the list for "nested layouts" I found a statement from you from 2005: >"In actual fact nested layouts should be used sparingly. Typically I don't actually use nested layouts to build a page, but rather include several display fuses. Is this still true? So I assume you don't use nested layouts in your apps. On the other hand there is this chart "Fusebox flow of control" in the wiki, where you explain in depth, how nested layouts work. Hmm, a lot of work for something you do not recommend to use. So what is your current statement about using nested layouts? Pete _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
