Leverage CakePHP for web UI

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
carbenium
Posts: 2
Joined: Sun Jan 12, 2020 2:26 pm

Leverage CakePHP for web UI

Post by carbenium »

Currently the web UI is driven by a custom PHP "framework" and shares functionality wise probably quite a bit with the API.
I'd suggest to merge/rewrite the UI by leveraging the already existing API project.

Couple of thoughts:
* less maintenance burden since lots of things (routing, ORM, ...) are implemented by CakePHP
* views can use the template engine
* skins can be implemented using CakePHP themes

Any thoughts from the maintainers if this is something that can be explored?
User avatar
iconnor
Posts: 3158
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Leverage CakePHP for web UI

Post by iconnor »

The maintainer(me) doesn't really like cakephp and can't be bothered.

If you want to do it, be my guest! I'll try to support in any way that I can.

Also, feel free to do it in python or whatever else tickles your fancy.
carbenium
Posts: 2
Joined: Sun Jan 12, 2020 2:26 pm

Re: Leverage CakePHP for web UI

Post by carbenium »

Thanks for the supporting words!

I must admit CakePHP isn't my favourite as well. I just didn't want to present too extreme ideas as a first-time contributor.
I'll try to come up with some ideas in the next weeks.
Post Reply