Hi all :)

I'm currently working on a CMS-Like webapp. You're able to add an
arbitary amount of content-elements to a page - which are sortable.
Everyhtings workin fine. Now i want these content-elements to be some
sort of modules. So that i can have several different content-element-
types like Text, Headline, HTML, Image and so on. You get the idea?
This of course should be easily extendable to any needs. Every Module
needs its own Admin-Form and output-routine.

So how to design that?

I have the DB-Table 'contents' which as among others the fields
"content" and "module_id". And i thought of using vendors which offer
functions like:

createForm() - for the Input-Form
parseContent() - for the output.

And the content is then saved serialized in the DB.

Are there any better patterns? Were could i get into trouble with
this?

Thanks in advance,

Nils
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to