Website erstellen – Mit Lua/Luau möglich?

Ist es eigentlich möglich, mit Lua oder Luau eine qualitative Website mit komplexem Layout und 3D-Elementen zu erstellen, oder kommt man um den JavaScript nicht herum?

Ich bin Anfänger (habe noch mich noch nie mit programmieren/coden vertraut gemacht) und möchte damit beginnen, zu lernen, wie man einen Code zu einer Website transformiert, habe mich damit aber noch nicht auseinandergesetzt (ich habe bisher noch keine Erfahrung mit coden von Websites). Und ja, bisher habe ich keine einzelne Zeile Code geschrieben und kenne mich auch nicht wirklich aus. Jedenfalls, für mich wäre es effizienter und eventuell auch besser, mich mit Lua vertraut zu machen, aber da ich dazu nichts gefunden habe, habe ich die Befürchtung, dass JavaScript nicht zu umgeben ist. Und so bin ich auf gekommen, wie jeder, wenn er etwas sucht.

Kurzgefasst interessiert mich, ob man mit Lua folgendes tun kann:

  • Eine Website mit 3D-Effekten erstellen
  • Eine Website mit Animationen erstellen
  • Komplexe Layouts Wirklichkeit werden lassen

Ich bin noch ein richtiger Anfänger, aber mich würden eure Antwort und euer Wissen interessieren, damit ich weiß, was für die Zukunft besser ist (schließlich möchte ich eine Programmiersprache für die Erstellung von Websites lernen und dieses Wissen auch festigen, nicht umher springen von Programmiersprache zu Programmiersprache), denn es ist ja klar, dass ich erst klein beginnen würde (keine komplexen Layouts, Animationen, …).

Danke!

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
3 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
6 months ago

Although there are separate projects that allow web development with Lua, most of them do not offer support (deficient documentation/missing maintenance/o.a.) and are more difficult to handle (installation/configuration). I don’t think you’d do a big favor with that.

For the implementation of a server-side application part, Lua is still in the Web area Best set up (see Lapis, Luvit, Nift or orbit). These frameworks allow you to create routes that can respond to specific HTTP/S requests. In order to make them runable for the web, you either have to run a Lua interpreter on the server (depending on the framework) or modify a web server (such as Apache/Nginx).

The requirements you describe (3D effects, animations, layouts) are more tasks for the browser-side part of a web application. About JavaScript you need a transpiler (e.g. fengarian engine (e.g. Defold, love-webplayer; MoonSharp with the Unity WebGL player) or a WebAssembly solution (e.g. wasmoon). I think these solutions are too cumbersome, certainly do not give you the flexibility/freedoms you want to have and require an unjustified charge.

I would recommend you to do without Lua for the development of websites. Behave first with HTML and CSS. These two languages you usually need, they are easy to learn and you can fulfill your requirement to develop complex layouts with them. With CSS you can also create first animations (e.g. color changes or transformations of elements).

For more complex effects, I would advise you to learn and use JavaScript. Especially for 3D animations you could ThreeJS or Babylon Look.

HardwareFreak3
6 months ago

Basically, you will have to understand at least the basics of HTML. CSS is primarily for designs and JS for very many things among others even more complex designs that would not be possible with CSS or for example A live chat.

This is now roughly vaccinated, but you don’t get past HTML, and JS is such a thing, many people block it.