[opencms-dev] Application development in OpenCMS
Alexander Wallace
aw at avatartechnology.com
Tue Nov 22 15:31:29 CET 2005
On Tuesday 22 November 2005 05:55, pieter claassen wrote:
> I am about to start developing an application and would like to consider
> using OpenCMS as framework. However, I have the following questions:
>
> 1. Is there a manual or tutorial that covers application development in
> OpenCMS? Specifically user authentication, authorisation, database
> access etc?
User authentication to opencms can be handled by opencms apis. The first form
you get when you install opencms with the included content has a login form
that can be used as a start to handle user authentication. Opencms provides
apis to do all kinds of user management. Database access to the opencms'
database can also be obtained through api calls, mainly to obtain a
connection from it's database pool. Info about it can be found on the mailing
list archived.
> 2. How does one develop a user authentication system?
Again, if you want to use the same users/groups that opencms has, you can use
opencms' apis for that. See answer above.
> 3. Is there something like JDO to access data in OpenCMS or what are the
> alternatives (JDBC?)
Opencms does not offer any ORM type of stuff for your own objects. Only
opencms's have this, but it's done through JDBC so far. There have been talks
about integrating something like hibernate with opencms, but i don't think
anything like this has happened.
However, there is nothing stopping you from using the same or an alternate
database or databases and use hibernate, jdo, or ejb3, etc to handle your own
ORM needs.
After all opencms i a java webapp, so pretty much any framework can be plugged
in.
>
> Thanks,
> Pieter
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list