https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • f

    freezing-waitress-26396

    11/16/2022, 5:43 PM
    No framework is literally the most natural feeling, but because of the nature of our projects there has to be some sort of abstraction layer with templating.
  • f

    freezing-waitress-26396

    11/16/2022, 5:44 PM
    Isolated processes 🙏
  • r

    refined-waiter-90422

    11/16/2022, 5:44 PM
    The only serious drawback with PHP that I'm experiencing - if your processes go over 0.1, 0.5 or even 1 second, you start running into scaling. Gotta keep latency low.
  • r

    refined-waiter-90422

    11/16/2022, 5:44 PM
    But if you do, shit, PHP is fast now.
  • f

    freezing-waitress-26396

    11/16/2022, 5:46 PM
    Ironically, I've been maintaining and updating a homebrew legacy PHP4 framework (by ex dev) to 8.1 over time and it's one of the fastest things imagineable because it's so extremely close
  • f

    freezing-waitress-26396

    11/16/2022, 5:46 PM
    But it becomes an unmaintainable mess, hence the attempt
  • r

    refined-waiter-90422

    11/16/2022, 5:46 PM
    Yeah. No other language or framework has had life like that. Dude, PHP is a sleeper language honestly.
  • r

    refined-waiter-90422

    11/16/2022, 5:47 PM
    I have sites from 2010 that I still run thanks to PHP
  • f

    freezing-waitress-26396

    11/16/2022, 5:47 PM
    If anyone has suggestions for a PHP + HTMX framework approach I'm open for suggestions 😄
  • f

    freezing-waitress-26396

    11/16/2022, 5:47 PM
    oh well that's what #939530480636809227 is for
  • r

    refined-waiter-90422

    11/16/2022, 5:48 PM
    Also PHP has had file based endpoints forever, as recently adopted by Next.js. Lol.
  • r

    refined-waiter-90422

    11/16/2022, 5:49 PM
    People are realising it was more productive
  • r

    refined-waiter-90422

    11/16/2022, 5:51 PM
    I mean it is what it is. I barely have to do maintenance on my PHP servers, yet my node, python, etc. projects all require intervention once in awhile.
  • r

    refined-waiter-90422

    11/16/2022, 5:52 PM
    It's that process isolation dude, nothing kills it.
  • f

    freezing-waitress-26396

    11/16/2022, 5:55 PM
    die();
    does 😂
  • h

    hundreds-camera-24900

    11/16/2022, 5:56 PM
    I run an agency - keeping barrier to entry low is important, but assuming you're around for the long haul you are going to get a lot of opportunities to work with the same tooling in different situations which will lead to a lot of growth if you have a consistent team
  • h

    hundreds-camera-24900

    11/16/2022, 5:57 PM
    which will help with your ability to create templating/consistency across projects
  • h

    hundreds-camera-24900

    11/16/2022, 5:58 PM
    do you do mostly sass? CMS projects? brochureware?
  • f

    freezing-waitress-26396

    11/16/2022, 6:01 PM
    From enterprise-level web apps (international sample order system working with live API to multiple regional distributors) to simple questionnaire forms. We use CMS for specific requests like company brand websites. Sulu and Wordpress (😩) for example. Sulu is Symfony and works well in an agency context, however its scope most of the time is either over- or underqualified
  • a

    ancient-shoe-86801

    11/16/2022, 6:02 PM
    one of the best side effects of using htmx (and I would say also hyperscript) it that when looking how to do something you spend time on MDN reading about the HTML and HTTP standards instead of on some specific JS library documentation/forum that might be phased out in a few years
  • a

    ancient-shoe-86801

    11/16/2022, 6:03 PM
    that feels much better knowledge to solidify on the long term
  • g

    green-activity-6102

    11/16/2022, 6:03 PM
    i think ive just discovered a bug in the
    head-support
    extension but im having a hard time figuring out exactly im seeing...
    m
    • 2
    • 13
  • f

    freezing-waitress-26396

    11/16/2022, 6:04 PM
    You can always add more knowledge to the stack through additional technology if the project requires it, but the basics for a PHP+htmx approach would be "Do you know PHP? HTML? CSS? Alright you're hired."
  • r

    refined-waiter-90422

    11/16/2022, 6:04 PM
    PHP never dies. htmx / intercooler never dies.
  • r

    refined-waiter-90422

    11/16/2022, 6:06 PM
    That's a big factor I've been considering too lately. Pretty much the only rule about PHP is never block- and if you need to block, make it invoked by cron.
  • r

    refined-waiter-90422

    11/16/2022, 6:06 PM
    PHP is dead easy to onboard compared to anything.
  • f

    freezing-waitress-26396

    11/16/2022, 6:09 PM
    Yes. Plus for example, we run an enterprise level web app that is entirely PHP + HTML + vanilla JS doing ajax calls to PHP + cron, it runs since 2011 and it still just works, the PHP upgrade process was so laughingly small (strict typing was the biggest issue here but nothing that couldn't be solved easily) and the app is just so much faster and responsive now.
  • r

    refined-waiter-90422

    11/16/2022, 6:11 PM
    I will admit too, the most fun and rapid experience I've ever had in a dev job was a zero framework PHP stack. Deployments didn't even require rebooting a daemon or anything, git pull or copy the new scripts in. PHP will just hotload the new stuff in.
  • r

    refined-waiter-90422

    11/16/2022, 6:12 PM
    It's been awhile, but I do remember it fondly.
  • f

    freezing-waitress-26396

    11/16/2022, 6:12 PM
    😌
1...910911912...1146Latest