Object vs Iframe vs Alternatives?

465 views
Skip to first unread message

greg

unread,
May 14, 2010, 1:08:14 AM5/14/10
to Joomla! General Development
So we are working on integrating another framework into Joomla. first
we tried an Iframe which works ok, then we decided to use an object
for the xhtml validation however it posed issues with IE so we added
in an IE check to use an Iframe for IE only. We are using Joomla's
auto height javascript from the Wrapper component to auto adjust the
height however in certain scenarios it fails, for example Chrome
doesn't work right, we've made adjustments but they are a hack at
best.

Now I'm wondering if there isn't a better solution all together by
using a Dynamic view and eliminate the Iframe/Object all together. Has
anyone ever integrated another framework into Joomla without using an
Object or IFrame, something like OScommerce, or something with it's
own templating system?

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

Stephen

unread,
May 14, 2010, 2:31:45 AM5/14/10
to joomla-de...@googlegroups.com
An alternative is to write a component (if there isn't one already)
that loads the other framework's resulting HTML into a variable and
then 'cleans' the html before sending it to the browser, especially
modifying links etc to use your component.

An old 1.0 component called StaticXT did something vaguely like this
although for a very different purpose.

Two things to be aware of (that I can think of off-hand):

1. It must be possible to 'send' submitted data (GET and POST
variables) to the other framework
2. It must be done with security in mind
--
Stephen Tredrea
in...@stephentredrea.com | www.stephentredrea.com | 082 578 7154

greg keys

unread,
May 14, 2010, 3:06:55 AM5/14/10
to joomla-de...@googlegroups.com
That brings up an interesting idea but it seems to only work 1 way, we need it to be able to respond to user interaction, I wonder if I could use .htaccess to rewrite all the expected url's from the framework through the joomla component back to the framework.



On Thu, May 13, 2010 at 11:31 PM, Stephen <ste...@tredbear.com> wrote:
StaticXT

cedric walter

unread,
May 14, 2010, 3:35:22 AM5/14/10
to joomla-de...@googlegroups.com
I would search for a reverse proxy solution, if you use purely apache
or your own PHP framework is up to you
Consider also the security, you may have to login the user in the
other system, in behind using the Joomla! credential or a technical
user.

I did write one in JAVA, it is nothing easy! so Google is your best
bet if you don't want to invest much time on it:
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=reverse+proxy+php+framework
--
www.waltercedric.com
Reply all
Reply to author
Forward
0 new messages