[Solar-talk] Bookmarks example

anselm bradford anselmbradford at gmail.com
Thu Jun 7 20:52:11 PDT 2007


> This is strange, but I've been using a trick to auto-create the
> tables. Put this temporarily in your bootstrap, instead f calling the
> front controller:
>
>         $sql = Solar::register('sql', 'Solar_Sql');
>         $model = Solar::factory('Solar_Model_Areas');
>         $model->fetch(1);
>         $model = Solar::factory('Solar_Model_Nodes');
>         $model->fetch(1);
>         $model = Solar::factory('Solar_Model_Tags');
>         $model->fetch(1);
>
> On the first fetch, the tables will be created. I guess there is an
> cleaner method, but this is the quick one I used some time ago.

Thanks this got it going. Does it have a default username and password?



> I don't know of any, although I use a blog app made with Solar which
> is evolving to a collaborative system. But it's not public, not
> because I don't want, but because it is still a mess. :) Hope we'll
> see it and more Solar apps soon. :)

Is that tipos? Any timeline for a release?

Thanks for the help,
-Ans


More information about the solar-talk mailing list