With EE1, there was Gypsy that could enable you to work outside the field groups. I could put all my custom fields in 1 field group, assign it to all the channels and filter out the fields I didn’t need. Then for every publish/edit entry, the DB query was limited to only those fields that were assigned to that channel.
In EE2, we have Publish Layouts. I can again, create a master default field group, assign it to all my channels and use the Publish Layouts option to hide the custom fields that aren’t needed for that channel.
My question is, does EE2 Publish Layout simply use jQuery to hide those fields from being used? Or is this info inserted into the database so that the MySQL call will be affected.
I’m asking for performance reasons. If my go to my publish/edit screen and my default field group has 50 custom fields, but this particular channel only needs 10 of those, does EE2 call for all 50 fields in the DB query and use Javascript to hide the other 40? Or is the MySQL query only calling the 10 needed?
Thanks for the clarification!