<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Phorum and CakePHP ?</title>
        <description> I&amp;#039;ve been considering porting my custom CMS to CakePHP framework for awhile now.

I haven&amp;#039;t got as far as figuring out how I would get Phorum to work with the it.. Currently I am using the Embed Phorum module with 5.1.  

Does anyone have some theoretical insight on how one would get CakePHP working with a non-cake app like Phorum?</description>
        <link>https://www.phorum.org/phorum5/read.php?28,148797,148797#msg-148797</link>
        <lastBuildDate>Thu, 21 May 2026 10:09:46 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149266#msg-149266</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149266#msg-149266</link>
            <description><![CDATA[ The main thing to do for you now, seems to get a grip on the various application architectures that are possible in the web environment. Each of them has different possibilities for integration.<br />
<br />
Iframes is one of the worst &quot;integration&quot; options. Iframes have a fixed width + height, while most applications produce output pages of various sizes. When hosting the main site + inframe application on the same domain, there are hacky options to dynamically scale the iframe to match the size that the content needs. That is terribly hacky though and not an option when hosting on different domains.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Sat, 23 Jul 2011 12:33:47 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149265#msg-149265</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149265#msg-149265</link>
            <description><![CDATA[ Thank you. I will digest this for a while.<br />
<br />
I looked at the &quot;embed&quot; module for the &quot;Vanilla&quot; forum. The Vanilla embed plugin exists as one line of javascript that dynamically inserts an iframe into the current page. I could do that with Phorum now.  And I do prefer Phorum to Vanilla for a number of reasons.<br />
<br />
I wanted to avoid iframes for SEO reasons. I might have to look at what Drupal does (their forum is a plugin...that I <i>assume</i> is not an iframe).<br />
I need to shut up and think for a while. Thank you.]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Sat, 23 Jul 2011 12:23:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149264#msg-149264</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149264#msg-149264</link>
            <description><![CDATA[ When writing a fully javascripted GUI, it can most certainly be pushed in a &lt;div&gt;. Javascript GUI&#039;s modify the DOM tree continuously and the &lt;div&gt; is a container that can be used as the playground for it.<br />
<br />
For the javascript code to work, you&#039;d still have to load CSS and core JavaScript code (in your case, the GWT framework). This is part of bootstrapping your application. This bootstrapping takes place in the &lt;head&gt; section of the HTML output. JavaScript code could be read from somewhere inside the body, but CSS code must be added to the &lt;head&gt; section (although adding it to the body works for most browsers too, it is not according to standards and upsets our standards-aware users).<br />
<br />
Loading stylesheets on the fly using javascript is possible too. They can be pushed in the &lt;head&gt; dynamically. When writing a javacript application, this is not a problem. The user needs to use a javascript browser to use the application at all. However, in the case of Phorum you are looking at a totally different kind of application. It generates HTML code that is pushed to the browser. No javascript required. The CSS code is put in the &lt;head&gt; by generating the required HTML code for that. JavaScript is only used for enhancing the interface and not as a core technology requirement.<br />
<br />
Phorum also figures all of this out, before sending the head. What you describe for GET and POST calls, is exactly what Phorum does.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Sat, 23 Jul 2011 11:59:30 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149262#msg-149262</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149262#msg-149262</link>
            <description><![CDATA[ I&#039;ll have to dig into the code.  I understand phorum was written in a way that makes use of important information at the head stage. Bear with me. I&#039;m just trying to understand.<br />
<br />
I can&#039;t for the life of me see why this would be required in the general case, not if you were redesigning from scratch.  I&#039;m not asking you to do that. I&#039;m just curious.  I wrote a forum from scratch myself and used it for five years or more before I wrote a convert-to-phorum.php script.<br />
<br />
Everything I did then was GET or POST parameters, sent from standard URLs or (in a few cases) from Javascript.  But my codes always figured out what to do before writing any head information.  <b>OK. I&#039;m just ignorant.</b>  I will start diving into the low-level codes to see.  There must be something basic going on here I don&#039;t know about yet.<br />
<br />
I spent a year writing a complex GUI with Google&#039;s GWT libraries too at one point.  That was a highly complex front end to an XML database (Exist and/or SleepyCat) that did all sorts of interactive branching.  And everything we did could have been stuffed into a div, rather than representing itself as a complete page.]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Sat, 23 Jul 2011 09:09:41 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149261#msg-149261</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149261#msg-149261</link>
            <description><![CDATA[ I&#039;ll have to dig into the code.  I understand phorum was written in a way that makes use of important information at the head stage. Bear with me. I&#039;m just trying to understand.<br />
<br />
I can&#039;t for the life of me see why this would be required in the general case, not if you were redesigning from scratch.  I&#039;m not asking you to do that. I&#039;m just curious.  I wrote a forum from scratch myself and used it for five years or more before I wrote a convert-to-phorum.php script.<br />
<br />
Everything I did then was GET or POST parameters, sent from standard URLs or (in a few cases) from Javascript.  But my codes always figured out what to do before writing any head information.  <b>OK. I&#039;m just ignorant.</b>  I will start diving into the low-level codes to see.  There must be something basic going on here I don&#039;t know about yet.<br />
<br />
I spent a year writing a complex GUI with Google&#039;s GWT libraries too at one point (Java that compiles into javascript).  That was a highly complex front end to an XML database (Exist and/or SleepyCat) that did all sorts of interactive branching.  And everything we did could have been stuffed into a div, rather than representing itself as a complete page.]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Sat, 23 Jul 2011 09:09:26 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149219#msg-149219</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149219#msg-149219</link>
            <description><![CDATA[ The only way that I see to make it work as a single drop-in div, is when the full interface is built as a javascript widget. From javascript, one can dynamically add stuff to the header and the interface could be driven dynamically inside a div.<br />
<br />
There&#039;s also the issue that you have to take care of generating working URLs from Phorum. The default URLs would not work when Phorum is put in a CMS page. Work has to be done to make sure that Phorum generates URLs that are processed correctly by the CMS, while keeping the parameter transport working. Phorum can do this, but is definitely is not compatible with a div drop in widget.<br />
<br />
Maybe one day, we&#039;ll have a fully widget-driven javascript based UI for Phorum (it&#039;s still one of the fun projects on my personal list), but I can assure you that this would be a big project on its own and not a tiny wrapper for Phorum.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Sat, 16 Jul 2011 06:11:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149218#msg-149218</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149218#msg-149218</link>
            <description><![CDATA[ The problem with &quot;just dropping it in a div&quot; is that by the time you get to a div, you are in the body of the page (and you can&#039;t add things that belong in the page&#039;s head section). Phorum needs to add some things to the head section of a page (the redirects, css, scripts, rss feeds). Some CMS systems do allow you to add things to the head section of a page, but there really isn&#039;t a universal way of doing this and you might also need a way to access some phorum database values in the head sections (you might also be able to use output buffering if the CMS would support that).]]></description>
            <dc:creator>DavidVonB</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Fri, 15 Jul 2011 11:37:16 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149204#msg-149204</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149204#msg-149204</link>
            <description><![CDATA[ Are these &quot;header redirects&quot; limited to jumping off to admin pages?<br />
In that case perhaps it&#039;s not an issue. Admin pages are hidden from the user anyway.  Admin pages as separate pages are fine.<br />
<br />
Or is each view a separate redirect?  ....phorum list, message list, message view, etc?<br />
<br />
Even then it wouldn&#039;t take much--by the enclosing CMS, to handle those redirects--iff they could be recognized as specific to Phorum, then a plugin wrapper could handle the display swaps?????  If so the rest would be trivial editing to the template.]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 13 Jul 2011 11:35:23 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149203#msg-149203</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149203#msg-149203</link>
            <description><![CDATA[ Sure and still, time is limited and we need to get some food to live from.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 13 Jul 2011 10:47:38 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149202#msg-149202</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149202#msg-149202</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Thomas Seifert</strong><br />
We have no current plans to write the embed_phorum module again.<br />
<br />
It takes a lot of time as its not a question of just &quot;updating&quot; but needing a full rewrite from scratch and there is no current need for any of the developers for such a module. <br />
Maurice said he might do it anyway if he got time to do it but he&#039;s quite busy for the time being so I wouldn&#039;t bet on it.</div></blockquote>
<br />
This is a shame from my perspective (and others too it seems) because in all other respects I do prefer Phorum to all others I&#039;ve tried. But this does mean I&#039;ll be experimenting with other forums now.  I&#039;ve done the message migration stuff several times now, to and from phorum.  That&#039;s not the hard part. I&#039;m not personally interested in Cake.  What would really be useful is a phorum that could be plugged into any arbitrary CMS.  That&#039;s the system that will ultimately win the popularity contest.  Forums as a separate page are functionally obsolete in the current context.<br />
<br />
Bear with me if I&#039;m being ignorant or stupid here (I&#039;m sure I am). I don&#039;t fully understand the aforementioned <b>You can&#039;t do redirection or any header stuff when loaded &quot;into a div&quot; aka when you just include</b> it issue.  How many of these header redirections does Phorum do?  Couldn&#039;t this be done by stripping out the head and body *.tpl stuff from the template, and then leave it up to the local CMS programmer to rewrite header redirection handling?]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 13 Jul 2011 10:38:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149160#msg-149160</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149160#msg-149160</link>
            <description><![CDATA[ We have no current plans to write the embed_phorum module again.<br />
<br />
It takes a lot of time as its not a question of just &quot;updating&quot; but needing a full rewrite from scratch and there is no current need for any of the developers for such a module. <br />
Maurice said he might do it anyway if he got time to do it but he&#039;s quite busy for the time being so I wouldn&#039;t bet on it.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Fri, 08 Jul 2011 04:30:55 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149130#msg-149130</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149130#msg-149130</link>
            <description><![CDATA[ thanks for the responses.  <br />
<br />
having the ability to embed phorum easily really is an a huge asset as a developer.<br />
<br />
i think the widgetized version would allow you to pass phorum parameters in the code of the master program.]]></description>
            <dc:creator>rheo</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 06 Jul 2011 03:34:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149129#msg-149129</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149129#msg-149129</link>
            <description><![CDATA[ wouldn&#039;t the widget mode just be alot like the embed phorum module?<br />
<br />
any feelings on if that will be updated to work with the current version of phorum anytime soon?]]></description>
            <dc:creator>rheo</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 06 Jul 2011 03:20:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149016#msg-149016</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149016#msg-149016</link>
            <description><![CDATA[ &quot;Widgets&quot; can be everything.<br />
From a javascript widget which is loaded directly into the page or any other integration way. <br />
You can&#039;t do redirection or any header stuff when loaded &quot;into a div&quot; aka when you just include it. Thats why the portable code needs you to use output buffering so that header redirections are sent before any output.<br />
<br />
Thats why I was asking what the &quot;convenient widget mode&quot; is like. How thats implemented, how it works.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 29 Jun 2011 16:51:08 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149015#msg-149015</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149015#msg-149015</link>
            <description><![CDATA[ Well it&#039;s mostly the enclosing CMS, no?<br />
<br />
If the CMS supports a plugin API you put phorum-as-a-widget in the CMS&#039;s plugins directory.<br />
Phorum does what it always does, sans DOCTYPE head and body.  And what does spit out<br />
of phorum becomes a DIV contents, as handled by the CMS.]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 29 Jun 2011 16:18:47 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149014#msg-149014</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149014#msg-149014</link>
            <description><![CDATA[ How does that &quot;Widget Mode&quot; work in other forums?]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 29 Jun 2011 15:50:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,149013#msg-149013</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,149013#msg-149013</link>
            <description><![CDATA[ what features?<br />
<br />
Everything, but strip off DOCTYPE html and body tags. I tried fiddling with the phorum tpl files once, in order to do just that. But couldn&#039;t get phorum to work reliably as a widget.<br />
 <br />
I&#039;ve been looking at the Vanilla forum which has a convenient widget mode....where that forum can become the contents of a DIV. Unfortunately Vanilla does not support threading.  I tried the SMF forum a while back, because they claim an &quot;import from phorum&quot; module plus threading plus a widget mode. But the SMF forum turns out to be a security disaster. Phorum is the best forum in all respects except one: ...no embeddable widget mode.]]></description>
            <dc:creator>salmobytes</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Wed, 29 Jun 2011 15:48:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,148799#msg-148799</guid>
            <title>Re: Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,148799#msg-148799</link>
            <description><![CDATA[ IMO the question would be, what features exactly you want to &quot;integrate&quot; with CakePHP.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Tue, 24 May 2011 02:31:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?28,148797,148797#msg-148797</guid>
            <title>Phorum and CakePHP ?</title>
            <link>https://www.phorum.org/phorum5/read.php?28,148797,148797#msg-148797</link>
            <description><![CDATA[ I&#039;ve been considering porting my custom CMS to CakePHP framework for awhile now.<br />
<br />
I haven&#039;t got as far as figuring out how I would get Phorum to work with the it.. Currently I am using the Embed Phorum module with 5.1.  <br />
<br />
Does anyone have some theoretical insight on how one would get CakePHP working with a non-cake app like Phorum?]]></description>
            <dc:creator>rheo</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Mon, 23 May 2011 13:20:27 -0400</pubDate>
        </item>
    </channel>
</rss>
