I am trying create backend app to manage about 100 sites. They a
registration list and property data. Cake allows us to build one app
and share it (with some custom configs) across many sites.

But Cake doesn't look like a good choice to build or maintain
everything else. The sites are small, change designs frequently, and
are not worth a full install... yet the Cake apps will contain all our
database configs, validation, etc.

After creating this thread, I found ThinkingPHP's boostrapping
technique. So instead of hauling Cake and its views around, I can make
a method that returns the specified controller. After that, I can use
the applications functions outside of the application itself.
In my Form:

<?php echo $cakeErrorMessages ?>

<form action="/processor.php">
   <input type="text" name="data[registrant][first_name]" />
</form>

In the Prrocessor:

<?php
require_once('/boostrap.php');

// Create Dispatcher
$Dispatcher = new Dispatcher;

// Fetch Controller
$controller = $Dispatcher->dispatch('/registrants/fetchController');

// Check for valid form data
$controller->validate();

?>


Any thoughts on how to accomplish this best would be appreciated.

Regards,
- Tyler


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to