Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Tankakern
Jul 25, 2007

static html served with python -m http.server

Adbot
ADBOT LOVES YOU

Tankakern
Jul 25, 2007

in a screen session

Tankakern
Jul 25, 2007

started through /home/user/.config/autostart/webserver.desktop

jesus WEP
Oct 17, 2004


did you consider just starting a wiki op

Jewel
May 2, 2009

ty for all the suggestions everybody!! a lot of people saying "static html" but, like, you still have to.. write code using a framework so you don't go insane writing raw html by hand. you can just compile it down to static html later and route it however you want. some unfortunately large and complex requirements emerging so I'm pretty resigned to node or asp at this point

also i'd love to use something like blitz/next but every step of the way i have lawyers breathing down my neck making me run every single desired package past them and I think it's going to be a huge pain in the rear end

graph
Nov 22, 2006

aaag peanuts

Tankakern posted:

static html served with python -m http.server

this is a great way to test ports/firewalls fyi

Truman Peyote
Oct 11, 2006



if the problem with static HTML is that you have to write it by hand, why not something like Jekyll or Hugo, and just slap it behind nginx?

Bored Online
May 25, 2009

We don't need Rome telling us what to do.
surprisingly the answer is rails

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

Bored Online posted:

surprisingly the answer is rails

i mean this really depends on what the question is

abigserve
Sep 13, 2009

this is a better avatar than what I had before
Python that only serves a pure API and use react + typescript on the front. Use bootstrap-react or whatever it's called to minimise the amount of html you need to give a poo poo about.

Kernel Sanders
Sep 15, 2020

abigserve posted:

Python that only serves a pure API and use react + typescript on the front. Use bootstrap-react or whatever it's called to minimise the amount of html you need to give a poo poo about.

i can’t wait for this trope to die out. unless your app does _a lot_ of business logic on the client side you’re setting yourself up to maintain two stacks & toolchains and a bunch of operational complexity just to show a few forms.

rails/.Net core with razor pages will get you done before you’ve npmed all the packages you need to start react. add htmx if you want fancy async updates.

abigserve
Sep 13, 2009

this is a better avatar than what I had before
You can start and package react apps with two commands lmao

Kernel Sanders
Sep 15, 2020
still need to maintain it and context switch between python and typescript

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?
use lisp, OP

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

abigserve posted:

You can start and package react apps with two commands lmao

well, dont leave us hanging. which two?

abigserve
Sep 13, 2009

this is a better avatar than what I had before

fart simpson posted:

well, dont leave us hanging. which two?

Create react app and then npm package or export or something I can't remember

All I know is that it was good enough for my dumbass back when I was a neteng writing bespoke monitoring tools

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

thank you

Zlodo
Nov 25, 2006

Jewel posted:

i'm a tools prog for a gamedev company and currently all our web based tooling is either raw hand-written html+js served from a static web service (being phased out which is why we're looking into moving to a proper stack),

Insomniac games did the same thing and have shared some great insight about it
https://deplinenoise.files.wordpress.com/2017/03/webtoolspostmortem.pdf

tl;dr its trash and they rewrote everything in c++/qt

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

Zlodo posted:

they rewrote everything in c++/qt

lol

Agile Vector
May 21, 2007

scrum bored



abigserve posted:

Python that only serves a pure API and use react + typescript on the front. Use bootstrap-react or whatever it's called to minimise the amount of html you need to give a poo poo about.

probably reactstrap? nice boilerplate components

Shaggar
Apr 26, 2006

Zlodo posted:

Insomniac games did the same thing and have shared some great insight about it
https://deplinenoise.files.wordpress.com/2017/03/webtoolspostmortem.pdf

tl;dr its trash and they rewrote everything in c++/qt

man i could have told them this was gonna be the outcome

Jewel
May 2, 2009

Zlodo posted:

Insomniac games did the same thing and have shared some great insight about it
https://deplinenoise.files.wordpress.com/2017/03/webtoolspostmortem.pdf

tl;dr its trash and they rewrote everything in c++/qt

we're also C++ devs doing web tooling but the difference is it's not big complex game creation tools that artists will be using, it's backend tooling like managing the store or scheduling events, etc. we still have c++ native tooling for the stuff that should be software. i can def see what went very wrong on their end, sounds like hell lol

Jewel fucked around with this message at 22:08 on Jan 13, 2022

Cybernetic Vermin
Apr 18, 2005

the op manages to be long and still amount to a really ill-posed question.

Jewel
May 2, 2009

Cybernetic Vermin posted:

the op manages to be long and still amount to a really ill-posed question.

yeah I didn't want to reveal too much because I feel bad talking about internal things online, didn't have a great grasp on the full range of requirements, AND I'm generally just bad at english :)

I did get some good insight into people's opinions though, so I'm happy w the responses

Best Bi Geek Squid
Mar 25, 2016
95% of yospos is bad at english but it doesn’t stop them

cowboy beepboop
Feb 24, 2001

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Zlodo posted:

Insomniac games did the same thing and have shared some great insight about it
https://deplinenoise.files.wordpress.com/2017/03/webtoolspostmortem.pdf

tl;dr its trash and they rewrote everything in c++/qt

skimmed through this and started laughing irl when it got to the first screenshot of their "web tools"

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

Best Bi Geek Squid posted:

95% of yospos is bad at programming but it doesn’t stop them

SpaceAceJase
Nov 8, 2008

and you
have proved
to be...

a real shitty poster,
and a real james
PHP is cool now. Use a TALL stack.

Laravel..
I'm working on a project with it atm and it's not terrible to deal with

Adbot
ADBOT LOVES YOU

DrPossum
May 15, 2004

i am not a surgeon
code:
echo -e "HTTP/1.1 200 OK\n\n<html>ypospos bithc</html>" | nc -l 80

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply