Connect_phase

why connect_phase is called in bottom-up order? is there a specific reason for that?

In reply to ranjithkumar d:

I am having one more question,

Whether build_phase is bottom_up order or top_down order? is there a specific reason for that?

In reply to pkoti0583:

Correct me if i am wrong,

Build_phase-> Top-down
Reason: We would like to allow the parent to build itself first i.e., have its own space first and later allow the child components to build and fill in the parent space. This also allows to have a hierarchical path being generated which inturn aids in factory overrides being done in build_phase of the parent class.

connect_phase → bottom-up
Reason: I think stitching/connecting the low level components to form a high level component is easy to debug if something goes wrong.