[opencms-dev] Can opencms load external content and format it?
Stephan Hartmann
hartmann at metamesh.de
Thu Apr 10 10:45:39 CEST 2014
Hi Christian,
First let's talk about your second question.
Where do your external contents come from (database, file system) and what
kind of data is it (XML, JSON, plain text)? Depending on that there are
several ways to handle such content.
For example, each resource type (like xml content) in OpenCms has a loader
that handles a request for that kind of resource. E.g. the XML content
loader reads the template property of a resource and forwards the requests
to this path, expecting that it is a JSP.
But there is also the possibility to register a request handler that acts
on a URL path pattern, e.g. there is a permalink handler that handles all
requests beginnging with "/permalink".
Regarding your first question, OpenCms is about managing and serving
content. Having that said, it is of course possible to implement UI
applications with OpenCms.
The most straight forward way would be to use plain Servlet and JSP
technology (personally I use Servlets that serve as base class for JSPs in
the OpenCms vfs - that way I can easily gain access to OpenCms internals in
my servlet class). Integration of other frameworks like JSF or Struts with
OpenCms is always a hassle.
But here also it depends: do you need access to OpenCms internals and vfs
resources in your GUI? And one important question is: do you need to write
back to OpenCms resources?
Would you like to integrate your system as a backend view in OpenCms or in
the frontend?
Kind regards,
Stephan
2014-04-08 16:59 GMT+02:00 Christian Bjørnbak <cbj at touristonline.dk>:
> Hi,
>
> We're about to rewrite the UI of our self developed system to get
> responsive webdesign.
>
> At the same time we are replacing our old cms with opencms also to be able
> to RWD..
>
> To avoid learning two new UI frameworks at the same time we're considering
> using opencms as the frontend of our own system..
>
> Is this a viable solution?
>
> Can opencms load external content and format like the internal xml content
> blocks?
>
>
>
> Med venlig hilsen / Kind regards,
>
> Christian Bjørnbak
>
> Chefudvikler / Lead Developer
> TouristOnline A/S
> Islands Brygge 43
> 2300 København S
> Denmark
> TLF: +45 32888230
> Dir. TLF: +45 32888235
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140410/f3c9b316/attachment.htm>
More information about the opencms-dev
mailing list