You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far, most stable and only open source and running web framework based on Lua/Luvit is the Weblit. However, the development is far behind comparing to other language's web framework. As I am actively working with this framework, I have faced many lacking and many other missing features but the main problem is " Documentation / WIKI " for the framework. I am not very good developer like others but I am doing the things well from my side. Here a few things I have noticed and my request to improve the framework with. ( comparing to Node.JS > Express.JS, Python > Django )
Improvement of the documentation of the framework is must. ( or at least a pre-made package which will install the basic route and other setup. ) [ I am already thinking to create one, soon will release it. ]
Sub domain or sub port or similar administrator panel like Django or Express.JS would be a great idea!
The weblit-static has a issue. When you place domain.name// ( means more than one "/" ) it response with a JSON. Which shouldn't be a thing for production servers.
Having no "/" is also a good thing. We can have the system if you want to create or not create such method. something like app.use(requre("redirect")) should remove extensive "/" from the link path.
Sub application would be a great idea!
Weblit doesn't have build in render content system. However, I managed to file one render template in Luvit.ioRender file guess, we should have a official HTML render template with syntex {{..}} codeblock system like etLua or others. [ I already have modified one for that]
Having a session manager build in with weblit-cookies would be a great idea. For creating admin panel or user-session or other stuff. [ I have done similar one already here LeXinshou/WebSessionLua but it's not 100% accurate ]
Route system can be improved with more dynamic path listening! ( optional )
NOTE: I have more in my mind but I don't want to make the whole thing so big to hard to read, during discussion, I will point out more of the stuff that need to be done or improvement.
The text was updated successfully, but these errors were encountered:
These are wonderful ideas. I'm hoping to have time to work on this sometime in the coming weeks, but so far, I've been utterly swamped onboarding at my new job.
Hello @creationix, hope you are doing great!
So far, most stable and only open source and running web framework based on Lua/Luvit is the Weblit. However, the development is far behind comparing to other language's web framework. As I am actively working with this framework, I have faced many lacking and many other missing features but the main problem is " Documentation / WIKI " for the framework. I am not very good developer like others but I am doing the things well from my side. Here a few things I have noticed and my request to improve the framework with. ( comparing to Node.JS > Express.JS, Python > Django )
app.use(requre("redirect"))
should remove extensive "/" from the link path.{{..}}
codeblock system like etLua or others. [ I already have modified one for that]NOTE: I have more in my mind but I don't want to make the whole thing so big to hard to read, during discussion, I will point out more of the stuff that need to be done or improvement.
The text was updated successfully, but these errors were encountered: