Timeline for What is the best choice to create a node through code?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 27, 2013 at 18:46 | history | edited | avpaderno♦ | CC BY-SA 3.0 |
improved formatting
|
Oct 14, 2012 at 14:25 | vote | accept | Dinesh Kumar Sarangapani | ||
Oct 9, 2012 at 13:52 | vote | accept | Dinesh Kumar Sarangapani | ||
Oct 14, 2012 at 14:25 | |||||
Oct 9, 2012 at 12:55 | answer | added | Jepedo | timeline score: 4 | |
Oct 6, 2012 at 11:39 | comment | added | Dinesh Kumar Sarangapani | @Clive you are right. | |
Oct 5, 2012 at 18:02 | history | tweeted | twitter.com/#!/StackDrupal/status/254280453991829504 | ||
Oct 5, 2012 at 12:27 | comment | added | Clive♦ | @DineshKumar 'Best' is too subjective a term, you might want to narrow that down to what you actually mean (e.g. most performant). Questions asking for the 'best' of something don't do so well on stack exchange sites. Besides that, the only real answer to this question comes from benchmarking the various methods in your current environment, which only you can do. | |
Oct 5, 2012 at 11:21 | comment | added | Dinesh Kumar Sarangapani | Yes, as said there are several methods to create a node, all i want is what is the best with a reason | |
Oct 5, 2012 at 10:54 | comment | added | jantimon | Then you might write 1 entity field query to find out which terms already exist, create all missing ones and in the end create the nodes like you showed in the first approach. | |
Oct 5, 2012 at 10:13 | comment | added | Dinesh Kumar Sarangapani | The Problem arises when i have more than 12 term fields and each fields having more than 10 values as terms, It is extremely slower and takes much of the resources | |
Oct 5, 2012 at 10:10 | comment | added | jantimon | Your first approach is slightly faster but if your second approach is easier to maintain use the second one. | |
Oct 5, 2012 at 10:05 | history | edited | Dinesh Kumar Sarangapani | CC BY-SA 3.0 |
edited body
|
Oct 5, 2012 at 9:58 | history | asked | Dinesh Kumar Sarangapani | CC BY-SA 3.0 |