YouTubevideo· Aug 16, 2024· 13:03· 8,500 views on YouTube
React at a moment you like. The best moments light up here.
there's a reason why I choose to use the tools that I use whenever I'm building a new project regardless usually of what the project consists of there's one stack that I'm always reaching for and it's not just because I now work for Lille in fact I was already talking about this in my first ever video that I posted to the channel where I talk about why I choose Lille but this is going to be a different kind of video talking
about why I choose the text stack that I choose within larvo a lot of people always ask me okay Josh but why aren't you using inertia for example why do you always like to use live wire and there's a reason for that I love the JavaScript ecosystem I moved out of the JavaScript ecosystem but I still love things in it like n and even next or remix and spelt
and spelt kit and solid or something that I'm really passionate about and I enjoy following along with that story but there's a reason why I choose the text stack that I am using and this tweet got me interested in talking about this a little bit more so in this tweet Alexander talks about the text stack that they're using for their new SAS spent weeks researching testing each of them I believe nothing can be better
than this in 2024 remix JS nextjs too much magic under the hood nextjs is serverless focused why not n larl PHP SAS means spba not a Blog not a personal site each one of these in this tweet thread it's worth it to take a look at not just because I I I think that my stack is different but because I can agree and
find a lot of benefits in how Alexander thought through this things like using a super base specifically for what they give you for free or a DB like post cres on superbase over drizzle omm and something else so using super basee and not using a omm connected to superbase using man UI instead of things like
shaten and that's great because my personal opinion and personal preference is you need to find the stack that works for you to not just build things fast that's one thing but where you can find a specific demo or find like a new idea and know off the top of your head immediately using remix using super base
using drizzle using manten whatever your stack is if you automatically get a new SAS idea you should be able to know in your head here's how I would build it which with each piece of element down to the UI down to how you would design it it should be this lingering moment in your head of I would I know exactly how I would build that if I was using it in
my stack and so what is my stack what is my tech stack in Lille specifically in 2024 and Beyond and I'll show you it starts with larl and the reason for that is because um you can watch my why I choose Lille video it's mostly because I love what the ecosystem brings and yes I work there now but I did it when I was
still talking about what I loved about it I love what the ecosystem brings I love what the community brings and more importantly I love what I get from nothing and I love the things that are both free and paid in the community that I can start a project extremely quickly and build the thing that I need to build that's given so whether I'm building a Chrome extension with an API I'm using
larabel whether I'm building a SAS application specifically meant for serers side rendering I'm using larl whether I'm building an Spa I'm using laravel but what's the next pieces of it okay I have laravel but the next piece is Livewire and of course yes you're going to change things depending on like what specific project but usually I'm using liveware unless I'm only building a Chrome extension I'm using Live Wire
so laravel live wire and I specifically use Live Wire volt now this is where I want to rant a little bit because a lot of people when I talk about Vol specifically in the laravel community don't like that option mostly because there's not that great of tooling yet for it but it is a single file component within Livewire if I was to take a look
at Livewire volt components look something like this this would be a class-based live wire VT component or you have something like let's see something like this within functional volt component you have your logic in the top part of a component you have your view layer in the bottom why do I like this why do I build within volt because it allows me to build something quickly and then extract when I need to
it allows me to continue to iterate while I'm building something because I can open up a file and I can automatically see what does this file do because I have the view layer and I have the logic yes this file can get big in my upcoming LC cast course I build it pretty much in two volt files and yes you could probably extract a lot of what I did in that course to different files but because I was just
showing you how I build this quickly and iterate as I go it starts with just building everything in one file I know exactly where things are happening because on that one page is just one component and I can find anything I need to on that one page this is my choice instead of using something like inertia why because I love what View and felt and similar kind of single file
component structures give you where you have your logic in a script tag or what have you in this case it's just a PHP tag and then you have your view layer and a template tag within view or just your HTML within spelt because I don't have to have this logic con context switching in my mind of okay I'm opening up a new file I'm opening up a new template or I'm have two things kind of side by side I just
like it all in one file and yeah it might not be perfect and I could easily have a logic file in one side of my screen and a view file and the other but this is what I choose to do for my Tex stack I use Live Wire volt and then I use Tailwind so it's been a while since I haven't used anything besides tailwind
and I use a bunch of different UI components and things but most of them actually all of them are built on top of Tailwind so if I need to extend anything I just have gotten used to using tailwind and CSS with that when I host a project or I guess with this with larl and Live Wire I I also use Alpine JS I I don't count that as part of my stack just because it's built into Live Wire
so I don't really count that or consider that as a piece of the stack but we'll say that so this is the what most people would consider as the the tall stack within Lille but there's different pieces and I have a full video talking about tools that I use within larl which I would say fall into all of this but when it comes to a tweet like this of a framework we have a database and I would say I just
use lille's database and most of the time I'm just using sqlite unless there's a specific reason not to I use lille's RM with SQL light and I use Tailwind as my UI and there's a bunch of different UI components that I use or or projects that I use like Tailwind UI or something like uh wire UI or Daisy UI depending on the specific style that I'm
looking there's also tall tall stack UI I think it's called tall stack UI yeah tall stack UI I love a lot of these components as well I imagine when laracon happens in a couple of weeks I might have a different opinion or a different uh suggestion for folks possibly but all of my text stack revolves around how can I build
something fast and iterate without having to grab a whole bunch of packages yes I have that whole video of these are the packages that I build or that I bring in and use in a Lille application in a Livewire application and a Tailwind application and an Al application all of those packages work but 90% of my use case if if I'm using this and then deploying on either Forge or vapor with
SQL light shout out to turo if I'm using Vapor I'm using turo connected with sqlite most of the time it's cheaper than RDS which is Amazon's database this gets me 90% of the way there where this is 90% of my project if I'm using anything like qes I'm using SQL light with a Q with LEL if I'm using anything like a background jobs I'm
using SQL light with a Q within lville this is the reason why I continue to say I choose lville whether I work there or not if I was to stop working at lville tomorrow I would still have this as my tech stack and this video isn't sponsored by anybody it's just sponsored by me and my time the text stack that I choose is
because it I can look at a project for ex example I just tweeted about how I want to build this project in Larryville and Livewire I think this is a great example of what nextjs does does fantastically and this project itself that leer Rob tweeted out the demo is wonderful like it's so fast and this is live and it's not I'm not saying that oh
I can make this in Live Wire and I can make it perfect I could make this exactly identical I probably can't honestly but I'm going to try my best to make it identical and talk about okay what are the tradeoffs of using something like larl or Livewire with this specific T stack larvo Livewire Tailwind Alpine hosted on Forge with sqlite I'm going to use that to build this project and there's going to be trade-offs there's going to be
advantages and disadvantages for example I think Livewire does the filters in a perfect way where I don't have to worry about I I can keep them in the URL State and then I can have them be sync if I choose a different page or a different component but the reason why I am so Drilling in of this whole text stack is the thing that you should look at something and say I know exactly how to build it is that's what went into my mind and that's why I wanted to rant on
this video I saw this demo and I thought in my mind oh I know exactly how I build this with Livewire volt over here and I know exactly how I would use tail one with alpine to do some of this animations and I know exactly how I would do pagination within Lille and Livewire the moment you have an idea and you think to yourself I know exactly how
to iterate I know exactly how to build I know exactly how to implement that idea within my specific text stack or within a specific text stack then I know that you are on your way to Contin continuing to learn as best as you can because building Within a tech stack isn't just I am choosing the best options for this particular job that's great most of the time you're going to have to do that whether in a job or even within like
your personal projects you can learn something new I do it all the time and I say hey this would be a great example for me to learn Phoenix or Learn Python or what have you and that's great but your text stack should be something where you can automatically look at it and say I know how to do this I know how I would do this I know why I would do this and I know that even if this not might not be the best option for the given the
given solution or given problem at hand I know how to get at least 90% there it's been my tech stack for coming up on two years now it's been my tech stack for all of this year it's been my tech stack through videos through getting hired by the laravel team and it's going to continue by being my tech stack for a little bit of time now at least and until then I'm going to keep building keep creating so why don't you do the same keep creating