On Sun, Apr 17, 2011 at 7:37 AM, Yuka Poppe <[email protected]> wrote:
> Hi List, Cricket,
>
> How would version rollout work? With a single codebase, and thus a
> relatively userbase, the project gets big quickly. Customers request
> different features, you'll look at all the feature requests and will
> decide to implement a few that make sense to the whole lot.
>
> There comes a time where you want to introduce these new features a
> few months after your clients have been modifying their site, both the
> templates/views/layout and maybe by extending it with client based
> code or a little custom scripting at certain places (if the webapps
> design allows your clients to do this). You cant just roll out code
> anymore to each and every one of your customers automaticly, at least
> not without allowing your customers to switch and do a test run for a
> few weeks to see if everything still works as it should with your new
> version.
>
> Any ideas about this? Preferably you want them the ability to switch
> back and forth between versions, while working with the live dataset.
> Atleast for a certain period of gracetime, and once this time has
> passed you flip the switch and the bleeding edge version gets forced.
> Or maybe just give them the permanent option of running the bleeding
> edge version, or the previous more stable one?
Like I said before, one can specify the version to use in webrootindex.php:
define('CAKE_CORE_INCLUDE_PATH', '/usr/share/php/cake_1.3.7');
And the latest stable version gets a symlink (in this case I think a
symlink is the way to go):
define('CAKE_CORE_INCLUDE_PATH', '/usr/share/php/cake');
So users can choose to keep using an older version if they want.
But ...
> Ofcourse you could do without all this, especially if there is no way
> for the client to extend or interface with his own code/developers,
> but you would have to make damn sure there are no bugs introduced, or
> you'll have the whole userbase complaining!
That's for sure. Even allowing the users to set which libs to use is a
bit dicey. It seems to me that this sort of server setup could only
(maybe) work if the users are *not* doing any of their own code
modifications. That would at least make it easier to bump up a
version.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php