From my experience, I have seen python being used as a server-side language only relatively recently (but perhaps I just haven’t been around the right groups of people who love Python). Originally, people (as far as I know) used Java, C#, and PHP. If someone was running a website, it was most likely PHP or Java (and not Python). If python was used for web servers before PHP/Java (like Django) in a stable fashion, then I am simply unaware of it and will have to read up on that. — Bob Ross
I will have to checkout Django sometime though. Is it minimalistic or bloated? — Bob Ross
With SPAs, different views are rendered (and actions completed) in the browser without loading a new page or refreshing, using JavaScript to invisibly communicate with the server. Often, all the necessary HTML, JavaScript, and stuff are downloaded once, when you log in. — Jamal
I abhorred these things when they first came out. If your internet is not good or perhaps is throttled due to reaching an allotted usage level, nothing would ever load and worse never told you it didn't. They seemed to have improved it by forcing a manual redirect/better fail-safes in more robust frameworks but there was nothing like clicking a link or performing an action and the browser itself telling you "hey it failed" right when it did so you knew to refresh or try again later. Just my 2 cents. — Outlander
Which websites for example offer this truly "one page" browsing in entirety?
Where you visit example.com and every action or section never changes the URL regardless of the intricacy or specificity of the action? — Outlander
Gmail slack Trello Netflix and grammarly — flannel jesus
Well sure, but what is an email web client but a collection of notes, albeit most sent by others and to and fro. If you do anything but opening a note or adding to it (responding to an e-mail) say, changing account settings it does a full redirect to a different URL. — Outlander
There were three things you said or implied that I took objection to: (1) that Python is a new language or at least a new language for web development
(2) that Python and/or Python frameworks have not been properly tested and are unstable or insecure
(3) that PHP belongs in the same language ballpark as Java.
What I did not claim is that Python was used in web development before PHP was; as far as I know the Django guys were the first to use it to build websites. But twenty years (since Django was released) is a decent length of time, and its record is very good. And yes, PHP has always been more popular as a way of building websites.
Java and Python are general purpose languages that can do anything, and on the other side you have PHP and JavaScript, which are just scripting languages
It's a difficult question to answer without knowing what you mean, but depending on which way you look at it, it's both. Flask, on the other hand, is certainly minimalist. But Django adheres strongly to conventions and paradigms, such as DRY, and the separation of concerns of MVC (although they use different nomenclature and slightly different structure, namely model-view-template), so it's a good coding experience. Things never got messy for me in Django, as they definitely did when I was building in JavaScript frameworks.
But since you don't like Python, there's little point in wasting your time on it.
So I say, enjoy your PHP :cool:
Gmail settings will not load a new page. — Jamal
Java and Python are general purpose languages that can do anything, and on the other side you have PHP and JavaScript, which are just scripting languages
I get what you mean, but I wouldn’t classify them this way. — Bob Ross
It is not that I don’t like Python, but, rather, I don’t think it is a good server-side language for web development — Bob Ross
I like magic most when there's a clear way to demystify what's actually happening underneath the hood. The biggest problem with magic that you can't demystify is that it's hard to predict what other kinds of things you can and can't do with it, you know? — flannel jesus
I've got a bug related to sessions and it's so hard to find out what's going on there! — flannel jesus
Aside from wanting to control the data and code, I'd actually be perfectly satisfied with the way Plush works with just a few changes, like better tools for moderation, "zen mode" post composing, Markdown support, dark mode, and ignore lists. — Jamal
(I know that for dark mode I could just use Stylebot as you suggest, but this is about built-in functionality; as admin I need to see what most people see). — Jamal
This is what makes a decision to move to another platform a big and difficult one. — Jamal
Incidentally, it always sounds odd to me when I see people saying that discussion forums are dead (because Reddit, social media, and Discord). I guess my experience is not normal. — Jamal
Although the Plush folks assure me that PlushForums will be maintained for the foreseeable future, they don't seem very interested in adding new features, perhaps because they've been putting most of their efforts into their new platform https://insta.forum/ (totally moving away from long-form, so not suitable for us). — Jamal
In my world the framework that's famous for hidden magic is Rails, whose principle is "convention over configuration". On the other side, the Python folks say "explicit is better than implicit." The two are definitely in conflict. — Jamal
Is this maybe the reason why some sites are quite slow in loading? I guess they must be the ones with a huge content. Do you know any of them --that use this method-- so I can check if this is true?Often, all the necessary HTML, JavaScript, and stuff are downloaded once, when you log in. — Jamal
Is this maybe the reason why some sites are quite slow in loading? I guess they must be the ones with a huge content. Do you know any of them --that use this method-- so I can check if this is true? — Alkis Piskas
Yes, I meant that. Of course it might difficult to tell. But each now and then I see huge "home" pages --where the word "home" has lost its meaning-- or some huge single-page sections of the site. And I'm wondering why? Why should one have to scroll for hours in order to find an information? Even if you try to use "Search in page", it doesn't help because the single page grows dynamically as you scroll down. (But at least this is done dynamically.) Quora has a lot of such sections and one has to bear that awful system. The more logical and also "human" way is to split pages abd have an\ numbered index of links for jumping to a certain page no. Exactly how it is done in TPF (topics, comments, mentions, etc.).If you mean the ones that load everything up-front, rather than those that use code splitting, I’m not sure. — Jamal
Get involved in philosophical discussions about knowledge, truth, language, consciousness, science, politics, religion, logic and mathematics, art, history, and lots more. No ads, no clutter, and very little agreement — just fascinating conversations.