[TYPO3-dev] typo3-rpc proposal

Martin Ficzel martin.ficzel at gmx.de
Wed Apr 11 12:16:28 CEST 2007


Tapio Markula schrieb:
> Martin Ficzel kirjoitti:
>> im thinking about creating an external interface for the typo3 backend
>> to enable the creating of external (maybe flash) management modules.
> 
> use tm_shared_lib and create a new module and use it as topapps.
> Just disable existing modules and use hook creating your own.
> 
>> - no external interface (xmlrpc, soap, webdav ... ) is available wich
>> could be used from external tools
> 
> you can use lz_links to add fake modules for external tools.
> Very simple and easy

>> - create an abstraction class for creating, reading, manipulating and
>> deleting of records wich uses the tce functions and adds some reading
>> methods (a be login is still necessary so the security should be the
>> same like in the normal be)
> 
> own version of list module?
> 
>> my questions at this moment are:
>> - is this a good or bad idea
> 
> not a good idea to recreate Web > List because there is AJAX planned
> for  it

i dont want to recreate the list module i want to create an external
management interface. afterwards you might use this typo3-rc to create a
flash based list module but thats not what i have in mind.

im thinking about graphical editors for complex relations like in uml
diagrams or other stuff. but to do it right there must be an well
defined external interface.

the question is not how to do that, thats almost quite simple. the
question is should i do it and how to do it right.

regards Martin


PS:

a small sketch for the api

class.tx_rpc_base {
	
	/* user login */

	function login(user,pass_md5)
	function logout()

	/* new reading methods */

	function getRecord(table, uid, hidden)
	function getRecords(table, pid, hidden)
	function getRecordSoragePage(pid)
	function getRecordTypes(pid)

	/* methods wich use tce-processDatamap internally */

	function setRecord(table, uid, assocArray )
	function setRecords(table, uid, Array[assocArray] )
	function createRecord(table, pid, assocArray )
	function createRecords(table, pid, Array[assocArray] )

	/* methods wich use tce-processCommandmap internally */

	function copyRecord(table, uid, .... )
	function deleteRecord(table, uid, ... )
	function undeleteRecord(table, uid, ... )
	function localizeRecord(table, uid, ... )
	function versionizeRecord(table, uid, ... )
	function moveRecord(table, uid, ...)

}





More information about the TYPO3-dev mailing list