django-hyperadmin icon indicating copy to clipboard operation
django-hyperadmin copied to clipboard

Is this project still active?

Open webmaven opened this issue 11 years ago • 7 comments

webmaven avatar Sep 26 '14 16:09 webmaven

No longer active. If I were to do this again I would not do mixins.

zbyte64 avatar Sep 26 '14 16:09 zbyte64

What project(s) would you recommend as a replacement?

webmaven avatar Sep 27 '14 01:09 webmaven

I don't know of any projects as ambitious in delivering a hypermedia abstraction layer. Django rest framework is working on an API driven admin but their hypermedia rendering is hard coded and not a standard. Personally I prefer restless as an API framework for python, but it is just the essentials - no hypermedia out of the box but easy to do.

zbyte64 avatar Sep 27 '14 02:09 zbyte64

Can you expand on the 'would not do mixins' point? What would you have done?

webmaven avatar Sep 27 '14 10:09 webmaven

Mixins was the idea that you could put form logic in one class, crud in another, and presentation in another, and then through complex inheritance you would have a class that does a crud action. Restless views this as an anti-pattern for sanity reasons. I would instead make a standalone layer to keep track of hypermedia meta data that the views can consult during render. Basically opt for a more functional approach.

zbyte64 avatar Sep 27 '14 16:09 zbyte64

Sounds good. Any plans to pursue this (or refactor the current project)?

webmaven avatar Sep 27 '14 20:09 webmaven

A half a year later and I am now kicking off the replacement to this project: https://github.com/zbyte64/python-restmore

Still ended up using some mixins, but at a more sane level. Each mixin has their own separated concerns and do not cross orchestrate super calls.

I plan on packaging up a reactjs client to work with the library (but really it will just be a schema JSON CRUD client).

But still lots of work to be done. I am sprinting on this for pycon.

zbyte64 avatar Apr 13 '15 04:04 zbyte64