Download the PHP package xaraya/publications without Composer

On this page you can find all versions of the php package xaraya/publications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package publications

Overview

What is it?

Publications is a Xaraya Content Module responsible for the handling of generic and complex content structures.

The Publications is a synthesis of two successful Xaraya modules: Articles (by Michel Dalle) and Xarpages (by Jason Judge), as well as several additional concepts with the aim of making it a full fledged content management system within Xaraya.

  1. It is fully based on dynamic data.
  2. It is built with multilingual content in mind.
  3. It supports functionality typical of web publications (keywords, page titles) directly, rather than relying on add ons.
  4. It focusses on managing content from the UI as far as resonable, rather than through template editing.
  5. It is designed to be simple to use while powerful in its application and easily extendable.

Why another content management module? Publications' predecessors each had their strong points. Articles module was the high end content publication module, while Xarpages was for simple content that could be visualized in a page tree and whose pages could be containers for different types of content. At the time of their writing however, Xaraya lacked a mature data management layer that is dynamic data in its present form. Both Articles and Xarages resorted to custom functionality to fill the holes.

In the meanime, the evolution of Xaraya has made it possible to incorporate more power with less code. The Publications module wants to take the good ideas of its predecessors and push them further.

Concepts

1. Publications

A publication, or page, is a web page generated by the Publications module. It can have

Pages can be arranged in a tree structure and so support a natural navigation scheme in which one page is seen as a "child" of another. Such a structure may be more or less appropropriate for any given site, but it is in many cases a useful fallback.

Pages can alternatively be displayed by their publication type (see below.)

The way a page displays is largely dictated by its state. The publications module supports the following states:

2. Publication types

Like its predecessors, the Publications module supports publication types. These represent different types of content to be published. In fact, the 11 preconfigured publication types correspond largely to those of the Articles module (news, documents, downloads etc.). The publications module can manage 'publications' of different types at the same time, for instance news publications, longer documents in different sections, frequently asked questions, and so on.

Each publication type defines a set of pages with common features. The publication type has its own configuration settings, which are inherited by its pages unless specifically overridden. The publication type in turn inherits some settngs, such as access rules, from the global settings of the publications module.

Publication types are fairly flexible. They can be interchanged (e.g. turning a news article type into a documention type) with the caveat that the content of the pages may change in certain cases as a result.

In particular, each publication type has default templates for:

Since publication types are in their core dynamic data objects, it is fairly easy to create new types. This involves cloning an existing type (usually the so called generic publication type), and its templates, and modifying appropriately.

3. Translations

The Publications module supports different locales/languages. These are not the locales supported by the Xaraya core, but rather can be defined independently by the languages dataproperty. This allows the module to include content in languages the site as a whole does not need to have defined.

Each page can have translations in as many different languages as are supported. A translation is simply another page of the same publication type that is a "child" of a given page, and usually contains the same content but in a different language.

Translations are ignored by the tree structure or list displays and only display when the parent page is modfieid. Which translation of a page will be displayed to the viewer depends as usual on the language chosen through the Roles languages block. If a translation is not available in a given language, the parent page is displayed.

4. Categories

Publications (of any type) can be organised into categories. You could use one or more common categories across different publication types, or use specific categories for each type of article, or any combination that you might prefer for your site.

Before you start specifying which article types will be using what categories, you should create the categorization you want via the Categories administration menu. A default set of categories has been defined for publications when you installed this module, as an example to get you started. (You can adapt the categories later on, of course.)

Once you have a set of categories you would like to use for your publications, you can go to Publications Configuration, and specify the number of categories that can be used for each publication type, and the 'base categories' to be used.

A 'base category' is any starting point somewhere in your tree of categories, below which you will have the actual list (or subtree) of categories people can choose from when they submit or view publications. For example, you could have a 'base category' called Topics, with a list of different topics relevant to your site below it, and another 'base category' called Cities, with a list of cities or places that you would provide regional news for.

One topic might be 'Good Restaurants', and one city might 'Brussels', so people would be able to browse through any publications about good restaurants in Brussels, for instance.

3. Submitting or adding publications

state = submitted, rejected, approved or on frontpage (for those pubtypes that use it !)

4. Managing the overview and display of publications per publication type

In Publications Configuration, set start view (list/browse), ## of columns and items, show category links + ## of comments (+ performance impact)

+ adapt specific templates!

5. Managing your 'front page'

cfr. frontpage state and ## of columns and items - needs to be extended

6. Adding counters, ratings, comments, smilies, bb-code etc.

cfr. hooks + special note on counters

7. Organising permissions

this really needs a permissions wizard

8. Short URL support

overall enable/disable in 'base' admin + specific enable/disable in 'publications' admin + use of module aliases

Module aliases seem to be disabled at the moment - uncomment the line in includes/xarServer.php if you want to try it out

Included Blocks

Included Hooks

Search hook which provides the functionality to search your individual publications.


All versions of publications with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xaraya/publications contains the following files

Loading the files please wait ....