request for feedback: custom content types

0 views
Skip to first unread message

Jeffrey McManus

unread,
Apr 15, 2009, 2:41:19 PM4/15/09
to tinypug-dev
I talked to a prospective user this week who requested custom content
types as a deal-killer feature.

We don't have this at all today, so it made me think about how other
systems do this. Wordpress doesn't do it at all, I don't think, and
Drupal does it poorly (although to be fair, it's a tough problem).

So while the dentist was whacking my tooth this morning, I gave the
problem some thought and came to the conclusion that custom content
types get created infrequently enough that we shouldn't really need to
take that process out of the hands of programmers. So let's define a
simple way to define the type in a configuration file, supply whatever
user interface (views) and business logic (controllers) need to be
created for this, and then provide a standard way to package this so
the admin can grab it and upload it as a plugin into their Tinypug
site.

Here are some more details on this, I'd love your feedback:

http://code.google.com/p/tinypug/wiki/CustomContentTypes

Jeffrey

Doug Arellanes

unread,
Apr 15, 2009, 3:10:05 PM4/15/09
to tinyp...@googlegroups.com
Heyas,

We've had what we call Article Types in Campsite for years. The idea is that an Article Type is just a grouping of fields. You define a type of article (let's say "News Story," "Extended Cutline" or "Wire Story") and then you define the fields that would be associated with it. So you can have as many, or as few, article fields as you want.

There are only three kinds of fields that can be used, though: Date, Short Text and Long Text (which by default calls TinyMCE). Long text can have images and HTML inline.

Check out http://campsite-demo.campware.org, log in and then go to Configure -> Article Types to see this looks in action.


Hope this helps,

doug

Doug Arellanes

unread,
Apr 15, 2009, 3:11:12 PM4/15/09
to tinyp...@googlegroups.com
Sorry, that URL should be:

http://campsite-demo.campware.org/admin

doug
Reply all
Reply to author
Forward
0 new messages