Ticket #139 (closed refactoring: fixed)

Opened 1 month ago

Last modified 1 month ago

Check and change package structure

Reported by: mikey Assigned to: mikey
Priority: major Milestone: 0.8.0
Component: core Version: SVN-trunk
Keywords: Cc:

Description

There needs to be some checks if every package is in the right place, and if their naming is good enough.

The package structure should be changed in a way that allows breaking the released stubbles.php into smaller chunks so that users are able to combine only those packages and classes they need for their application.

Change History

04/10/08 23:08:11 changed by mikey

  • status changed from new to assigned.

04/10/08 23:25:47 changed by mikey

The class net::stubbles::util::stubRegistry should be moved to net::stubbles::lang::stubRegistry and net::stubbles::util::stubFactory to net::stubbles::lang::stubFactory.

The base package will consist of the net::stubbles::lang and net::stubbles::reflection packages.

The following packages then can be used with the base package only:

  • net::stubbles::auth with the exception of net::stubbles::auth::storage::stubAuthSessionStorage
  • net::stubbles::events with the exception of net::stubbles::events::stubEventsXJConfInitializer
  • net::stubbles::ioc with the exception of net::stubbles::ioc::stubAbstractIOCPreInterceptor and net::stubbles::ioc::stubIOCPreInterceptor, additionally net::stubbles::ioc::stubBindingScopeSession must be marked as dependent on the session
  • net::stubbles::peer
  • net::stubbles::rdbms with the exception of net::stubbles::rdbms::stubDatabaseXJConfInitializer
  • net::stubbles::rdbms::persistence should be separate from net::stubbles::rdbms
  • net::stubbles::xml

To be decided:

  • net::stubbles::ipo
  • net::stubbles::php
  • net::stubbles::service
  • rest of net::stubbles::util
  • net::stubbles::websites

04/12/08 19:26:13 changed by mikey

The net::stubbles::util::stubRegistry was moved to net::stubbles::lang::stubRegistry with r1534 and net::stubbles::util::stubFactory to net::stubbles::lang::stubFactory with r1535.

04/12/08 20:18:32 changed by mikey

Initializer interface net::stubbles::lang::stubInitializer was moved to net::stubbles::lang::initializer::stubInitializer with r1537, implementations net::stubbles::util::stubGeneralInitializer to net::stubbles::lang::initializer::stubGeneralInitializer, net::stubbles::util::stubRegistryInitializer to net::stubbles::lang::initializer::stubRegistryInitializer and net::stubbles::util::stubRegistryXJConfInitializer to net::stubbles::lang::initializer::stubRegistryXJConfInitializer with r1538.

Now there are no important classes any more in the net::stubbles::util package. All subpackages of net::stubbles::util except net::stubbles::util::validators can now be handled as independent packages. For net::stubbles::util::validators we need a better place.

04/13/08 21:23:37 changed by mikey

With r1543 the release starting with 0.8.0 will contain several star files instead of just one big file. These files are:

  • stubbles-core: contains net::stubbles::lang and net::stubbles::reflection and is a self-running star file
  • stubbles-auth: contains net::stubbles::auth
  • stubbles-events: contains net::stubbles::events
  • stubbles-ioc: contains net::stubbles::ioc
  • stubbles-peer: contains net::stubbles:peer
  • stubbles-rdbms: contains net::stubbles::rdbms (including persistence API)
  • stubbles-xml: contains net::stubbles::xml

Other packages are only available in the overall build stubbles.php but may get their own separate star releases later in time when decisions about their final location are made.

04/15/08 00:44:25 changed by mikey

  • status changed from assigned to closed.
  • resolution set to fixed.

Moved net::stubbles::util::validators to net::stubbles::ipo::request::validator with r1547.

Created four new package releases:

  • stubbles-util-cache contains net::stubbles::util::cache
  • stubbles-util-log contains net::stubbles::util::log
  • stubbles-util-xjconf contains net::stubbles::util::xjconf
  • stubbles-website contains net::stubbles::ipo, net::stubbles::service and net::stubbles::websites

The package net::stubbles::php::string is now included in stubbles-core.