Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @858.45
Activity rating: Four Stars Posts & Arts: 78/1k.beats Random | Recent Posts | Guild Recents
News: :happy: Open the all windows! Your mind needs storms and air! :happy: Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  What backend should I use for Dynamic web


« previous next »
Pages: [1] Print Embed
Author Topic: What backend should I use for Dynamic web  (Read 1892 times)
MediocreMetastasis
Sr. Member ⚓︎
****
View Profile WWWArt


Wishlist Skelecool: Remnants Please!!!
⛺︎ My Room
Itch.io: My Games

Guild Memberships:
Artifacts:
Joined 2025!
« on: an Autumn night » Embed

There's like a trillion billion different programming languages to choose from. I've used flask before but it seems like it's not supported / will cost more on web hosts than using PHP. I also vaguely remember using Node.js for a school project a long time ago. Any recommendations?

« Last Edit: an Autumn night by MediocreMetastasis » Logged


Artifact Swap: The fingerSad DoggoNeutral Doggo
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Bug!You're a Star!Flinstone VitaminI got robbed by Dan Q on Melonland!Always working hard!Known Apple shill
« Reply #1 on: an Autumn day » Embed

Soo this forum is PHP (as are some related services) but most backend features on my sites are NodeJS - they kinda serve different functions!

If your goal is to have a mostly static website with dynamic bits and basic inputs (like posts rendering, or a guestbook etc) then PHP is a better option because you can mix normal HTML and PHP. NodeJS is much better if you want to do complex backend processing (the surfclub is NodeJS, it runs on a loop and screenshots every site in the club and then generates a single complete webpage at the end - it takes almost 2 hours to complete a page). You can do all the same stuff with NodeJS as PHP but it requires MUCH more programming. PHP can also do complex backend stuff too, but it’s clunky and not well suited to it.

So it really comes down to what kinda dynamic stuff you wanna make and how much you enjoy programming. I would say try doing small projects in both and see how it feels, but prob PHP is the one you wanna go with ^^

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Red TulipLurby?here comes the bapSmile on, rainbow flower!Plank
TAS_1K
Casual Poster
*
View Profile


⛺︎ My Room

Artifacts:
First 1000 Members!Joined 2022!
« Reply #2 on: an Autumn night » Embed

All three of the choices mentioned so far (PHP, Python, and JavaScript / Node) are going to have similarly low barriers to entry, but PHP's is probably the lowest just due to how permissive and forgiving it tends to be as a language. JavaScript would be second to that in my mind, followed by Python last, just because of the relative complexity in getting a project set up and deployed.

Like Melon mentioned, PHP allows you to mix HTML and PHP directly in the same file (usually referred to as the "template"), and that can make prototyping a lot easier, especially when you're a newcomer. With Node or Python you're probably going to need to bring in a package to get the same kind of templating, though since you've worked with Flask you may have already done something like this before? I haven't done much with Flask (and it's been like twelve years since I did), so I dunno, but I'd be surprised if they didn't have something like that.

(On a side note as far as templating goes, another benefit of Node would be that you're working with JavaScript on the frontend and backend. So no need to context switch between languages if you find yourself implementing frontend functionality as well.)

PHP is historically the most widely available when it comes to hosting and deployment, but in recent years Node has caught up with it on that front. Most of the shared hosting providers will primarily support PHP, at least in my experience, but take that with a grain of salt because it's been a few years since I've dealt with anything other than Digital Ocean or AWS.

All that being said though, the concepts and skills should be largely transferable between these three languages! So I guess my recommendation would be to just go with whichever one you're getting a gut feeling for and see how it goes.

Logged
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 MelonLand Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap!
Minecraft: Online
Who: lithiumgamma