Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Multiple, Related Applications?
  • I'm a long time user of CI, and have been investigating Fuel to use for a new, large, project. I'm looking for advice on the best way to setup the application. The requirements are: * Three 'sites' all sharing the same code: the public site, a site for dealers, and a site for admins to run the whole kaboodle.
    * MongoDB The hope is that all three 'sites' can share the same models, database, etc, and yet be ran on separate servers, if necessary. There is a very real possibility that the site will grow large enough in the first 3 years to require multiple servers running the site and I want to design it where it can be easily handled. Sessions should run in the database, and work across all three sites. My current thought is to extend the Sessions class to use Mongo to store it in, since we'll be using Mongo almost exclusively across the site. What's the best way to structure all of this? Any help would be appreciated while I get to grips with the fantastic framework that Dan, Phil and others have put together.
  • If three 'sites' all share the same code and database, they aren't really three sites are they? They are three running instances of the same site. Can you be more specific? As to sessions, they are driver based, just create a MongoDB driver. You can send us a pull request, and we can include it in the core if it passes inspection...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion