Saturday, August 27, 2011

Re: Scalable CakePHP Architecture

Splitting the code got nothing to do with application scalability.
As you mentioned split the code to plug-ins and make some of them open source to gain community contribution. 
Then scale the application with common solutions like clusters, database replications etc.


On Thu, Aug 25, 2011 at 8:30 PM, Marco B <beinbrecher@gmail.com> wrote:
Hi everybody,

we have a photo selling/sharing web project. Our customers get a
personal portfolio page and can sell their photography.
Because of an increasing amount of users, we are planning to add some
more web servers.

Right now we have one big cake application with the tasks split into
different controllers.
With regard to scalability (scale service delivery and increase the
number of developers) and the option to outsource parts of the
development, without giving access to the whole code, we plan to split
our project into smaller parts/services.

The Services could be split into following groups:
 - static info pages of our project
 - administration interface / customer area
 - photoupload
 - scaling/cropping/converting photos
 - web pages of our customers with their galleries

Now I have three options:

1) keeping everything in one application with different controllers.
2) put every service in a individual cake app (some models can be
shared with a common directory)
3) configure every service to be a plugin

How would you split the cake-application? Which strategy would you
apply?

Thanks,
Marco

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php


--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: