Phingless Binarycloud
Manuel Holtgrewe <[email protected]> Tue, 15 Mar 2005 18:26:18 +0100
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all.
I think I have a pretty well runnning phingless testsite. The following
are all major changes (I hope):
1.) I Removed binarycloud/locale and added a binarycloud/i18n package. I
think the package name "locale" is confusing since "locale" means a
culture or information about a culture.
I added a class "I18n" in i18n/I18n.php and a "Locale" class in this
package, too. The locale class provides information about a given
locale. Currently it only provides the language. A list of all languages
available for a workspace and the default one can be configured using
conf/binarycloud/i18n.conf.xml.
Thus, I removed the constants BC_LANGUAGES and BC_LANGUAGE from the
system. For a usage example of i18n see the small demo in testsite (not
legacy, the r3 one).
I will soon come up with a pretty complete i18n package draft similar to
the one PRADO [1] offers. I think we should base our i18n data on the
PEAR package I18Nv2 [2]. We just have to make it independent of iconv
somehow.
2.) I completely rewrote binarycloud.php and changed all of
binarycloud's code to adhere to the new constants. The following changed:
- BC_LANGUAGES and BC_LANG are gone (see above)
- BC_PATH_BASE has become BC_PATH_INCLUDE (the path in which
binarycloud and vortex live).
- BC_WORKSPACE has been added
3.) There is no phing any more. Thus we need a good way to push base url
etc. into the system. I think a project custom binarycloud.php is good
and thus it is intended that you have a custom binarycloud.php in your
htdocs directory. You can shift things by editing this file.
I have also added a little bootstrap script in r3/trunk/bootstrap that
you can execute using cli PHP or if you give yourselve execution right
directly by "./bootstrap". It guides you through the process of creating
a vanilla workspace by asking you for several settings. Report back any
errors.
Regards,
Manuel
[1] http://tinyurl.com/5w7b4
[2] http://pear.php.net/package/I18Nv2
--
GPG key: http://www.ggnore.net/~mholtgrewe/personal/files/public_key.asc
_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev