11 Finanztipps für die Familiengründung

Tricia Developer Questions and Answers

Sep 19, 2011 , by

Core plugin -> Platform plugin

What are the future role of core plugin ? I want to know if it will be replaced by platform plugin. Tags: developmentpluginsanswersquestionstricia

2 Comments

  1. Thanks once again. I've been working on changing the look and feel of Tricia. To do it I have been assisting a lot for the guide published in Infoasset. I really would have liked to use the default template (mainpage.htm) and change the CSS styles, but my university has fairly strict requirements on the layout and colors to be used in digital media. Although we made our own fork in Bitbucket of Tricia I wanted to make minimal changes to the main plugins (platform, core), so I decided to rewrite some template substitution(Ej. $menu$). In this process, I figured that the core plugin and platform in the future could merge into one. I tried even if the wiki and blog plugins work without the main module, so I thought that when these dependencies were removed the core plugin would become meaningless. So I thought wrong, anyway I like the idea of clearly separating Tricia from Tricia Platform.
  2. Hi Adrian, this is an excellent question and we should provide an answer in the developer documentation. The idea of the platform plugin is to contain all core abstractions necessary to build an arbitrary web application using the Tricia technology stack. We have one project in which we build a discussion forum, which looks totally different than Tricia. What makes the distinction complicated is that some entities such as Person, Group, Membership and all the mixins (Taggable, Commentable, ReadProtected, Searchable...) are already part of the platform. This cannot be avoided because for example access control is a built-in property of the technology stack, so that there are users has to be known in the core of the platform. The core plugin then adds all the actions and views for the entity types included in the platform plugin. All Tricia instances build on the core plugin, but it is possible to have a project which has differnent actions and views. So the short answer to your question is that the core plugin will stay ;-).

Jul 8, 2011 , by

RESTful webservice requests

Does tricia offer any classes for performing RESTful webservice requests in xml or json?

Tags: webservicetricia

Jul 8, 2011 , by

How to extend the Person class

I would like to add further properties to a person. How can I extend tricia's Person class?

Tags: extensionpersontricia

Jul 8, 2011 , by

Layout changes

I would like to adapt Tricia's layout for our project, e.g. modify parts in the head of the page, but still use tricia's main layout. As far as I know, the main layout is determined by the templates/handler/mainPage.htm in core. How can I override this file?

Tags: developerlayouttricia

Jul 8, 2011 , by

Setting up tricia in staging mode

Which steps need to be performed in eclipse to configure and run tricia in staging mode, using an installed MySQl database?

Tags: staging-modedevelopertricia

Zur Startseite