Open
Description
Hi everyone,
I just wanted to start a discussion around FormExtensions and Bootstrap3.
I think we need to identify how will the migration will be done. IMO, we cannot "change all forms" and break BS2 compatibility.
Actually, I think we should be able to handle both: BS2 and BS3 at the same time. Difference is mainly based on "rendering" and views. Not on components/Javascripts themselves (well, not always, I agree). But FormTypes will almost not be different.
So, I see two ways to handle that:
- Creating dedicated branches for each BS version. Advantages is it will be surely easier to use and maintain for BS3. Like for AdminGen, we simply make a tag 1.0 for BS2 and 1.1 for BS3 and go... Drawbacks: I think this means no more support on BS2 because we will be more focused on BS3 (which is normal...)
- Keeping both compatibilities, and adding some Bundle configuration to specify if we should use BS2 or BS3 assets / form_widgets. Advantages: when we fix bugs on Transformers and Forms themselves, both BS2 and BS3 will benefit from the fix. Drawback: probably more complicated to maintain.
At least, if we just say "let's go for BS3, forget BS2), we should create different tags (for BC).
Discussion is open, please comment, tell what you think, ...