- Contact information and websites for government agencies
- Links to meeting agendas
- Demographic facts and figures about local communities
- Economic data
If we’re going to get ambitious then I might tap into the American Fact Finder API at the U.S. Census Bureau in order to get an accurate, third-party representation of the communities that this client serves.
This data of course may change periodically. Aha – here is why I am putting them on the web page as little discreet chunks of data. I could more easily put everything onto a regular WordPress post dedicated, for example, to one city. But then if I want consistency and uniformity – always a good think to protect a brand – then I will have to copy the same styling to every other post with information on other cities. And then what if I or someone else need to change it? Will an innocent user error break the whole styling? Will chaos and entropy creep in?
How does it work?
If compared to a REST API or something that allows full database functions via HTTP (create, read, update, delete), then PDJ may be considered similar to a
GET function. If you are looking for a more comprehensive API for fully interacting with the database, then this plugin is not for you. Try WP-API instead, or wait until it gets fully integrated into WordPress core.
PDJ is in version 1.0.0 and may need some refactoring, new features or bug fixes. Send me a pull request. All suggestions welcome!