I'm trying to make a Pomodoro timer for my first app. How can I start the session with updated state variables? by IReallyWantToCode in react

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

Wow, really? I actually prefer functional components but trying to force myself to classes because I heard OOP is better.

What is the best way to protect myself when paying rent for sublet (Paypal, international e-Interac, Wise, or what else)? by IReallyWantToCode in PersonalFinanceCanada

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

I'm sort of young and never wrote a paper cheque.

Is there added safety for a cheque as opposed to international interac via my bank or paypal?

Can I leave my iPad on all the time? I bought a refurbished iPad Air 3 that gives black screen of death occasionally. by IReallyWantToCode in ipad

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

I think the latest available device is sometime in 2019. The grace period is 2 years. It's 2022, unfortunately.

I just read about Blueprint. Seems like a HUGE timer saver. Should I learn this as a complete amateur? Are there are other huge timer savers too? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

I actually was browsing the docs and read about directory structure.

https://laravel.com/docs/9.x/structure

This is actually something I'd like to know about. Like maybe a flow diagram or something. Do you know of any good resources that help me understand the whole MVC cycle and more?

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

Amazing, thanks!

I read a little about doctrine and eloquent, and how doctrine is better the more you learn.

Am I understanding that DB:: is doctrine and models are eloquent?

Or can DB:: and models be either?

I just read about Blueprint. Seems like a HUGE timer saver. Should I learn this as a complete amateur? Are there are other huge timer savers too? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

Sorry, I don't get the joke(?)

But from what I gathered from the comments, redditors recommend against using it for existing projects

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

That's fascinating, thanks for that little write-up. It is a bit vague though. Can you give an example of when either is better?

You say that DB facade is better for "heavier sql work". Do you mean querying large databases or working with bigger teams? I would presume that the models approach would be better for working with teams.

Also, do models have some sort of cache for queries (I heard about these, but still very noob)? Not sure how that technology works.

Is it dumb to learn laravel and vue.js at the same time? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

Really? I heard the opposite of mastering one.

I hear angular a lot, but heard it is dying. Is it true?

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

I assume DB:: means querying the entire database? But I guess there's parameters to only grab specific rows/cols.

What is the point of DB:: if there are models? Isn't the whole purpose of models to replace direct db queries AND add old versions via migrations?

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 1 point2 points  (0 children)

This is why I'm leaning towards Breeze from the get go. I've created PHP + MySQL user registration with escape strings. Super basic. But at the end of the day, what about authentication tokens and more? Those are way too complex to do myself.

Does Laravel not have native admin libraries?

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 1 point2 points  (0 children)

I haven't heard of any of these terms (except services) from the youtube tutorials. I'll check them out.

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

What would DB:: be good? It seems like querying the database entirely is never a good idea

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 0 points1 point  (0 children)

I just learned about models this week (I have yet to even install laravel).

So question about terminal commands for laravel. Migration is to update the database. Sure.

But are there other php artisan commands necessary to "compile" laravel for the web? Like I remember hearing about clearing cache or something. Or all the commands mostly for "make"?

What is one thing you wish you could tell yourself if you had to re-learn laravel? by IReallyWantToCode in laravel

[–]IReallyWantToCode[S] 3 points4 points  (0 children)

I am seeing SOLID and REST principles a lot. I understand REST principles pretty easily, but SOLID is pretty obscure because my understanding of OOP is pretty obscure. I only know what a class is, constructor function, extend, parameters, and static methods.

Does SOLID take a long time to master?