innetto / inertia-vue-lab Goto Github PK
View Code? Open in Web Editor NEWMain dev challanges using laravel, inertia and vue stack
Main dev challanges using laravel, inertia and vue stack
We can define like modelValue: [String, Number
]
_Use factory to create a "shape" to persist data in db is a common challange in Laravel. When we're creating our project we need to think about the concepts of MVC pattern. Model to represent our database in high level. View to create, edit, persist and delete data. Controller to be like a "bridge" between model and view. _
Reuse components in our application is really useful to avoid code repetitions around our project. Take a look at the solution on commit
This challange shows how inertia can make a helpful performance optimization with partial reload. We can show only the data needed in the visit using lazy loading render props.
It makes a code without repetition of import and extra lines that we just need to write once
We can use scoped slot to implement our challange. Table define a named slot and the parent component just implement this named slot inside tag. Take a lock forward
The name of the slot is "actions" and needs to be used with the same name in parent component
As a scoped slot, the table pass a data inside the slot and then the parent can use this value inside his own template, not a global value. For more, take a look at entire solution on commit.
_We can store data in client side in many ways, but in this case, even we can use Pinia, Vuex or other plugins to work with Inertia, this challange doent require such complex solution. So quick and clear we can use local storage to keep the data saved in url changes. See the entire solution on commit.
When we use forms to receive data from browser, we have to concert about just send to database validated data to avoid mysql errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.