3 ms·
If you go with PHP, I would suggest learning how to use Composer[0], PHP's sort of de facto package manager, to organize your project. What you're describing se
by krapp 12y ago
If you go with PHP, I would suggest learning how to use Composer[0], PHP's sort of de facto package manager, to organize your project. What you're describing seems like a really simple application, but even so, with dependency management, a router and the PSR autoloader it's much, much easier.
Of course, choosing another language (Python, Ruby, whatever) will likely mean choosing a framework and the package manager for that language, but with PHP you have to decide whether or not to use package management or a framework on your own. The minimum viable product version of this as I see it can be done within a single PHP file, so it could be argued that the extra complexity isn't strictly necessary.
If you're working in Windows, Xampp[1] makes it very easy to set up a local server and test PHP applications on your own machine.
[0]https://getcomposer.org/ https://getcomposer.org/
[1]https://www.apachefriends.org/ https://www.apachefriends.org/
- jagermo 12y agoWow, thanks, haven't thought of that. I was thinking to use either a virtual machine or the LAMPP stack on my NAS/Raspberry. I tried Xampp, but it kind of screwed with my installation back than. Plus, the Pi isn't really doing anything, time to change that.
- ssiddharth 12y agoIf you're going the PHP route, I recommend Laravel. It's easy to pick up, there's a ton of interest and plenty of places to teach you. They even have a neat little Vagrant box to help you with the initial set up.