[TYPO3-dev] Creating pages in Typo3 with external script

Jigal van Hemert jigal.van.hemert at typo3.org
Tue Feb 11 11:12:42 CET 2014


Hi,

On 11-2-2014 8:13, Alexander Födisch wrote:
> thanks for your answers and hints. Sure, the best way would be TCEmain.
> But therefor I need a TYPO3 backend context, right?
> But I have to integrate the creation of TYPO3 pages (and users with
> their filemounts) into another software for simplifying processes. :-(

Simply said: there is an API for such operations and it's there for a 
reason. Extensions can hook into API functions to influence the 
operation or perform extra actions (for example EXT:solr hooks into 
TCEmain to know about new/changed/deleted pages and (re-)indexes them 
into the solr search engine).

Since both applications know their own context best I personally would 
set up something like:
- "another software" creates files with data about new pages, users, 
etcetera
- "another software" puts them in a location where TYPO3 can also access 
them
- in TYPO3 an extension provides a Scheduler task; this task detects new 
import files and processes them

Any solution which only involves one of the applications requires the 
author to have an extreme amount of knowledge about the behaviour of the 
particular installation.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list