Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
And at that moment, the world got yet another framework. With blackjack, and hookers.
100110111145425dI used to love frameworks because they make things easier (I've never used a PHP framework tho), but nowadays I agree. Mostly because so often a framework also enforces soft constraints and sometimes in order to do what needs to be done you have to fight against the framework instead of taking advantage of it.
That said, I'll be keeping using frameworks in front end context because fuck front end and fuck JS....
@100110111 another thing which shocks + annoys me about Laravel. There is a terminal command for a lot of basic tasks.
Like, wanna create an Auth system? Type it into a terminal and Laravel will create all the necessary code and commands for you within seconds.
Like hey, that's pretty cool but you literally just lost control.
Meetife41525dWho cares !- if it satisfied the scope of work and not much a threat, I have no problem with it.
JKyll617625dYou said it, can you do the same amount of work with less effort and does it get you paid? then use it.
Want to do it for the love of it then sure go ahead, but I try not to mix business with pleasure. Sorry Bond :(
Quack7225dReinventing the wheel (especially regarding auth systems or routing) doesnt seem to make sense to me. Too much time loss and room for error. I rather just read the docs, dive into the code and see if it fits my requirements.
But WordPress is only for the those situations where I dont give a shit and need to spit out an ugly website quickly for a small business or something like that.
Have a look at symfony if want more control over your code. It has a slightly different approach where the skeleton version is much more minimalistic and a good starter if want to do most stuff in your own.
impune-pl1624dI really like Spring, i know enough of it to make working applications. Projects made with it seem very clean and well organized to me.
I had an assignment where i had to use Laravel. It took me a few hours to figure out how to set up a project, and then it turned out looking like a mess. Also, for some reason the ORM that is built into Laravel needed a lot of time for simple queries (over 1s for a query that listed all items in a table).
I finished the assignment and 'rm -r'-d everything into oblivion, thinking that i will never use it again if i don't have to.
mcfly52724dLet me show you my perspective, this is my first job, I was hired with zero experience on anything I basically just had some OOP theory .
Me and a couple juniors (there’s no one else) were tasked on a web project and decided to use laravel based on a friend recommendation.
I knew concepts (in theory) like facades, policies, contracts, controllers, etc.. but it was hard to connect the dots in my mind.
So I started working with laravel without any prior PHP knowledge (or real experience on anything). Straight to the framework.
The documentation is great, I started getting results quickly, before taking any step I first look into the doc’s and always find there’s a way to do it along with a clear example, shit I don’t even know SQL, just eloquent orm 🤣, sticking to the framework I was able to connect the dots and now everything makes sense.
I’m definitely taking the time to learn the framework and been learning some PHP along the way and source diving the framework.
mcfly52724dDon’t get me wrong I would love to acquire the knowledge to be capable of doing all this shit from scratch. But if i had tried to do it like that I would have already quitted this career out of frustration on my first job and the project would have failed miserably a long time ago. So doing things backwards have worked out for me so far. What I need now is mentorship because it’s me vs. the dev world, so any advice is welcomed.