CSS as Backend????? | Prime Reacts

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 159

  • @rthurJ
    @rthurJ ปีที่แล้ว +491

    Style in the streets, Server in the sheets

    • @semyaza555
      @semyaza555 ปีที่แล้ว +5

      BRUHHH

    • @Blast-Forward
      @Blast-Forward ปีที่แล้ว

      Frontwind is blowing through the streets.

    • @postsupremacy
      @postsupremacy ปีที่แล้ว

      serve her in the sheets 😮

  • @stevenb3315
    @stevenb3315 ปีที่แล้ว +128

    I love that the suggestion being made by tailwind is that it is making it easier (running with a tailwind). Headwind (a front facing wind) for backend is perfect. Making your life needlessly difficult

  • @aidanfarhi4582
    @aidanfarhi4582 ปีที่แล้ว +151

    All that’s missing is the COBOL front-end and SharePoint as the database.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  ปีที่แล้ว +41

      those are good ideas

    • @xpamamadeus
      @xpamamadeus ปีที่แล้ว +7

      chadstack v2 ?

    • @hanifarroisimukhlis5989
      @hanifarroisimukhlis5989 ปีที่แล้ว +2

      Sharepoint as object store, and Access as RDB

    • @loganhall1529
      @loganhall1529 ปีที่แล้ว +2

      Don't forget Power Automate HTTP connector for your public facing REST API :D

  • @disruptive_innovator
    @disruptive_innovator ปีที่แล้ว +95

    I laughed exactly this hard when I heard javascript was getting used on the backend.
    So now in the back of my mind is a little twinge of fear: what if "headwind" becomes a thing?

  • @MrAlanCristhian
    @MrAlanCristhian ปีที่แล้ว +144

    Tom is so genius that he can leave alerts on and they will not disturb the video.

    • @MrAlanCristhian
      @MrAlanCristhian ปีที่แล้ว +10

      @@tommycallsuback tom is an 10x programmer and a genious

    • @rj7250a
      @rj7250a ปีที่แล้ว +9

      @@tommycallsuback The creator of JDSL, JSON as code. The greatest programming language of all time.

  • @jayshartzer844
    @jayshartzer844 ปีที่แล้ว +15

    "Your programmers were so preoccupied with whether or not they could that they didn't stop to think if they should" - Dr I/O Malware, Legacy Park

  • @maulanamalique
    @maulanamalique ปีที่แล้ว +33

    Finally, we can hack NASA using CSS

  • @capsey_
    @capsey_ ปีที่แล้ว +70

    Tom is a genius, but he's not enough genius to make CSSDL

    • @kenonerboy
      @kenonerboy ปีที่แล้ว +10

      I love that the memes still alive

    • @serchtul
      @serchtul ปีที่แล้ว +5

      Came looking for a CSSDL comment. Was not disappointed.

  • @daedalus5070
    @daedalus5070 ปีที่แล้ว +9

    @14:07 gave me flashbacks to an old client that wanted us to print out a copy of each page of the site we were developing for him so he had a backup.
    We even had to mail it out to him as he was refusing to pay his bill 😢

    • @DMWatchesYoutube
      @DMWatchesYoutube ปีที่แล้ว +2

      A picture of the site, or source code?

    • @daedalus5070
      @daedalus5070 ปีที่แล้ว

      @@DMWatchesTH-cam Each page of the site, not the code.

    • @DMWatchesYoutube
      @DMWatchesYoutube ปีที่แล้ว +1

      @@daedalus5070 Jesus christ 🤣

    • @daedalus5070
      @daedalus5070 ปีที่แล้ว +4

      @@DMWatchesTH-cam I used to imagine him handing it to another agency saying he wanted to move the hosting and just hands them 7 sheets of A4 😂

  • @lkjhoiuy97yjhgghfyrthgvjhguty
    @lkjhoiuy97yjhgghfyrthgvjhguty ปีที่แล้ว +13

    I learned CSS2, CSS3 came and it took a while to learn it, still don't know which align-[items|content|self] to use sometimes. Now they are piling on container queries, new view port units, layers, nesting, subgrid, etc.
    Tailwind is a savior

    • @TheNewton
      @TheNewton ปีที่แล้ว +2

      until you actually need to know how those things at which point tailwind has robbed you of something vital

    • @tensor5113
      @tensor5113 ปีที่แล้ว

      ​@TheNewton it's not a fundamental law of nature(css), just style your website with whatever method allows you to convert the most users in the shortest amount of time. If it's done in webflow, tailwind or whatever, as long as results are met, it doesn't matter

    • @itsme_indira
      @itsme_indira ปีที่แล้ว

      ​@@tensor5113I agree, use the tools you know the most so you don't get fcked up everytime you go back and change something.
      Seriously, I am tired of fundamentalists. It's a fcking tools, not a Bible or Qur'an to be followed. You won't be damned to hell if you use Tailwind.

  • @AbhinavKulshreshtha
    @AbhinavKulshreshtha ปีที่แล้ว +22

    There was someone who made a whole multi stage game in pure CSS for one of those online css contests. It was really good game. Let me see if I remember where it was hosted.

    • @phrasedparasail9685
      @phrasedparasail9685 ปีที่แล้ว

      Did you ever remember where it was hosted?

    • @sciencedude22
      @sciencedude22 ปีที่แล้ว +4

      @@phrasedparasail9685 bruh it's been 6 hours let them cook

    • @MysticalStd
      @MysticalStd ปีที่แล้ว +3

      ​@@sciencedude22Bro overcooked I think 🤔

    • @damirock98
      @damirock98 3 หลายเดือนก่อน +1

      @@sciencedude22 Almost a year cooking

  • @TheNewton
    @TheNewton ปีที่แล้ว +3

    CSS is progressing as the true procedural programming language for full stack development.
    We're still missing the ability to compose selectors & rules out of other selectors & rules but maybe the Houdnini spec will open such doors.

  • @rotteegher39
    @rotteegher39 ปีที่แล้ว +16

    I already see it! HTMX on frontend and CSS on the backend. Powered with leptos and actix! 💀

    • @soooslaaal8204
      @soooslaaal8204 ปีที่แล้ว +9

      I would honestly prefer to scrape off my entire skin with sandpaper

    • @vanjazed7021
      @vanjazed7021 ปีที่แล้ว +2

      ​@@soooslaaal8204mental self flagellation to physical self flagellation pipeline

  • @xplinux22
    @xplinux22 ปีที่แล้ว

    `float` like a butterfly, sting like a .

  •  ปีที่แล้ว +1

    “Float is the best. We all float here.” - The Pennywise’agen

  • @mcpecommander5327
    @mcpecommander5327 ปีที่แล้ว +1

    All the data- and double dash things are data attributes and css variables, respectively. So, POST requests weren’t added to CSS in the spec, but rather with the interpreter

  • @lingdocs
    @lingdocs ปีที่แล้ว +4

    loved the arrow function rant at 10:30, but arrow functions with variables are nice when you wanna be really pure-function-y and _avoid the return statement_ ala `const add = (a, b) => a + b;`

  • @vikramkrishnan6414
    @vikramkrishnan6414 ปีที่แล้ว +1

    Shit like this is why aliens have stopped visiting us.

  • @chris-pee
    @chris-pee ปีที่แล้ว +1

    btw the "Doom on the pregnancy test" doesn't run on the pregnancy test, he used just the display of the test, connected to some microcontroller.

  • @caerphoto
    @caerphoto ปีที่แล้ว +1

    Truly cursed is the idea of a CSS state machine. There's an article on CSS Tricks explaining how to make one.

  • @shroomteacube
    @shroomteacube ปีที่แล้ว +16

    Prime I am your long lost son

  • @NeilHaskins
    @NeilHaskins 11 หลายเดือนก่อน

    "You wouldn't download a website" gives off some early 2000s vibes.

  • @PS3PCDJ
    @PS3PCDJ ปีที่แล้ว +1

    In 20 years: A new CSS framework for all your web needs.

  • @jlucsx
    @jlucsx ปีที่แล้ว +2

    16:25 this is "data-*" HTML attributes, Prime. CSS can access them as a "normal" selector.

    • @TheNewton
      @TheNewton ปีที่แล้ว

      Formally it's 'attribute selector' syntax; example get all relative links on page: a[href^='/']

  • @sudoscientist255
    @sudoscientist255 ปีที่แล้ว +1

    Back when I was learning Python I was building a OSINT framework. Didn't understand sys.path and thus didnt even try using importlib (to run arbitrary other python scripts from entrypoint). Instead, went ahead and wrote implementation using dynamic programming (which I didnt know as a concept) to have an input() menu and dynamically write out to bash files to run the selected script. Then would use os package to execute `./*.sh` from a virtual shell (after having failed trying to dynamically write out to python files and dynamically execute them using the same method. p.s. could probably get it working now but refuse). so had python conditionally writing to bash files and executing them which would then execute other arbitrary python scripts. Impressed? I know you are. P.S.2 - when you try doing this method with an extra bash+py layer (5 total), you will automatically have your mental lexicon of English transpiled to a mixture of Python, Prolog, and hyperscript. Just say 'yes please' into your camera and use your speaker as a mic, then transmit pythagorean-tuned FM packets from your frontal lobe and you'll be teleported to holographic pleroma of a webgl powered miami FL where we'll take a spring coding break

  • @FrederikSchumacher
    @FrederikSchumacher ปีที่แล้ว

    There's one aspect of using arrow-functions not covered by named function syntax: constness.
    const f = ()=>"foo"; f = ()=>"bar"
    is a syntax error. Whereas
    function f() { return "foo"}; function f() { return "bar" }
    is "perfectly valid" JS unlike
    const function f() { return "foo" }
    which is a syntax error. And that's because function f() {} is semantically
    var f = function() { return "foo" }
    and includes the awesome brain-wrecker heisenbug potential that is var hoisting.

  • @epicturnip
    @epicturnip ปีที่แล้ว

    The question is… is I could? 😂
    I’m legit adopting that phrase in my every day life now as much as possible. 😂

  • @FrederikSchumacher
    @FrederikSchumacher ปีที่แล้ว +2

    Making something do something it wasn't intended to do is like masturbation: it's fun and self-serving, no shaming, no judgment. But please keep it at home and don't start doing it at work or in public.

  • @8koi245
    @8koi245 ปีที่แล้ว

    We kept thinking if whether we can or not, but didn't stop to think if we should

  • @SimoLPers
    @SimoLPers ปีที่แล้ว +4

    I'd definitely love to see a css lexer written in css!

  • @aidanbrumsickle
    @aidanbrumsickle ปีที่แล้ว +3

    Now that's clean code

  • @TVfen
    @TVfen ปีที่แล้ว

    --footer: is a thing ... because is just a simple CSS variable, you could easily create --pimeagen: and put some value afterwards, and it will work the same, LOL.

  • @felinedis
    @felinedis ปีที่แล้ว +1

    Cascading in the streets, styles in the sheets 😎💅

  • @ionmiron3372
    @ionmiron3372 ปีที่แล้ว +10

    next one: sql as css

    • @GoddamnAxl
      @GoddamnAxl ปีที่แล้ว +1

      I think this might actually be doable. Both languages are basically using the simple paradigm of “select something then apply attribute to it”. Maybe we can at least implement a basic level transpiler

    • @ionmiron3372
      @ionmiron3372 ปีที่แล้ว

      @@GoddamnAxl oh it seems to be real, saw a reddit comment about this topic a while ago, absolutely despicable 😁😁

    • @TheNewton
      @TheNewton ปีที่แล้ว +1

      @@GoddamnAxl basically HTML table manipulation with display:none; very fast.

  • @dandogamer
    @dandogamer ปีที่แล้ว +2

    Damn we got a v16 engine, does it run on jDSL tho?

  • @FastRomanianGypsies
    @FastRomanianGypsies ปีที่แล้ว

    Tom dethroned by Pascal with CSS 2.0

  • @Rundik
    @Rundik ปีที่แล้ว +3

    "version": "yes"

  • @nitsanbh
    @nitsanbh ปีที่แล้ว

    Finally the debate is closed, CSS is a PROGRAMMING LANGUAGE

  • @badcalculon
    @badcalculon ปีที่แล้ว

    Another example is a tiling window manager and workspaces. Every windows implementation has been bad and has scared people off. Whenever I see someone try tiling and workspaces, they stick with it.

  • @TheNewton
    @TheNewton ปีที่แล้ว +1

    13:04 could've been worse than a PDF interpreter by rendering the html/dom to canvas or an image then use OCR.
    Though you'd probably want to use firefox to leverage its element() css function if not just outright using screenshotting.

  • @js-ny2ru
    @js-ny2ru ปีที่แล้ว

    "Some Men Just Want to Watch the World Burn"

  • @xgirvel
    @xgirvel ปีที่แล้ว

    People use lambda assignment instead of function definition because js is a dynamic language; function definition is basically an assignment of a function to a constant, why should it have different syntax than any other assignments?

  • @sortof3337
    @sortof3337 ปีที่แล้ว +6

    This is just javascript with extra steps.

  • @stevenhe3462
    @stevenhe3462 ปีที่แล้ว

    Headwind is actually a Tailwindcss formatter that sorts the classes/

  • @andzagorulko
    @andzagorulko ปีที่แล้ว +5

    Rust for frontend, css for backend

    • @F100cTomas
      @F100cTomas ปีที่แล้ว +2

      Nah CPP as the frontend, CSS as the backend for more pain.

    • @TheNewton
      @TheNewton ปีที่แล้ว

      you can do that throurh webasm , the circle is almost complete

  • @TheCheD3
    @TheCheD3 ปีที่แล้ว

    I thought you couldnt get worse than my MS Teams frontend, Flow backend, Excel database. My hubris knows no bounds

  • @catcatcatcatcatcatcatcatcatca
    @catcatcatcatcatcatcatcatcatca ปีที่แล้ว +1

    Why would I try this at home? The obvious place to implement this is at your workplace!

  • @krtirtho
    @krtirtho ปีที่แล้ว

    I was eagerly waiting for him to say, peniswind for backend CSS

  • @SnS-SpartaN
    @SnS-SpartaN ปีที่แล้ว +1

    *_Using power point as a data base_*

  • @BhargavSushant
    @BhargavSushant ปีที่แล้ว +1

    Can we prosecute this Thormier under Geneva conventions ?

  • @qlum
    @qlum ปีที่แล้ว

    I honestly quite enjoy CSS to work with, that being said even I would not use this in production.
    Also fuck tailwind, it mostly just creates unreadable HTML

  • @ssokolow
    @ssokolow ปีที่แล้ว +1

    "Double the V8"? Wasted opportunity to say it sounds like a vegetable juice commercial.

  • @zebraforceone
    @zebraforceone ปีที่แล้ว +1

    Tom would leave alerts on

  • @DMWatchesYoutube
    @DMWatchesYoutube ปีที่แล้ว +3

    Sounds like that could cascade your server side problems

  • @wlockuz4467
    @wlockuz4467 ปีที่แล้ว

    That was disappointing. Using Express and then saying its a CSS backend. It is the equivalent of using a templating language.
    I expected him to somehow make a compiler for CSS that would handle the requests, routing and basically everything that Express is doing here.

  • @scriptjungle
    @scriptjungle ปีที่แล้ว

    Missing the sources to the articles in the descirptions of the last videos. Was a thing that i really appreciated your videos for. Without it kinda loses me.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  ปีที่แล้ว +1

      i have a new method for getting the sources, they will be in all future videos

    • @scriptjungle
      @scriptjungle ปีที่แล้ว

      @@ThePrimeTimeagen Thanks for the fast response .)! With that in sight i for sure gonne stick arround - lookin forward to it!

  • @rajeepthapa5426
    @rajeepthapa5426 ปีที่แล้ว

    css as backend is a cursed word

  • @AndrewTSq
    @AndrewTSq ปีที่แล้ว +3

    I thought it was gonna be some real cool thing, that someone figured out a way of writing css runable code, but no its just nodejs in teh background.

    • @ea_naseer
      @ea_naseer ปีที่แล้ว +1

      i was thinking if this person can get something like a finite automata going completely in CSS then it might be possible to do CSS on the backend... but then I saw npm and gave up.

    • @kylepulman
      @kylepulman ปีที่แล้ว

      And Puppeteer, no less. That's definitely cheating lol

    • @lunafoxfire
      @lunafoxfire ปีที่แล้ว +2

      wow it turns out that to interpret CSS you need something that can interpret CSS my disappointment is immeasurable and my day is ruined

    • @TheNewton
      @TheNewton ปีที่แล้ว

      ​@@lunafoxfire it's not like we can pipe a response directly to a server browser > get it's rendered output > and pipe that back to a client-browser with ONLY http requests.
      There has to be some sort of interim language at minimum for the logistics of the message passing.
      Reminds me a bit though of how services like fermyon's spin are now providing runtime environs for web assembly; in that we are kinda already piecemealing frontend tech.

  • @thingsiplay
    @thingsiplay ปีที่แล้ว

    Pascal is a genius.

  • @sayeddileri3461
    @sayeddileri3461 ปีที่แล้ว

    I’m so scared of what web development has become. I just miss making everything with c++ (I’m a frontend dev)

    • @girlswithgames
      @girlswithgames ปีที่แล้ว +1

      >I just miss making everything with c++
      this never was a thing lol

  • @andyMutale
    @andyMutale ปีที่แล้ว

    Now i can be a fullstack htmx css dev

  • @djupstaten2328
    @djupstaten2328 ปีที่แล้ว

    The words "cascading" and "server" should ideally not be in the same sentence.

  • @RREEJJEECCTTEEDD
    @RREEJJEECCTTEEDD ปีที่แล้ว

    Worse than printers? What if: Printer Data File 👀

  • @andrewshorts1198
    @andrewshorts1198 ปีที่แล้ว

    15:45
    This is the juicy part. The rest of the time he's just rambling. You're welcome in advance

  • @dotnetapp7503
    @dotnetapp7503 ปีที่แล้ว

    can i use tailwind with the backend?

  • @fredericbrown8871
    @fredericbrown8871 ปีที่แล้ว

    Doing things that shouldn't be done... like a Java to C converter compatible with my graphing calculator's GCC compiler... with heap allocated strings by default!

  • @Tobsson
    @Tobsson ปีที่แล้ว

    Is this a Tom thing? It sure feels like Tom. Tom is a genius.

  • @f-person
    @f-person ปีที่แล้ว

    > Smartest man alive
    Terry D.? 👀

  • @quelchx
    @quelchx ปีที่แล้ว +1

    Here we go

  • @baguettedad
    @baguettedad ปีที่แล้ว

    TheAlertagen remembered to turn off alerts 🥰

  • @bassjio
    @bassjio ปีที่แล้ว

    How are you going to react to an article and not put the article link in the description?

  • @FallenHunter1
    @FallenHunter1 ปีที่แล้ว

    You May Live to See Man-Made Horrors Beyond Your Comprehension

  • @micalevisk
    @micalevisk ปีที่แล้ว

    Now we have CSS in JS and JS in CSS 🎉

  • @RandomGeometryDashStuff
    @RandomGeometryDashStuff ปีที่แล้ว

    07:11 why `extended: true`?

  • @Iswimandrun
    @Iswimandrun ปีที่แล้ว

    ShardedPreferences as a document store I did it

  • @ratoshi21
    @ratoshi21 ปีที่แล้ว

    tailwind as a backend is next

  • @Tony-dp1rl
    @Tony-dp1rl ปีที่แล้ว

    This could probably have been done with a few RegEx patterns :)

  • @digibrett
    @digibrett ปีที่แล้ว

    PregoDoom needs a bit of dithering or something...

  • @castroitalo_
    @castroitalo_ ปีที่แล้ว

    "sql-connection-background-color": blue;

  • @80sixd
    @80sixd ปีที่แล้ว

    'headwind'

  • @Jack-oi8gn
    @Jack-oi8gn ปีที่แล้ว

    I miss the "We are webmasters" era...

  • @homelessrobot
    @homelessrobot ปีที่แล้ว

    I don't get why we are always trying to protect people from their own stupidity. If they want to use a pillowcase full of cheetos as a couch cushion `in production`, let 'em.

  • @oleg4966
    @oleg4966 ปีที่แล้ว

    This is why JS coding is such a junkheap.
    Because people keep trying to resolve their own idea's logical inconsistencies by throwing workarounds at the problem until the problem breaks.
    It's not CSS backend - it's JS backend that uses the CSS as a completely unnecessary and useless model-ish thing. Except it's not even a model, because there is no database - it's merged with the database.

  • @hkupty
    @hkupty ปีที่แล้ว +1

    Seems like someone is smarter than Tom

  • @aodfr
    @aodfr ปีที่แล้ว

    Skyrim is trying to beat doom at its own game. Is it a good idea for them? I dont know.

  • @0xbyt3z
    @0xbyt3z ปีที่แล้ว

    tailwindcss is already backend. cause it is tail.

  • @nullbeyondo
    @nullbeyondo ปีที่แล้ว

    Say what now?

  • @Fanaro
    @Fanaro ปีที่แล้ว

    More like V64

  • @READERSENPAII
    @READERSENPAII ปีที่แล้ว

    CSS is so cool.

  • @onyekaogbusuo3157
    @onyekaogbusuo3157 ปีที่แล้ว

    Floats?... Better?... No please 😢

  • @yuri0001
    @yuri0001 ปีที่แล้ว

    It's beautiful, I hate it.

  • @91markus
    @91markus ปีที่แล้ว

    Wth, is this real?

  • @frittex
    @frittex ปีที่แล้ว

    please do not

  • @rod6722
    @rod6722 ปีที่แล้ว

    NO GOD! PLEASE NO!!! NOOOOOOOOOO!!!!

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  ปีที่แล้ว

      yet... oh just yet you want to see it happening

  • @jsm33t
    @jsm33t ปีที่แล้ว

    i want sql frontend

  • @TopOppTy
    @TopOppTy ปีที่แล้ว

    Watch at 1.5 speed if you have ADHD

  • @svecs132
    @svecs132 ปีที่แล้ว

    someone make regex as backend

    • @richardwelsh7901
      @richardwelsh7901 ปีที่แล้ว

      Some people just want to watch the world burn

  • @AliHassan-iy1eb
    @AliHassan-iy1eb ปีที่แล้ว

    Primeagon is a 10 but he says squeel 🙂
    ~pff

  • @towatch
    @towatch ปีที่แล้ว

    1 = 2

  • @bombrman1994
    @bombrman1994 ปีที่แล้ว

    float yourself