I would split out the app into mini apps which share sessions(if needed)

to start with I would split

User portfolio (users can be spread across as many servers as you want
because they do not share anything with others)

User Admin area (this is where they upload photos etc)

Super Admin

Also I would consider using Gearman to queue the photo resizing and
other CPU intensive tasks and of course Cache Cache Cache :D

HTH
Tarique


On Thu, Aug 25, 2011 at 11:00 PM, Marco B <[email protected]> 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
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php
>



-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

-- 
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

Reply via email to