System for embedding Phorum in other applications (early preview)

Posted by Maurice Makaay 
Re: System for embedding Phorum in other applications (early preview)
February 13, 2006 01:46PM
Cool. Lots of the things that I've come up with, do match the description in the Event-Based_Loose-Coupled_Integration document.

For Phorum I have run into some extra problems, because there I have a lot of data that need to go in the <head> section. That's why I don't simply return the HTML for the embedded Phorum, but instead hand over an array of page elements to the connector. That way I can let the connector put data in the right positions in the master application's page. Since you are targeting towards a more or less generic solution/interface for embedding applications, I guess you'll have to think about handling this problem too.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: System for embedding Phorum in other applications (early preview)
February 13, 2006 01:58PM
the document simplifies things. of course we return an array too. headHtml, bodyHtml, sidebarHtml, themeVars.
we offer parseHead() which splits headHtml into title, css, script.
you can fetch additional html blocks with e.g. getImageBlock() etc.

i've simplified a lot since such details don't add to understanding the overall idea.

our solution works already with a number of CMS / portal / blog applications.
Re: System for embedding Phorum in other applications (early preview)
February 13, 2006 04:06PM
Valiant and Maurice, you guys rules.

Honestly, when I use embed_phorum module, I'm amaze with the easy to use extension that he provide. I can just squeeze all the needed html to the right place on MODx. While the event driven sync can be easily integrated into most major CMS system, because most of them support this either as an event, plugin, or hook.

I can't wait to test out gallery2. Honestly, I never look into Gallery2, but I will give it a shot.

Do you guys support multi site on one installation Valiant? Sorry if it's a little bit out of topic. (just give me a really short reply).
Re: System for embedding Phorum in other applications (early preview)
February 13, 2006 04:15PM
Quote
wendy
Do you guys support multi site on one installation Valiant? Sorry if it's a little bit out of topic. (just give me a really short reply).

I used the portable code as a starting point for run_phorum.php, so it should be possible somehow I guess. But I haven't written the code with that goal in mind, nor did I ever use the portable code for doing that. But I'm pretty sure it must work and I'll put it on my todolist.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: System for embedding Phorum in other applications (early preview)
February 13, 2006 04:33PM
Maurice,

Yes, your embed_phorum able to do that. All we need is to change the default querystring to be passed to phorum with index,id.

You did a great job with the module.

WHat I was looking for is Gallery2 actually, but I'll spent some time in researching more about Gallery2.

PS: I'll wait for the embed_phorum module to mature, and I will implement it to MODx. For now, I'm also waiting for the next major overhaul in User system of MODx.
Re: System for embedding Phorum in other applications (early preview)
February 14, 2006 01:49AM
<offtopic>
wendy, yes, G2 supports multi-site (one codebase for multiple installations).
most features are listed at: [codex.gallery2.org]
i suggest you ask further gallery questions in gallery forums or so, i don't mean to hijack this topic.
</offtopic>

@integration standardization:
what's still missing are documents that go into detail of the involved steps. i gave now an overview and i plan to write a document describing the details too. i'll focus on the interface of course and only give examples of how the implementation behind the interface could look like.
Re: System for embedding Phorum in other applications (early preview)
February 14, 2006 02:26AM
Sounds good valiant. I might "steal" a thing or two if you get around doing some documentation before I do ;-)


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: System for embedding Phorum in other applications (early preview)
February 14, 2006 10:33AM
I propose when we have a solid document on this integration interface project to post it at opensourceCMS site for our communicate to review and comment since opensourceCMS has lot of developers from various CMS lurking there.

If we can spearhead on this project and hopefully will help to standardize on some future integration interface that will be great accomplishment for opensource cms.

What do you think?

Thanks

[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Re: System for embedding Phorum in other applications (early preview)
February 14, 2006 10:39AM
i appreciate opensourceCMS and its services, I'm not sure yet if it's the right place to host the interoperability / integration specs, forum etc.
probably neither is gallery's website since it should be something independent.
it may be a dedicated, independent website, or at OSCON/OSCOM or so. there are a lot of alternatives.
we'll see when we're at a point where we have detailed specs and organized everything.
Re: System for embedding Phorum in other applications (early preview)
February 14, 2006 10:43AM
Well, then you might consider using swik or wikipedia if you don't want to use opensourceCMS for this project.

[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.

Click here to login