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

Design and implement DisplayPackager #10

Open
aplayford opened this issue Dec 5, 2011 · 3 comments
Open

Design and implement DisplayPackager #10

aplayford opened this issue Dec 5, 2011 · 3 comments
Assignees
Milestone

Comments

@aplayford
Copy link
Owner

DisplayPackager will make it easy for news organizations to switch the underlying base templates that power a DisplayFactory page. In addition, this should provide a home for any other sitewide settings that control display and require admin toggles.

For now, that might be as simple as providing a custom template path for a project's page to extend. But we should think about what other settings might be useful here down the road. (Memcached-based caching, for example?)

@ghost ghost assigned aplayford Dec 5, 2011
@jeremyjbowers
Copy link
Collaborator

I'd like to pitch in on this.

@aplayford
Copy link
Owner Author

Please! Here's the extent of my thinking on this, which you are welcome to improve:

  • Users should be able to quickly and easily customize a display to fit within their existing CMS look and style. That should probably be done by them writing a small template, which DisplayFactory templates inherit from.
  • A site should be able to have multiple wraps. For example, washingtonpost.com vs Washington Post Politics.
  • The DisplayPackager model could point to that template file, so web producers can "pick" the site's style as long as a developer has gone in and created the right base templates in advance. (Web producers probably don't need the ability to add DisplayPackagers, so the hard work can be done in code.)
  • We'll need some fancy view logic or smart template tags to make that magic inheritance happen.

What I don't know: How this relates to analytics and ad embeds, which might need to be per-project (but otherwise would seem to fit naturally here).

@aplayford
Copy link
Owner Author

And Jeremy, if you want it, I am happy to relinquish the ticket; I took this yesterday in lieu of writing a description but I have attachment to this over anything else.

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

2 participants