@psmail, I think that one of the best ways to get insight to the structure in 4.3 is to look at the folders in the develop branch...
Aug 14, 2014
7
Level 5
4.3 rumours
I thoughts I'd start capturing the snippets I am gleaming about Laravel 4.3, which I think according to the release schedule is due out in Nov.
So far I have come across two things and I thought I'd put the feelers out to see what else we know about the upcoming release.
Request based validation.
From Refresh Arkansas talk.
// routes.php
class StoreCharacterRequest extends FormRequest {
public function rules() {
return ['name' => 'required|unique:characters'];
}
public function authorize() {
return true;
}
}
Route::post('character/store', function(StoreCharacterRequest $request))
{
// ...
}
New default directory structure
From Laravel podcast.
- I don't have the details, but I imagine it will be much like the structure outlined by Taylor's book
- Backwardly compatible - so we won't need to change existing directory structures
Please or to participate in this conversation.