LMMS / lmms.io

LMMS's official website
https://lmms.io/
GNU General Public License v2.0
100 stars 37 forks source link

Rethinking about LSP #281

Open liushuyu opened 5 years ago

liushuyu commented 5 years ago

Background

I think it is time to rethink about LSP, the LMMS sharing platform.

The code of it was an ancient piece of history from the late 90s. And some of the coding conventions are no longer best practices today.

UI/UX Redesign

As time went by, design patterns changed a lot during these years. Although we have redesigned the main page and adapted the LSP website accordingly, the design is not so intuitive to the people who are familiar with "more modern websites."

Technical Practices/Debts

The LSP is a disaster in this field.

Possible Improvements

Okay, enough whining now, so here are the ideas I have so far:

tresf commented 5 years ago

Although security is a concern, the platform itself could also benefit from the most basic of usability improvements. For example:

The stuff you mention is nice and will make the platform stronger, but I'd also love to see a place that encourages creativity by the musicians.

liushuyu commented 5 years ago

Although security is a concern, the platform itself could also benefit from the most basic of usability improvements. For example:

I have actually considered all of those features and functions, but the problem is, under the current codebase, it is difficult to implement.

For instance:

The stuff you mention is nice and will make the platform stronger, but I'd also love to see a place that encourages creativity by the musicians.

Well, making the platform stronger, faster and more secure can indeed encourages more creative works. I can't see there is any contradiction.

liushuyu commented 5 years ago

We could learn from the platforms like CurseForge and Nexus Mod, they have something in common with LSP: hosts user generated contents, rating, comments, search function, and they all have version tracking.

tresf commented 5 years ago

We could learn from the platforms

Was thinking the same thing. Modify a platform that offers everything to behave like LSP instead of trying to reinvent each component by hand.

liushuyu commented 5 years ago

Was thinking the same thing. Modify a platform that offers everything to behave like LSP instead of trying to reinvent each component by hand.

Unfortunately, I wasn't able to find their source code and it seems like they are PaaS solutions. Other frameworks or solutions are based on "playlists" and they only host audio files.

It seems like other solutions are homebrewed.

If anyone has better solutions, just post it here.

GlowingUmbreon commented 4 years ago

If you are looking for a platform which has public source code and is already similar to LMMS there is the BeatSaver website: https://beatsaver.com/ https://github.com/lolPants/beatsaver-reloaded It is written in typescript

RiedleroD commented 4 years ago

This is just a personal request, but I'd like to have the lsp work without js. This is just for performance reasons since loading with js is two extra steps, and generally slows down the website. A good example of a website being slowed down by js being js would be the whole youtube ecosystem, but most noticably youtube studio and youtube music. Looking at the network inspector, on average, there's more js code getting downloaded than any other media type, which is dreadful.

tresf commented 4 years ago

This is just a personal request, but I'd like to have the lsp work without js.

I think most solutions (and thus those proposed by @liushuyu) are/will be predominantly back-end-driven and won't be too heavy on client-side JS unless the framework mandates it (and in that case, is up to the developer that writes it).

If a 100% "NoScript" site is desired, please make sure you're part of the testing phase so that those considerations can be made. Personally, I find the "NoScript" argument to be a relic of the 90s, but it shouldn't be too hard to guard against if it's pointed out early enough.

RiedleroD commented 4 years ago

If a 100% "NoScript" site is desired, […]

My biggest concern is the load and processing times, so no js at all isn't really necessary imo. The most healthy amount of javascript for a website is in my opinion just for the things that absolutely need js (e.g. client side password strength checking), so that the website can be used without js, but the experience is enhanced if js is enabled. Something like that. Ofc I'm not an expierenced webdev, just a internet user with opinions. But I think it's worth keeping that in mind.

Also: woo my js-free website loads as fast as a lightning, take that, youtube. :P

Sorry for cluttering this thread if that's not important though.

tresf commented 4 years ago

just a internet user with opinions

We always need testers. As far as I know this hasn't started yet. @liushuyu has pretty much taken over website maintenance at this point so if that continues they'll be the one posting updates to this thread.