Title: When developing a component, is there a default back-end item that you can use the same way as categories but without the tree structure?
Tags: joomla-3.x;component;category
Question: When you develop the back end of a component, you can add a couple of lines in the addSubmenu function of the component helper to use the category management interface:
class MyComponentHelper extends JHelperContent
public static function addSubmenu($vName = 'myitems')
JHtmlSidebar75b5:f2c1:f5d7:b954:8dc3:cee9:baf:a8c0ntry(
JText75b5:f2c1:f5d7:b954:8dc3:cee9:baf:a8c0_('COM_MC_SUBMENU_MYITEMS'),
'index.php?option=com_mycomponent',
$vName == 'myitems'
);
JHtmlSidebar75b5:f2c1:f5d7:b954:8dc3:cee9:baf:a8c0ntry(
JText75b5:f2c1:f5d7:b954:8dc3:cee9:baf:a8c0_('COM_MC_SUBMENU_MYCATEGORIES1'),
'index.php?option=com_categories&amp;extension=com_mycomponent.categories1',
$vName == 'mycategories1'
);
JHtmlSidebar75b5:f2c1:f5d7:b954:8dc3:cee9:baf:a8c0ntry(
JText75b5:f2c1:f5d7:b954:8dc3:cee9:baf:a8c0_('COM_MC_SUBMENU_MYCATEGORIES2'),
'index.php?option=com_categories&amp;extension=com_mycomponent.categories2',
$vName == 'mycategories2'
);
This will generate a menu in your sidebar with 3 items. The first one linking to whatever you develop and the next 2 linking to the Joomla category management interface.
Everything is already done for you, you have got a CRUD interface with version, access, basic publishing and language management in place for your back end in, literally, 10 min (and that's because I am not a fast typer). Add to that a a couple of lines in your localization file and the wording is even customized to your liking.
For very simple elements where you need ID, title and description, that's simply powerful.
Now, is it possible to do exactly the same thing but without the tree structure of the categories ?

Here is the accepted answer: There is FoF which is bundled withing Joomla 3. This framework allows you to create components with little code. See documentation
However it's still more work than what you see for the categories. The reason is that categories are handled by an own component com_categories. You basically just pass a filter to it.
Comment for this answer: I am checking it. Seems promising.


{'source': 'StackExchangeDataset', 'subset': 'joomla.stackexchange.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2015:00:06/24/15', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<joomla-3.x><component><category>', 'Title': 'When developing a component, is there a default back-end item that you can use the same way as categories but without the tree structure?', 'ViewCount': 78, 'id': 10564, 'user_AboutMe': None, 'user_AccountId': 301046.0, 'user_DisplayName': 'Florian', 'user_Reputation': 68.0, 'user_Views': 1.0, 'user_id': 1563.0}}