bootntr selector. and btw better ask that in that thread,Please help is there anyway to run NTR in 11.3? I'm using Reinand
Yea, forgot to update server.
what editor do you use or do you code everything by handSite:ntrdb.octonezd.pw
Github:github.com/octonezd/ntrdb
So site in 1.5 release, design is amazing, comparing to Pre-Alpha, API(if you can call this API) is fine, you can access it through:octonezd.pw/api
Pre-Alpha screenshot:
I wrote site backend in python and frontend using bootstrap v4-alphawhat editor do you use or do you code everything by hand
Should be probably fixed nowHey when i try to upload a plugin i don't see a button to publish. I have already published one plugin
It's works now thanksShould be probably fixed now
Question: would I have to take a computer science class at my high school to go to college for anything related to computer programming?I've been looking at the code and have successfully deployed the python site on my local environment.
However, I'm really confused : Why did you use Python to code the backend of your website?
This is gonna sound like a subjective and elitist opinion, but when I see the lengths you go through to implement basic website features like route-handling, POST/GET HTTP requests, database and REST Api, and yet certain routes don't render well due to having the wrong Content-Type being applied or something revolving around the way you manipulate response headers, and judging from my 4 year+ career experience in web development, I wonder if it would have been better to write it in NodeJS using the ExpressJS engine with a few middlewares thrown in?
Again, not trying to be an ass. I don't have much experience with Python aside from writing file transformation and manipulation scripts that I run once and forget about, but I really believe it could've been done with much less time and efforts using at least some HTTP server framework for Python that's similar to what ExpressJS can do. Response headers are handled manually, which is error-prone and won't scale well in the future.
I think this is some impressive code, don't get me wrong, the complexity of the process is impressive, however there's without a doubt a much faster and easier way to write the backend of your website that's also less error-prone.
This is what's not making me want to contribute to the codebase; There isn't enough abstraction with the way you handle serving HTTP requests, making it more painful than it should be.
But really, don't take it personnal, I'm not dissing you, I can tell you're well-versed in Python and are very comfortable in that language just by reading your code, so I know you'll make it in the end. All i'm saying is, with how simple that website's use is (essentially it's a web interface for CRUD interactions with your plugins database coupled with authentication for plugin authors to update their own publications themselves) it could've been done faster and easier, and less error-prone.
Yeah man, just use PHP next time, it's pretty much built for handling web requests, setting response type headers is as simple as "header('Content-Type: application/json');", there's seriously no reason to have done it in Python /sit could've been done faster and easier, and less error-prone.
Yeah man, just use PHP next time, it's pretty much built for handling web requests, setting response type headers is as simple as "header('Content-Type: application/json');", there's seriously no reason to have done it in Python /s
Dude wrote it in what he knows, using the methods he knows. Maybe Node is easier for you, PHP is easier for me, hell RPG may be easier for some 80 year old IBM programmer, but that doesn't mean it's the answer to his problem. If you want to contribute, cool, contribute, but don't bash on the way he implemented it because "it could be easier". There's easier things than Node too.
self.send_header('Content-type', 'application/json')
How about auto-unzipping? I know that some people adds .zip links because there multiple regions@OctoNezd NTRDBI requires the links to be direct links for raw plg files. please find a way to reject links to zip files, and point it out in red that raw plg file-links are needed, else the plugins won't be downloaded by ntrdbi