I forgot, there is no initialization!

I’m guilty, I have forgotten everything about the initialization file. True, I’ve been so focused on other matters that are also quite important. Yet I had no plan to “boot” the application, or on how I should call all the things needed to initialize, to put it bluntly, there was no dispatcher. So here I am cracking my head, there is also a problem on configuring OpenType Threads, it seems users will have to open a file to state the Absolute Path of the library, not so hard, but it’s going to be annoying for a few new users.

I started to enumerate what I needed for my controllers and logic models to work, right now I have these

0. Set default time zone

1. Setting the path of the library
2. Registry to collect all the data I need, but I need to do a ini file reader, shouldn’t be a problem
3.  Set up doctrine in our way.
4. Load Access Lists and Roles and apply exceptions (the whitelist) from the database
5. Register routes.
6. Start localization with GETTEXT (probably won’t be implemented in this prototype)
7. Finally, the dispatcher

Now there was a problem though, I left out Sessions, data filters and some other stuff. but then I started thinking “I don’t need all of them…” Sessions will be called in the instance mainController is called and check for existing sessions and and that voodoo stuff.  That means we will have quite a light dispatch, not with unneeded objects.

I should tag all this project related talk… peace out

This entry was posted in General and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>