<![CDATA[ New Class Keys / Extending modResource object - My Forums]]> https://forums.modx.com/thread/?thread=49005 <![CDATA[Re: New Class Keys / Extending modResource object]]> https://forums.modx.com/thread/49005/new-class-keys-extending-modresource-object#dis-post-286313 opengeek Jan 27, 2011, 01:38 PM https://forums.modx.com/thread/49005/new-class-keys-extending-modresource-object#dis-post-286313 <![CDATA[New Class Keys / Extending modResource object]]> https://forums.modx.com/thread/49005/new-class-keys-extending-modresource-object#dis-post-286312
Before I was ware of MODx Ie built a large classified directory site from scratch, using my own (limited) framework.

My client is now asking for a CMS, and I thought of MODx.

What I’ve done so far is very extensive, so creating snippets and template chunks to convert it to MODx is going to be nearly impossible.

However, my framework can be limited to just supplying the raw data as a PHP array or output as XML or JSON, so what I was thinking of is to create more modx class php classes (eg moddocument, modweblink - ie extending modresource.class.php) that would interact directly with what I’ve already written.

Does this sound like a sensible approach......or not....?

]]>
Northie Jan 25, 2011, 11:18 AM https://forums.modx.com/thread/49005/new-class-keys-extending-modresource-object#dis-post-286312