History of LibertyServices

There are many bitweaver packages that do nothing except add functionality to the ((LibertyPackage|Liberty CMS Engine)). Such packages we call services and examples are QuotaPackage, GatekeeperPackage, PigeonholesPackage, CategoriesPackage, and PdfPackage.

These packages have been re-architected into Services. The changes removed all specific package code like the words 'categories', or 'gatekeeper' or 'pigeonholes' from the content packages, and
replaced all of that with a single call like:
{code in="php"}
$gContent->invokeServices( 'content_edit_function' ):
{code}

GatekeeperPackage has been drastically chopped out of the FisheyePackage and LibertyContent class. CategoriesPackage and GatekeeperKeeper now register themselves through LibertySystem->registerService method and all wiki and fisheye now use the LibertyContent->invokeServices method to invoke a service function.

This is all in R1 and is already fully available from version 1.0.4.

Here is the Service API:

||Package|Service Function|Class::method called|Parameter passed to service function | Notes
BitcommercePackage | commerce_pre_purchase_function | payment::before_process() | global $order object | Provides a way for any package to perform actions moments before a payment is made
BitcommercePackage | commerce_post_purchase_function | payment::after_process() | global $order object | Provides a way for any package to perform actions moments after a successful payment is made
||
Page History
Date/CommentUserIPVersion
21 Aug 2010 (15:54 UTC)
Will69.203.72.16122
Current • Source
Will69.203.72.16121
View • Compare • Difference • Source
spiderr66.194.217.22220
View • Compare • Difference • Source
xing62.47.250.1419
View • Compare • Difference • Source
WaterDragon82.171.181.20818
View • Compare • Difference • Source
Will69.203.72.16117
View • Compare • Difference • Source
Will69.203.72.16116
View • Compare • Difference • Source
xing194.152.164.4515
View • Compare • Difference • Source
Will68.174.111.4714
View • Compare • Difference • Source
Will68.174.111.4713
View • Compare • Difference • Source
xing194.152.164.4512
View • Compare • Difference • Source
Will68.174.111.4711
View • Compare • Difference • Source
Will68.174.111.4710
View • Compare • Difference • Source
Will68.174.111.479
View • Compare • Difference • Source
Will68.174.111.478
View • Compare • Difference • Source
spiderr66.93.240.2046
View • Compare • Difference • Source
spiderr66.93.240.2044
View • Compare • Difference • Source
spiderr66.93.240.2041
View • Compare • Difference • Source