Top "Parent-child" questions

A relationship between entities in which one acts in a major role and the other in a minor role.

NodeJS - how to get spawned child to communicate with parent?

I'm trying this out: var child = spawn('node', args, {cwd: parentDir, stdio: 'ipc'} ); (args is an array of parameters) but …

javascript node.js ipc parent-child child-process
Set state in child after it will receive props?

I have two components. One is UserBase on which ajax request is called to get values. When get those values …

reactjs components parent-child setstate
How can I show child element above parent element AND siblings of the parent element?

My question is related to this question: Show child element above parent element using CSS The response for that question, …

html css parent-child siblings
PHP static variables in an abstract parent class: question is in the sample code!

Quick code with the question included: abstract class ClassParent { public static $var1 = "ClassParent"; } class ClassChild1 extends ClassParent{ public static function …

php oop static parent-child
How to pass data (selected item) to Durandal composed detail view?

I've started using (as of, a few hours ago) Durandal with the hope to manage views and allow composition within …

mvvm viewmodel parent-child single-page-application durandal
jQuery : Get first closest "parent" by type?

I need to get the id of the first closest (nearest) li parent element when i click on a element. &…

jquery parent-child closest
How to set multiple parent activities for using android back button

I have an application that calls an activity several times from different activitys. So, im trying to implement the "back …

android navigation parent-child
Ruby on Rails: Creating child objects

I'm sure this is a very simple question, but I'm just a newbie so... I have a model, Game, which …

ruby-on-rails ruby foreign-keys parent-child
How to wrap DIV tags with different class names?

Duplicate: How can I add a parent element to a group of paragraph? I have the following HTML blocks repeated …

javascript jquery dom parent-child jquery-traversing
Accessing complex REST resources with Ext JS

I am accessing a REST service which exposes these two resources, a parent resource and a child resource: /users /users/{…

rest extjs extjs4 parent-child