7
uziiuzair
25d

I have read people talk about how “Laravel makes PHP fun”. I don't get it. I really hate frameworks. Yeah they may simplify tasks. But the way I see it, you now have a damn framework that you're never going to bother to understand. You most likely won't read the underlying code, you'll rely on others to release security updates.

Hey yeah it has its benefits, like peer reviewed, and matured code.

But I guess it's just not for me.

SAME GOES FOR WORDPRESS. It does freaking make your life easy, and it's easy money, but I guess it would just annoy me to not be bothered with the underlying code.

Anyway, Imma head on to make my own framework....

Comments
  • 6
    And at that moment, the world got yet another framework. With blackjack, and hookers.
  • 1
    @SortOfTested hahaha I guess that's how it starts.

    I actually did make a sorta framework that I use for all my projects. With how I prefer to organize my code, essential functions and so on.

    I tried many frameworks. It somewhat annoys me at how easy it makes things too.
  • 1
    I 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....
  • 2
    @100110111 I quite recently started using React JS. And it seems a bit fun, but I still prefer writing HTML and CSS over using Javascript to do it all for me.

    However, I have preferred ReactNative for mobile development. Only because I am already familiar with JS.
  • 1
    @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.
  • 0
    Who cares !- if it satisfied the scope of work and not much a threat, I have no problem with it.
  • 1
    You 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 :(
  • 2
    Reinventing 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.
  • 1
    I 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.
  • 3
    Let 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.
  • 1
    Don’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.
Add Comment