Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move away from Apache and PHP #22

Closed
4 tasks done
jacroe opened this issue Jul 22, 2013 · 2 comments
Closed
4 tasks done

Move away from Apache and PHP #22

jacroe opened this issue Jul 22, 2013 · 2 comments
Milestone

Comments

@jacroe
Copy link
Owner

jacroe commented Jul 22, 2013

Apache and PHP were chosen at the beginning of this project because they were easy to install and set up. However, their benefits may be overshadowed some by their weaknesses.

  • While I adore PHP (for better or for worse), it really is a web language. And having to deal with two fundamentally different languages, such as PHP and Python, is annoying.
  • Apache is a great web server. But it running as a different user makes it hard to interact with pianobar beyond the ctl interface.

For these reasons, we're going to move away from them and use a Python web framework such as CherryPy or web.py. This will allow tighter integration, an easier install process, and cleaner code (hopefully).

  • Command->ChangeStation
  • Add start and quit buttons to interface
  • Song explanation bug
  • Mobile
@jacroe
Copy link
Owner Author

jacroe commented Jul 24, 2013

Currently leaning toward CherryPy

@jacroe
Copy link
Owner Author

jacroe commented Aug 6, 2013

Endpoints have been added. By addig /start or /quit to the url, Pidora will start and quit (duh) pianobar. Closing.

@jacroe jacroe closed this as completed Aug 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant