Not sure where I should post this but I have a rather selfish feature request because I have to fork the code in all my projects to do this, so I thought I'd ask
EDIT: Sorry, Now I see the New Functionalities forum topic ... can someone move this ... thanks!
1) I'm old school, having "grown up" with IBM DB2, and I really miss not being able to restrict deletes in Cook. While it is really nice to have the current options to cascade deletes or reset on deletes, there are a lot of cases where I can't allow users to delete referenced items for data integrity reasons. I know how to handle this in the code (as discussed here:
restrict delete) using the fork system, i.e. fork admin/fork/classes/item.php to add an integrityRestrict method and then calling it from an item's delete method, but it should would be nice to just have this code generated automatically.
2) Related to that, and the other thing that I do quite often, is show the count of references to the foreign key field (much like the number of users in a group if you go to User Groups in the User Manager). I've been forking the model to add the appropriate nested "SELECT COUNT(*) ..." as another result field, but again, sure would be nice to just drop the option on the list or item views somehow
Again, nothing critical and I much prefer that existing bugs be fixed first but thought I'd throw this out there for when you are bored
And while I'm at it ... I'd just like to thank you for this great tool!
For starters, it's just so easy to design an app in a way that I'm used to, i.e. database first, then views, followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand.
Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave