[Solar-talk] Tutorial: Solar App from Scratch (part 1)

anselm bradford anselmbradford at gmail.com
Tue Jun 12 22:35:42 PDT 2007


In the part where you have:

// Load, build and run Tipos.
require 'Tipos.php';
$tipos = new Tipos();
$tipos->run('config.php');

Where does the config.php file reside? If you have the file structure:

Vendor/
    App/
        Example.php
        Example/

Would you have it set up like this:

Vendor/
    App/
        config.php
        Example.php
        Example/

Also, if you were using the Solar_Front_Controller, what would the
config file look like?

Thanks,
-Ans



On 6/9/07, Rodrigo Moraes <rodrigo.moraes at gmail.com> wrote:
> I started the series of mini tutorials I've talked about earlier, and
> the first one is about using your vendor main class in the bootstrap:
>
>     http://solarphp.org/wiki/tutorials/SolarAppFromScratch_1
>
> It's very tiny tutorial, but I hope it can grow and the next ones will
> be more interesting. :P
>
> And well, that is a wiki, so feel free to fix things, add more tips
> and ideas or clarify what is not very clear. Let me know what you
> think. :)
>
> -- rodrigo
> _______________________________________________
> solar-talk mailing list
> solar-talk at lists.solarphp.com
> http://mail.killersoft.com/mailman/listinfo/solar-talk
>


More information about the solar-talk mailing list