u/Lelectrolux
In this archive from Sep 2015 to Sep 2026
- 5
- posts
- 1k
- comments
- 0
- media
- 3.4k
- score
Is there a complete resource on what you need to know when dealing with WYSIWYG editor in backend languages ?
This is more of an open ended discussion on what you think are best practive or good ways to deal with a wysiwyg editor on backend and rendering on front. I've never found any resource that felt complete and secure (except the markdown ones but I'll need html) I've always avoided the problem by havi...
Route model binding from several url parts ?
An easy example is a multilingual news site. Each article url woud follow this pattern : /{locale}/articles/{country}/{article} Article aren't translated in every language. {article} and {country} are translated slugs. tl; dr; Is there an easy way to get a $catalog from the {locale} and {country} pa...
Server side events with Laravel 5.x ? Any experiences/gotchas ?
I do know about web socket, but 1/ I don't need two way and 2/ I don't want to use external services (pusher/redis) (business requirements). So I looked into server side events, looks promising, and want to give it a try. Any experience about it in Laravel. Even better with 5.3 Notification system ?...
Eager loading in Eloquent : $region->hotels->first()->region make 3 queries instead of 2 ? Why ?
Lets say i have 2 Eloquent models, Region and Hotel. Each hotel has a web page with a slug url created from region name and hotel name. public function getSlugAttribute() { return \Str::slug($this->name.'-'.$this->region->name); } In one page i have a list of hotels by regions, loaded like this : $r...
End of this list.
Back to top