I don't see 17 fields as being that many. But you could get essentials only and save then fill out some secondary information.
Sep 24, 2023
4
Level 1
Barebones Breeze App, I want to extend the Profile but it seems too clustered.
Well even tho the title is self sufficient for this issue..
What I did. Models/User.php now has 17 fillables (first_name, last_name, birth_date, city, and more). Requests/Auth/ProfileUpdateRequests also has now 17 validation rulles..
I think I have clustered the simple approach Breeze had to authenticate and identify a user. My app now has a Profile page long enaugh to make anyone feel like filling divorce papers. How can I avoid this? I don't necessarly mind the front-end part, the form is as long as it has to be, my problem is that the code looks bad and doesn't seem to follow best practices.
Care for some advices? Thanks in advance, Alin
Please or to participate in this conversation.