Discussion: Was ist das beste Framework für Web-Entwicklung? (2024)

netzgestaltung

Ich weiß jetzt nicht was das mit Typen zutun hat... Das ist ein komplett anderes Konzept. Das Problem warum JavaScript ohne Typen so hart ist ist: DU hast kein IntelliSense. IntelliSense ist das so ziemlich praktischste Tool überhaupt, ich hab Programmieren gelernt nur durch dieses Feature.

Wenn du keine Typen hast dann sind ReferenceExceptions quasi minütlich. In einem Team ohne Typen zu arbeiten, da brauchst du entweder verdammt gute Leute, verdammt gute Tester oder du kannst das Projekt gleich einstellen weil es dir um die Ohren fliegen wird. Und wir haben weder das eine noch das andere.

Wie soll man denn bitte damit umgehen? Soll man eifnach vor jedem Property-Zugriff eine Abfrage machen ob die Property existiiert? das würde den ganzen Code verdreifachen ohne irgendeinen Mehrwert. Das ist einfach kein Zeitgemäßes Programmieren, du brauchst Typen.

Das Prototyping ist eine nette Referenz, zweifelsohne, und vielleicht kann man damit auch interessante Dinge machen, ansehen werd ich es mir auf jeden Fall, aber mit Typen hat das kaum bis gar nichts zutun.

Ergänzung ()


benneq schrieb:

Babel ist einer dieser ganzen Compiler. Decorators sind zwar Teil des ECMAScript Standards (bzw. noch in Stage 3), aber werden aktuell in keinem Browser unterstützt. Und wie bekommt man das dann zum laufen? Babel nimmt deine Decorators aus dem Source Code und macht daraus JS Code, der sich identisch verhält, aber ohne Decorators arbeitet.

Ja ich weiß und das ist quasi dasselbe KOnzept von TypeScript was mich auch schon wieder wahnsinnig macht, dieses ganze transcodieren. Dann baut das zeug doch in JavaScript ein! Ich meine es gibt doch auch keine NuGet Pakete die dir deinen C# Code in neuen C# Code umwandeln nur um neue Syntax zu unterstützen, weil alles was du brauchst schon in der Basis vorhanden ist.
Darum sollen sie halt einfach TypeScript unterstsützen, nativ, und das gesamte Problem ist behoben. für immer! Ich kapier echt nicht wie das passieren konnte...

benneq schrieb:

Wieso Pech? Man kann lit-html mit und ohne TypeScript benutzen

wenn überhaupt dann nur mit build Vorgang. Und das wollen wir ja eben nicht, da wurde ich massiv angefeindet >.< Ich meine wenn du sagst du hast die neuste Version von lit als reines JavaScript package, dass du mit einem import-statement importieren kannst und dann klassen wie LitElement und Funktionen wie html` und css` benutzen kannst, dann bitte, das ist nicht sarkastisch, wir suchen händeringend danach. unsere Version ist schon seit 2-3 Jahren veraltet.

benneq schrieb:

Weil sich die Browser an einen Standard halten: ECMAScript. Sonst wird das wieder wie früher, wo jeder Browser mit seine eigenen Scriptsprachen mitbrachte.

Aber TypeScript ist doch ein Standard. Laut einer Statistik die mir GPT-kun gerade ausgegraben hat bevorzugen 75% aller entwickler bereits TypeScript, das ist keine Frage von Randfällen mehr. Und das ist von 2021. Aber gut brignt ja auch nix darüber zu diskutieren, die Chance ist eh vorbei und es ist wie es ist, aber ich krieg TypeScript nicht durchgeboxt weil es eben nur irgendeine pseudo-offizielle API ist die irgendwelchen Code umschreibt der dann im Browser kompiliert wird. Ich selbst würds ja benutzen aber wir haben halt diese Stenkerer mit drin, die sich mit diesem ganzen transkodieren zeug und dem Build Vorgang und dem Garbage-Code der da am Ende rauskommt nicht anfreunden können.

Und ich muss dazu sagen, es ist schon verdammt praktisch wenn man z.b. bei nem Tester einfach die Browser-Konsole aufmachen kann und dort im Skript-Tab debugge kann, um zu sehen wo der Fehler liegt, ohne das wären wir wohl noch weiter zurück mit unserer Arbeit als wir eh schon sind. Da kannst du halt nicht sagen "installier mal schnell VSCode"

Ergänzung ()


benneq schrieb:

dass es "irgendein HTMLElement" ist.

eben nicht. Was wir kriegen ist irgendein krankhafter ElementNode, der so gut wie keine Properties hat. Den muss man erstmal nach HTMLElement casten. Es gibt dutzende solcher Beispiele bei der JavaScript api. Unser Code ist aktuell zugepflaster mit /** @type {...} */ kommentaren

Ergänzung ()


benneq schrieb:

So viele Nachteile in TypeScript, und trotzdem willst du es als offizielle Sprache in allen Browsern haben? Dann doch lieber gleich was, das nicht auf den unzähligen Designfehlern von JS aufbaut.

Alle Nachteile von TypeScript können mit nativemBrowser-Support behoben werden. Browser-Support heißt kein Build Vorgang mehr. Das transcodieren fällt dann auch weg wenn sies so unterstützen wie's jetzt ist. Und dann ist auch die unterliegende ECMA version egal weils dann nichts unterliegendes mehr gibt. Aber hey, mir isses wurst wenn es die Option gibt C# an Browsern zu unterstützen dann würde ich nackt vor Freude Rad schlagen 🤣

Ergänzung ()


benneq schrieb:

Mir klingt es so langsam danach, als ob du alles was du zwischen die Finger bekommst versuchst wie VanillaJS zu benutzen.

Nein eben nicht, wenn ich Blazor benutze will ich GAR keine JS Interops. Ich will nur C# benutzen wenn ich mit diesem Framework arbeite. Aber wenn natürlich nur so halb bis gar keine Brwoser-Funktionalität im C# code unterstützt wird, dann hast du am Ende nur eins erreichst, dass du 4 Programmiersprachen statt 3 verwendest, C#, JS, HTML und CSS. Ich seh da keinen gewinn.
Aber wenn du mir jetzt z.B. sagst dass JS INterops nur die absoluten Randfälle sind und man problemlos eine komplexe Webanwendung ganz ohne JS Interops errichten kann, dann hab ich das einfach nur falsch verstanden und ehrlich gesagt bete ich zu Gott nach so einer erfolgsmeldung^^ und das als Atheist.

Ergänzung ()


benneq schrieb:

Ist doch auch voll legitim, wenn du mit dem Tool sauber und effizient arbeiten kannst

Ja wenn... Unity ist eine 3D Engine, keine Ahnung ob da was performantes bei rauskommt wenn wir sowas zur UI-Entwicklung verwenden, soweit ich weiß hat das noch nie einer gemacht ^^

Zuletzt bearbeitet:

Discussion: Was ist das beste Framework für Web-Entwicklung? (2024)

FAQs

What is the best framework to build a website? ›

Best Frameworks for web development
  1. React. React is a JavaScript library widely used to create interactive user interfaces. ...
  2. Angles. Angular framework is based on TypeScript for building complex web applications. ...
  3. Vue. js. ...
  4. Django. ...
  5. Spring. ...
  6. Laravel. ...
  7. Ruby on rails (Ruby on rails) ...
  8. Flask.
Nov 21, 2023

What is the most loved web framework? ›

React stands out as one of the most popular web frameworks due to its ongoing commitment to creating efficient and scalable applications. It enables developers to build maintainable and reusable UI elements and offers optimal rendering performance.

What is a web framework and why should I use one? ›

A web development framework is a set of resources and tools for software developers to build and manage web applications, web services and websites, as well as to develop application programming interfaces (APIs). Web development frameworks are also referred to as web application frameworks or simply web frameworks.

Which framework is best for web development in 2024? ›

Most Popular Backend Frameworks for 2024
  • ASP.NET Core. ASP.NET Core is an open-source, cross-platform framework for creating applications using .NET. ...
  • Django. ...
  • Laravel. ...
  • Ruby on Rails. ...
  • Express.js. ...
  • CakePHP. ...
  • Flask. ...
  • Spring Boot.
Jun 17, 2024

What is the best framework to use? ›

Top Frameworks for Frontend and Backend
  1. Ruby on Rails. A web application framework written by David Heinemeier Hansson, Ruby on Rails is exceptionally productive. ...
  2. Django. Django is another framework that helps in building quality web applications. ...
  3. AngularJS. ...
  4. ASP.NET. ...
  5. Meteor. ...
  6. Laravel. ...
  7. Express. ...
  8. Spring.
Jan 18, 2024

How do I choose a web framework? ›

8 Must-Know Tips for Choosing the Right Web Application Framework for Your Project
  1. Understand Your Project Requirements.
  2. Assess Framework Suitability.
  3. Consider Community Support and Documentation.
  4. Analyze the Learning Curve and Developer Experience.
  5. Examine Security Features and Practices.
  6. Evaluate Performance and Speed.
Jun 14, 2024

Which is the most liked framework? ›

Most popular back-end frameworks
  1. Laravel. In back-end development, PHP is one of the most widely used programming languages. ...
  2. Django. It is an open-source framework for the Python programming language that follows the batteries included philosophy. ...
  3. Ruby on Rails. ...
  4. Express. ...
  5. Flask. ...
  6. Spring Boot. ...
  7. Phoenix. ...
  8. Node.
Feb 20, 2024

Which framework is best for the future? ›

Top 10 Backend Frameworks in 2024
  1. Django. Performance and Speed. Django is quick and efficient, here's why: ...
  2. Express. js. ...
  3. Spring Boot. Performance and Speed. ...
  4. Laravel. Performance and Speed. ...
  5. Ruby on Rails. Performance and Speed. ...
  6. ASP.NET Core. Performance and Speed. ...
  7. Flask. Performance and Speed. ...
  8. NestJS. Performance and Speed.
Feb 27, 2024

Which framework is trending now? ›

Most used web frameworks among developers worldwide, as of 2024
CharacteristicShare of respondents
Node.js40.8%
React39.5%
jQuery21.4%
Next.js17.9%
9 more rows

What is a web framework with an example? ›

Web frameworks aim to automate the overhead associated with common activities performed in web development. For example, many web frameworks provide libraries for database access, templating frameworks, and session management, and they often promote code reuse.

What are the benefits of framework? ›

What are frameworks for and what are their advantages?
  • It improves the organisation and control of a project.
  • They are reusable tools.
  • Saves development time while maintaining quality.
  • Reduces errors.
  • They are compatible with different types of programming languages.
  • They are secure tools.

What is a framework and why is it important? ›

Frameworks are a huge help to developers in designing products. They provide an infrastructure that has already figured out the low-level details, allowing the developer to focus on the unique details of the specific project. The developer also has to write less code.

What is the most secure web framework? ›

Most Secure Backend Framework: A Developer's Guide
  • Django (Python): Known for its robust security features against SQL injection, XSS, and CSRF, making it a top choice for security-focused projects.
  • Ruby on Rails: Offers built-in protections and regular security updates. ...
  • ASP.NET Core (. ...
  • Express (Node.
Feb 26, 2024

Which framework is easy to learn? ›

There are several web development frameworks that are considered easy. Some of these are Angular Js, Flask, Django, Symfony, Express etc. Any easy framework is easy to use, learn and also offers flexibility to allow for the development of various types of web applications that meet the varied needs of users.

What framework should I use to build a portfolio website? ›

What is the best framework to build a portfolio website? For a top-notch portfolio site, consider these JavaScript frameworks: React. js - Good for sites with lots of parts that need to work together.

Which model is best for website development? ›

In the Waterfall model, every stage has its own dedicated project work plans and relies upon the data from the last task or stage. Despite being considered as the best SDLC model for website development, the Waterfall model also has a downside, which is its rigidity.

Should I use a framework for my website? ›

Frameworks are super helpful and make writing code a lot quicker in most cases, but having a strong programming foundation before that is also super important -- so make sure you know the language your framework is written in well first.

Which .NET framework is best for web development? ›

NET Core is a cross-platform, open-source version of the . NET framework designed for building web applications, services, and mobile backends that can run on Windows, Linux, and macOS. It is especially favored for developing microservices and cloud-based applications due to its lightweight nature and high performance.

Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 5932

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.