|
Posted by Carl on 10/13/05 01:11
petermichaux@yahoo.com wrote:
> Carl,
>
>
>>Having recently started the planning stage of a project very similar to
>>yours, I am also quite interested in this subject. More in the
>>consolidation aspect of it than in the 'guideline' aspect.
>
>
> How similar? If it is eCommerce then perhaps we could work together?
> What do you mean by consolidation vs. guideline?
>
Actually, the final goal of my project is in fact an eCommerce
application. Ideally the minimalist 'framework' will be used to create
complete systems, including but not limited to eCommerce. I am still in
the pre-development planning stage, so I don't have any organized
examples to post at this time. The end result should facilitate creating
websites with management for modules that will provide the actual
functionality of the site.
>
>>IMO, the database abstraction _code_ should be handled in a fashion
>>similar to i18n, meaning that just as you would present text to a client
>>depending on the currently defined language context, the text(code)
>>presented to the DB should depend on the selected database context.
>
>
> Say what? What is i18n?
>
i18n (internationalization) is used to be able to provide formats based
on the location of the end user. Language translations, number
formating, etc. My suggestion was that similar methods should be used,
seeing that different databases speak different languages. The breadth
of i18n is clearly not required though, and usually a Dictionary or
Translator class will suffice, simply returning the correct words based
on the current database context.
,Carl.
>
>>What exactly do you mean by a 'PHP class pattern'? Are you using one
>>'class' to handle all of your forms, or applying a pattern to each of
>>your forms.
>
>
> I am applying a pattern to each form. I think it is neat, tidy and
> flexible. It is easy to develop seperately the parts of a new form from
> a blank form template. The form handling is about the only part of my
> application that I am really happy with. Perhaps if we decide to have a
> sample application I can explain more after strip the bells and
> whistles from my code.
>
> -Peter
>
[Back to original message]
|