Member Since 1 Month Ago
3,900 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Started a new Conversation Arrays In Form Names - Good Or Bad Practice?
I'm working with a form where multiple components are brought together, A Person and a List. In the form I'm separating these by array:
Some issues I've run into:
I've tried working with
@errors but it accepts only dot notation. I didn't find any helpers for converting
person[name] to dot notation so I had to write my own. In the validation the
required validate outputs the entire dot notation
person.name is required which doesn't necessarily work in ever case. I didn't see an easy way to "filter" this validate message without creating my own custom validation.
I'm new to Laravel so I guess my question is, how common is the naming convention above for my inputs? Is this something I should avoid or are there helper functions I'm not familiar with to aid me in this process?
:: Edits ::
This is really just theory. If I have multiple Model fields in a form, is it a better practice to prefix them with the model or group them in an array?
A post form might have a post title, post body, and categories. Products might have available stores.
Started a new Conversation Windows, VSCode, Blade Highlight Scheme
I'm working with VSCode on Windows 10 and the default dark color scheme is killing me. Almost everything I'm working with in the blade files is orange. Does anyone have suggestions for a better Color Theme with better contrast? What Color Theme do you use?