Hi Simon,
Simon Walter schrieb:
I have inherited an extremely poorly managed website where everything
was coded by hand using Struts and Tiles and no DB. Any change required
open Eclipse and editing Tile, .vm, .properties, and all sorts of files.
It would be quicker and neater to write raw HTML. Needless to say, I
want to do away with all this hand written XML and whatnot and use
something more robust and manageable - Lenya.
However, there is one part of the app that I do not want to rewrite. I
guess it's really the part of the "app" that is an app. It's uses SOAP
to communicate with a server on the LAN that handles reservations. It
checks for availability. Before my times, we outsourced the creation of
this app.
what would the integration look like? Would the app just be embedded
into the Lenya-based website, or is there a relation between the data?
Passing information extracted from the Lenya content to the external app
(e.g., a hotel ID as request parameter) should be no problem, but a
deeper integration might require more work.
The main thing I would like is not have to resort to using an iframe or
maintaining the layout (css, images, menus, etc) for two different
websites and try to make them look like one.
Has anyone done anything like this before? If so, first of all, I'd like
to know if it's possible.
I'm confident that this will be possible. Lenya is based on Cocoon which
is a great framework for application integration. We integrated several
apps into Lenya websites in customer projects.
There are several approaches for such an integration:
* Server-side via simply including the output in the page (single pages)
* Server-side, Lenya acts as a proxy (if the app has a page flow)
* Server-side via a web service, pages generated by Lenya (SOAP/REST/…)
* Client-side (JavaScript with AJAX/JSON)
* …
Then if I can't figure it out, I may come back
and ask for help. Another thing I'd like to ask advice on is: how much
should I expect to be charged by the company, that we outsourced the
creation of this app to, for them to integrate it with Lenya. They seem
to be rip off artists. So I want to know what is reasonable.
I never heard the term "rip off artist" before. Is it the same as "con
artist"?
Actually I'd recommend finding someone who is familiar with Lenya or at
least Cocoon. There are several companies offering Lenya services (see
e.g. [1]).
It's very hard to estimate the amount of work necessary for the
integration without further information. Can you explain what the
integration would look like?
You can see the website here:
http://www.htholidays.com/
The booking section is the part of the app I want to keep. Yes, it's a
wreck. Which is why I'm trying to bring some order.
I guess the app is only accessible by registered agents, or can we take
a look at it online? I didn't find a booking section on the website,
only the enquiry forms …
[1]
http://www.opensourcexperts.com/Index/index_html/Apache%20Lenya/index.html
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]