I generally like to keep all of my library code, uploaded files, etc outside of the document root. It's not necessary, just a preference.volomike wrote:* I don't understand why I need a subdirectory called docroot containing css, images, index.php. Are you trying to say that I would have my virtual directory, and then a parent directory to that where the libraries are stored?
I prefer the php format, but since I know a lot of people would prefer XML, INI, or YAML I will definitely work on that for the 0.4 release.volomike wrote:* outlet-config.php. If there was a way to have an alternative version of this in INI or XML format, and then it gets parsed and cached in shared memory unless the file's mod date changes, that might be easier on its usage? Right now it has a kind of JSON-like format and it's easy to make a typo, frustrating a newbie user, limiting its acceptance.
Outlet is not currently taking care of that. I'll be looking into what would be the best solution in the next few days. I wonder if, as a workaround for right now, we can define the table name and field names with the quotes (squared brackets for msssql) if they need them.volomike wrote:* If table or column names are odd, like they include a dash inside or a reserved word, then you'll want to ensure these get the backtick operator used in your libraries for this, such as `account-records` instead of account-records. You might already be doing something like that -- but want to double check.
Right now they are handled as strings. I'm thinking about using the DateTime object. Maybe it can be an config option.volomike wrote:How are dates stored in this ORM? You'll probably want to use the new PHP5 way to work with dates -- using DateTime() object. Also, on everything I do, I store things in GMT time and then I translate to the end user's timezone based on their browser's GMT +/- as it is announced to me when they hit my sites. In some cases I may permit the user to change their GMT setting -- depending on the type of website.
I'm working on a lot of improvements to the manual and the project website. I'll keep you posted.
Thanks for all the suggestions. I really I appreciate them.
Alvaro