Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Networking and servers • Re: Advice for creating server/repository for hardware details

$
0
0
What is your experience with application development? That could influence the choices.

Home Assistant is written in the yucky Python language plus uses the unreliable Javascript language for the front end. If you can stand either language, you could use them for your application with a view to HA integration or to simply copy their code.

I wasted a year on a project where a Javascript front end was used for too much and always failed for some customers. There is no need for Javascript to store your data. You might use it to display stuff. JS is the option for things like letting the user sort a column without sending a new request to the server.

For your outline, both Nginx and Apache can convert URLs to something internal or they can pass the request to a default script to perform the decode in your code. If you let PGP decode the request, the same code can run in Nginx, Apache, and other Web servers without complicated configuration.

PHP has a built in Web server for running without installing a Web server. You might install a Web server to run other Web applications along side your repo.

PHP and some other Web languages can use SQLite to avoid installing a database. An SQLite database is a single file you can copy from one machine to another. Easier than any other database. For small apps only. You could not run the amazon.com shop on SQLite. :D

Statistics: Posted by peterlite — Fri Feb 06, 2026 1:12 am



Viewing all articles
Browse latest Browse all 8621

Trending Articles