Bevy stages or the frames lifecycle
Discover the native Bevy's stages and how to add and organize them to manage your frame lifecycle.
Mastering plugin loadings in Bevy - Part 2/2
An advanced article on how to load plugin. Discover how to add plugin to a crate plugin, disable/enable plugin of a group and how to order an added plugin after or before a plugin of the group.
Rebase a query builder after filtering an Eloquent Collection
To retrieve the Query Builder after filtering the results: you can use `->toQuery()`. The method internally use the first model of the collection and a `whereKey` comparison on the Collection models.
Mastering plugin loadings in Bevy - Part 1/2
Plugins in Bevy is the way to quickly adds functionalities to the game engine. They are re-usable, shareable and many of them are open sourced, discover how to create one and how to use them in your project.
Return last page from a Paginator
Genuinely uses the Laravel paginator to return on the posts from the last page of a forum discussion.
Quicktip: How to display morphTo relation into list columns
`morphTo` relationship type is not supported by WinterCMS' column relation type, discover a dead-simple workaround to display your relation data.
Use WinterCMS Macros to create simple re-usable components
Twig macro, used in WinterCMS has been for me the missing piece of knowledge for a while before I discover the super powers of this feature.
Let's review a real use case where they could be useful and integrate some TailwindUI form elements with re-usability in mind.
Mastering front-end components in WinterCMS
Two questions that came often into the WinterCMS' community are:
- Why Twig have been chosen over Blade?
- How to build components like we do into Blade? This seems impossible
With this series of articles, I'll try to answer the first question and demonstrate and show how components could be created.
An in-depth analyze of entity composition in Bevy 2/2
Manually compose a complete entity can be verbose and repetitive in many case.
In bevy an alternative exists: the bundle.
Bundle are here to ease all the boilerplate process when creating similar entities.