Kerning City

Hi Will,I've been doing this for many of my recent pnugils. I find it to be really useful when creating custom objects (by object' I mean custom post_types and taxonomies). Something about creating a static class for each CPT or taxonomy resonates really well me. Here are some links to some of my projects that use this method:They are all free and released under the GPL.I've also used the functional style. I do not really prefer one over the other. I've read arguments by well-known developers that using a class for a namespace is not a good idea and have heard opposing arguments by well-known developers as well. I use whatever makes sense for the task at hand.
Hi Will,I've been doing this for many of my recent pnugils. I find it to be really useful when creating custom objects (by object' I mean custom post_types and taxonomies). Something about creating a static class for each CPT or taxonomy resonates really well me. Here are some links to some of my projects that use this method:They are all free and released under the GPL.I've also used the functional style. I do not really prefer one over the other. I've read arguments by well-known developers that using a class for a namespace is not a good idea and have heard opposing arguments by well-known developers as well. I use whatever makes sense for the task at hand.