Re: [Hypercontent-users] About_hyporconent2
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2004-10-07 18:37:35
|
HyperContent 2.0 is not ready yet for use in production - while much of the code that is there is stable, I'd like to keep open the possibility of some API changes between now and the release. As I have mentioned before, HyperContent 2 is backwards compatible with web sites built in the current version, so I continue to encourage use of HyperContent 1.4 until 2.0 is released. If you need to build a web application today, I would encourage you to consider something like Spring. For building a static web site without form handling, HyperContent 1.4 is sufficient. As a framework, HyperContent 2.0 will offer a great deal of benefit in terms of establishing pipelines to generate a presentation layer bound to some form processing; however, it provides no database specific utilities, unlike Spring. Berkeley DB is only used currently as a content caching mechanism, so that the output of a complex pipeline can be reused. I have considered an IFileSystemManager implementation based on BerkeleyDB, but this is not currently a priority, as the existing repository implementation is stable and performs well. To use MySQL or any other data source in HyperContent 2.0, there are 3 possible levels of integration: an IFileSystemManager implementation would allow for a complete, generic repository to be implemented in a DB. A custom pipeline stage could be used to load data from the DB into objects that could be rendered via Velocity to an HTML form, and bound to a FormProcessor which could persist changes back to the DB. A subclass of FileAsset could be used to load some data from the database based on the contents of a file in a normal HyperContent repository. I have not analyzed what would be involved in a data conversion between HyperContent and Cocoon. I have no plans to perform such an analysis, but if you would like to investigate, that information may be of some value to the community. HyperContent 1.4 uses uPortal groups and permissions to evaluate whether a user can view or edit files. When a user is a Portal Administrator, this logic is bypassed to always respond "yes". Thus there is more processing involved in displaying file-browsing screens for non-administrators. However, uPortal does cache permissions information, so the performance hit should not be too noticeable. It may help to make sure you have indexes on the UP_GROUP_MEMBERSHIP and UP_PERMISSION tables. Alex On Oct 1, 2004, at 1:52 PM, Ingmars Rubenis wrote: > Hello! > > > Thanks for help to solve the problem about sftp and scp and thanks > about tomcat memory recommendations. Now we are testing > scp and sftp. > About hyporconent2 > We are going to build new site. What do You think about using > Hypercontent 2.0 for using their classes in that project. > Now we are thinking about using MVC architecture (Spring) or pipeline > model like Hypercontent 2.0 or Cocoon. Is possible to use hypercontent > 2.0 as low level CMS (methods and classes will be used for building > for example connection with database.For the presentaion logic will be > used velocity) or may be we should use cocoon or anothe framework like > Spring. What is your opinion about using hypercontent 2.0 as framework > for web pages? > As I understand You are going to use Berkley DB for Hypercontent 2.0. > What will be the functions of Berkley DB? > Is true that it will be possible to store data also in relational > database like Mysql? > Will it be possible to convert data or repository to Cocoon repository > from > version Hypercontent 2.0 or Hypercontent 1.4? > > We have another problem with Hypercontent 1.4. I have to add all > users whish ar adding information in Hypercontent 1.4 to portal > administrators group, because it takes a lot of time to go through > files in the project. I think it is not normal. What is your > suggestion? When users are portal administrators then everything works > fine. > > > > > > > > > > > > > > Best Wishes > Ingmars Rubenis > LU > University of Latvia > Developer > IT department > (371) 7034736 > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |